3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /* History of cvs commits:
11 * Revision 1.38 2007/04/01 15:40:15 kharlov
12 * Correction for actual vertex position implemented
14 * Revision 1.37 2006/08/29 11:41:19 kharlov
15 * Missing implementation of ctors and = operator are added
17 * Revision 1.36 2006/08/25 16:00:53 kharlov
18 * Compliance with Effective C++AliPHOSHit.cxx
20 * Revision 1.35 2005/05/28 14:19:04 schutz
21 * Compilation warnings fixed by T.P.
25 //_________________________________________________________________________
26 // Algorithm class for the identification of particles detected in PHOS
28 // of identified particles
29 //*-- Author: Yves Schutz (SUBATECH)
31 // --- ROOT system ---
34 #include "AliConfig.h"
39 // --- Standard library ---
41 // --- AliRoot header files ---
43 class AliPHOSGeometry ;
44 class AliPHOSClusterizer ;
45 class AliPHOSTrackSegmentMaker ;
47 class AliPHOSPID : public TTask {
51 AliPHOSPID() ; // ctor
52 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
53 AliPHOSPID(const AliPHOSPID & pid) ;
54 virtual ~AliPHOSPID() ; // dtor
55 AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) {
56 Fatal("operator =", "not implemented") ; return *this ; }
58 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
59 virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
61 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
62 void SetEventFolderName(TString name) { fEventFolderName = name ; }
64 TString GetEventFolderName() const {return fEventFolderName;}
65 Int_t GetFirstEvent() const {return fFirstEvent; }
66 Int_t GetLastEvent() const {return fLastEvent; }
68 void SetESD(AliESDEvent *esd) { fESD = esd; }
70 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
71 virtual void WriteRecParticles() = 0;
74 TString fEventFolderName ; // event folder name
75 Int_t fFirstEvent; // first event to process
76 Int_t fLastEvent; // last event to process
77 AliESDEvent * fESD; //! ESD object
80 virtual void Init() { Warning("Init", "not defined" ) ; }
82 ClassDef(AliPHOSPID,5) // Particle Identifier algorithm (base class)
86 #endif // ALIPHOSPID_H