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