]>
Commit | Line | Data |
---|---|---|
26d4b141 | 1 | #ifndef ALIPHOSPID_H |
2 | #define ALIPHOSPID_H | |
6ad0bfa0 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
702ab87e | 8 | /* History of cvs commits: |
9 | * | |
10 | * $Log$ | |
407d15b3 | 11 | * Revision 1.37 2006/08/29 11:41:19 kharlov |
12 | * Missing implementation of ctors and = operator are added | |
13 | * | |
f1133801 | 14 | * Revision 1.36 2006/08/25 16:00:53 kharlov |
15 | * Compliance with Effective C++AliPHOSHit.cxx | |
16 | * | |
e2429969 | 17 | * Revision 1.35 2005/05/28 14:19:04 schutz |
18 | * Compilation warnings fixed by T.P. | |
19 | * | |
702ab87e | 20 | */ |
21 | ||
b2a60966 | 22 | //_________________________________________________________________________ |
23 | // Algorithm class for the identification of particles detected in PHOS | |
24 | // base class | |
2f04ed65 | 25 | // of identified particles |
b2a60966 | 26 | //*-- Author: Yves Schutz (SUBATECH) |
6ad0bfa0 | 27 | |
28 | // --- ROOT system --- | |
29 | ||
88cb7938 | 30 | #include "TTask.h" |
31 | #include "AliConfig.h" | |
32 | ||
7acf6008 | 33 | class TFormula ; |
34 | class TClonesArray ; | |
88cb7938 | 35 | |
6ad0bfa0 | 36 | // --- Standard library --- |
37 | ||
38 | // --- AliRoot header files --- | |
407d15b3 | 39 | class AliESD ; |
7acf6008 | 40 | class AliPHOSGeometry ; |
41 | class AliPHOSClusterizer ; | |
42 | class AliPHOSTrackSegmentMaker ; | |
6ad0bfa0 | 43 | |
7acf6008 | 44 | class AliPHOSPID : public TTask { |
6ad0bfa0 | 45 | |
79bf6a2f | 46 | public: |
6ad0bfa0 | 47 | |
0ab4493e | 48 | AliPHOSPID() ; // ctor |
e191bb57 | 49 | AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; |
e2429969 | 50 | AliPHOSPID(const AliPHOSPID & pid) ; |
26d4b141 | 51 | virtual ~AliPHOSPID() ; // dtor |
f1133801 | 52 | AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) { |
53 | Fatal("operator =", "not implemented") ; return *this ; } | |
6ad0bfa0 | 54 | |
fc7e2f43 | 55 | virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;} |
702ab87e | 56 | virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;} |
e2429969 | 57 | |
eabde521 | 58 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } |
59 | void SetEventFolderName(TString name) { fEventFolderName = name ; } | |
e2429969 | 60 | |
61 | TString GetEventFolderName() const {return fEventFolderName;} | |
62 | Int_t GetFirstEvent() const {return fFirstEvent; } | |
63 | Int_t GetLastEvent() const {return fLastEvent; } | |
64 | ||
407d15b3 | 65 | void SetESD(AliESD *esd) { fESD = esd; } |
66 | ||
8e8eae84 | 67 | virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; } |
90cceaf6 | 68 | virtual void WriteRecParticles() = 0; |
79bf6a2f | 69 | |
8d0f3f77 | 70 | protected: |
88cb7938 | 71 | TString fEventFolderName ; // event folder name |
eabde521 | 72 | Int_t fFirstEvent; // first event to process |
73 | Int_t fLastEvent; // last event to process | |
407d15b3 | 74 | AliESD * fESD; //! ESD object |
6ad0bfa0 | 75 | |
e957fea8 | 76 | private: |
77 | virtual void Init() { Warning("Init", "not defined" ) ; } | |
78 | ||
eabde521 | 79 | ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class) |
6ad0bfa0 | 80 | |
81 | } ; | |
82 | ||
26d4b141 | 83 | #endif // ALIPHOSPID_H |