]>
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$ | |
e2429969 | 11 | * Revision 1.35 2005/05/28 14:19:04 schutz |
12 | * Compilation warnings fixed by T.P. | |
13 | * | |
702ab87e | 14 | */ |
15 | ||
b2a60966 | 16 | //_________________________________________________________________________ |
17 | // Algorithm class for the identification of particles detected in PHOS | |
18 | // base class | |
2f04ed65 | 19 | // of identified particles |
b2a60966 | 20 | //*-- Author: Yves Schutz (SUBATECH) |
6ad0bfa0 | 21 | |
22 | // --- ROOT system --- | |
23 | ||
88cb7938 | 24 | #include "TTask.h" |
25 | #include "AliConfig.h" | |
26 | ||
7acf6008 | 27 | class TFormula ; |
28 | class TClonesArray ; | |
88cb7938 | 29 | |
6ad0bfa0 | 30 | // --- Standard library --- |
31 | ||
32 | // --- AliRoot header files --- | |
33 | ||
7acf6008 | 34 | class AliPHOSGeometry ; |
35 | class AliPHOSClusterizer ; | |
36 | class AliPHOSTrackSegmentMaker ; | |
6ad0bfa0 | 37 | |
7acf6008 | 38 | class AliPHOSPID : public TTask { |
6ad0bfa0 | 39 | |
79bf6a2f | 40 | public: |
6ad0bfa0 | 41 | |
0ab4493e | 42 | AliPHOSPID() ; // ctor |
e191bb57 | 43 | AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; |
e2429969 | 44 | AliPHOSPID(const AliPHOSPID & pid) ; |
26d4b141 | 45 | virtual ~AliPHOSPID() ; // dtor |
e2429969 | 46 | AliPHOSPID & operator = (const AliPHOSPID & obj); |
6ad0bfa0 | 47 | |
fc7e2f43 | 48 | virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;} |
702ab87e | 49 | virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;} |
e2429969 | 50 | |
eabde521 | 51 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } |
52 | void SetEventFolderName(TString name) { fEventFolderName = name ; } | |
e2429969 | 53 | |
54 | TString GetEventFolderName() const {return fEventFolderName;} | |
55 | Int_t GetFirstEvent() const {return fFirstEvent; } | |
56 | Int_t GetLastEvent() const {return fLastEvent; } | |
57 | ||
8e8eae84 | 58 | virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; } |
90cceaf6 | 59 | virtual void WriteRecParticles() = 0; |
79bf6a2f | 60 | |
8d0f3f77 | 61 | protected: |
88cb7938 | 62 | TString fEventFolderName ; // event folder name |
eabde521 | 63 | Int_t fFirstEvent; // first event to process |
64 | Int_t fLastEvent; // last event to process | |
6ad0bfa0 | 65 | |
e957fea8 | 66 | private: |
67 | virtual void Init() { Warning("Init", "not defined" ) ; } | |
68 | ||
eabde521 | 69 | ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class) |
6ad0bfa0 | 70 | |
71 | } ; | |
72 | ||
26d4b141 | 73 | #endif // ALIPHOSPID_H |