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.37 2006/08/29 11:41:19 kharlov
12 * Missing implementation of ctors and = operator are added
14 * Revision 1.36 2006/08/25 16:00:53 kharlov
15 * Compliance with Effective C++AliPHOSHit.cxx
17 * Revision 1.35 2005/05/28 14:19:04 schutz
18 * Compilation warnings fixed by T.P.
22 //_________________________________________________________________________
23 // Algorithm class for the identification of particles detected in PHOS
25 // of identified particles
26 //*-- Author: Yves Schutz (SUBATECH)
28 // --- ROOT system ---
31 #include "AliConfig.h"
36 // --- Standard library ---
38 // --- AliRoot header files ---
40 class AliPHOSGeometry ;
41 class AliPHOSClusterizer ;
42 class AliPHOSTrackSegmentMaker ;
44 class AliPHOSPID : public TTask {
48 AliPHOSPID() ; // ctor
49 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
50 AliPHOSPID(const AliPHOSPID & pid) ;
51 virtual ~AliPHOSPID() ; // dtor
52 AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) {
53 Fatal("operator =", "not implemented") ; return *this ; }
55 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
56 virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
58 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
59 void SetEventFolderName(TString name) { fEventFolderName = name ; }
61 TString GetEventFolderName() const {return fEventFolderName;}
62 Int_t GetFirstEvent() const {return fFirstEvent; }
63 Int_t GetLastEvent() const {return fLastEvent; }
65 void SetESD(AliESD *esd) { fESD = esd; }
67 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
68 virtual void WriteRecParticles() = 0;
71 TString fEventFolderName ; // event folder name
72 Int_t fFirstEvent; // first event to process
73 Int_t fLastEvent; // last event to process
74 AliESD * fESD; //! ESD object
77 virtual void Init() { Warning("Init", "not defined" ) ; }
79 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
83 #endif // ALIPHOSPID_H