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.35 2005/05/28 14:19:04 schutz
12 * Compilation warnings fixed by T.P.
16 //_________________________________________________________________________
17 // Algorithm class for the identification of particles detected in PHOS
19 // of identified particles
20 //*-- Author: Yves Schutz (SUBATECH)
22 // --- ROOT system ---
25 #include "AliConfig.h"
30 // --- Standard library ---
32 // --- AliRoot header files ---
34 class AliPHOSGeometry ;
35 class AliPHOSClusterizer ;
36 class AliPHOSTrackSegmentMaker ;
38 class AliPHOSPID : public TTask {
42 AliPHOSPID() ; // ctor
43 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
44 AliPHOSPID(const AliPHOSPID & pid) ;
45 virtual ~AliPHOSPID() ; // dtor
46 AliPHOSPID & operator = (const AliPHOSPID & obj);
48 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
49 virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
51 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
52 void SetEventFolderName(TString name) { fEventFolderName = name ; }
54 TString GetEventFolderName() const {return fEventFolderName;}
55 Int_t GetFirstEvent() const {return fFirstEvent; }
56 Int_t GetLastEvent() const {return fLastEvent; }
58 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
59 virtual void WriteRecParticles() = 0;
62 TString fEventFolderName ; // event folder name
63 Int_t fFirstEvent; // first event to process
64 Int_t fLastEvent; // last event to process
67 virtual void Init() { Warning("Init", "not defined" ) ; }
69 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
73 #endif // ALIPHOSPID_H