]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALPID.h
- option for adding energy of all particles (ich == 2)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPID.h
1 #ifndef ALIEMCALPID_H
2 #define ALIEMCALPID_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5                             
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Algorithm class for the identification of particles detected in EMCAL        
10 //  base  class                             
11 //  of identified particles                
12 //*-- Author: Yves Schutz (SUBATECH)
13
14 // --- ROOT system ---
15
16 #include "TTask.h" 
17 class TFormula ;
18 class TClonesArray ;
19
20 // --- Standard library ---
21
22 // --- AliRoot header files ---
23
24 class AliEMCALGeometry ;
25 class AliEMCALClusterizer ;
26 class AliEMCALTrackSegmentMaker ;
27
28 class AliEMCALPID : public TTask {
29
30  public:
31
32   AliEMCALPID() ;          // ctor            
33   AliEMCALPID(const char* headerFile,const char * name, const Bool_t toSplit) ;
34   virtual ~AliEMCALPID() ; // dtor
35
36   virtual void Exec(Option_t * option) { Warning("Exec", "not defined" ) ; }
37   virtual const Int_t GetRecParticlesInRun()  const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;} 
38   virtual void Print(Option_t * option) const { Warning("Print", "not defined" ) ;}
39   virtual void SetCpvtoEmcDistanceCut(Float_t Cluster_En, TString Eff_Pur,Float_t cut ) { Warning("SetCpvtoEmcDistanceCut", "not defined" ) ;}
40   virtual void SetTimeGate(Float_t Cluster_En, TString Eff_Pur, Float_t gate) { Warning("SetTimeGate", "not defined" ) ; }
41   virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }  
42   virtual void WriteRecParticles(Int_t event) { Warning("WriteRecParticles", "not defined" ) ; }
43
44 private: 
45   virtual void Init() { Warning("Init", "not defined" ) ; } 
46
47 protected:
48
49   TFile * fSplitFile ;             //! file in which RecParticles will eventually be stored
50   Bool_t  fToSplit   ;             //! do we in the split mode  
51   ClassDef(AliEMCALPID,1)  // Particle Identifier algorithm (base class)
52
53 } ;
54
55 #endif // ALIEMCALPID_H