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