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 | |
b2a60966 |
8 | //_________________________________________________________________________ |
9 | // Algorithm class for the identification of particles detected in PHOS |
10 | // base class |
2f04ed65 |
11 | // of identified particles |
b2a60966 |
12 | //*-- Author: Yves Schutz (SUBATECH) |
6ad0bfa0 |
13 | |
14 | // --- ROOT system --- |
15 | |
88cb7938 |
16 | #include "TTask.h" |
17 | #include "AliConfig.h" |
18 | |
7acf6008 |
19 | class TFormula ; |
20 | class TClonesArray ; |
88cb7938 |
21 | |
6ad0bfa0 |
22 | // --- Standard library --- |
23 | |
24 | // --- AliRoot header files --- |
25 | |
7acf6008 |
26 | class AliPHOSGeometry ; |
27 | class AliPHOSClusterizer ; |
28 | class AliPHOSTrackSegmentMaker ; |
6ad0bfa0 |
29 | |
7acf6008 |
30 | class AliPHOSPID : public TTask { |
6ad0bfa0 |
31 | |
79bf6a2f |
32 | public: |
6ad0bfa0 |
33 | |
0ab4493e |
34 | AliPHOSPID() ; // ctor |
88cb7938 |
35 | AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ; |
a8c47ab6 |
36 | AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;} |
26d4b141 |
37 | virtual ~AliPHOSPID() ; // dtor |
6ad0bfa0 |
38 | |
75a6835b |
39 | virtual const Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;} |
88cb7938 |
40 | virtual void Print() const { Warning("Print", "not defined" ) ;} |
eabde521 |
41 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } |
42 | void SetEventFolderName(TString name) { fEventFolderName = name ; } |
71cee46d |
43 | virtual char * Version() const { Warning("Version", "not defined" ) ; return 0 ; } |
90cceaf6 |
44 | virtual void WriteRecParticles() = 0; |
79bf6a2f |
45 | |
8d0f3f77 |
46 | protected: |
88cb7938 |
47 | TString fEventFolderName ; // event folder name |
eabde521 |
48 | Int_t fFirstEvent; // first event to process |
49 | Int_t fLastEvent; // last event to process |
6ad0bfa0 |
50 | |
e957fea8 |
51 | private: |
52 | virtual void Init() { Warning("Init", "not defined" ) ; } |
53 | |
eabde521 |
54 | ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class) |
6ad0bfa0 |
55 | |
56 | } ; |
57 | |
26d4b141 |
58 | #endif // ALIPHOSPID_H |