/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.36 2006/08/25 16:00:53 kharlov
+ * Compliance with Effective C++AliPHOSHit.cxx
+ *
+ * Revision 1.35 2005/05/28 14:19:04 schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
//_________________________________________________________________________
// Algorithm class for the identification of particles detected in PHOS
// base class
public:
AliPHOSPID() ; // ctor
- AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
- AliPHOSPID(const AliPHOSPID & pid) {;}
+ AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
+ AliPHOSPID(const AliPHOSPID & pid) ;
virtual ~AliPHOSPID() ; // dtor
+ AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) {
+ Fatal("operator =", "not implemented") ; return *this ; }
- virtual void Exec(Option_t * option) { Warning("Exec", "not defined" ) ; }
- virtual const Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
- virtual void Print() const { Warning("Print", "not defined" ) ;}
- virtual void SetCpvtoEmcDistanceCut(Float_t Cluster_En, TString Eff_Pur,Float_t cut ) { Warning("SetCpvtoEmcDistanceCut", "not defined" ) ;}
- void SetEventFolderName(TString name) { fEventFolderName = name ; }
- virtual void SetTimeGate(Float_t Cluster_En, TString Eff_Pur, Float_t gate) { Warning("SetTimeGate", "not defined" ) ; }
- virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
- virtual void WriteRecParticles(Int_t event) { Warning("WriteRecParticles", "not defined" ) ; }
+ virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
+ virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
-private:
- virtual void Init() { Warning("Init", "not defined" ) ; }
+ void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
+ void SetEventFolderName(TString name) { fEventFolderName = name ; }
+
+ TString GetEventFolderName() const {return fEventFolderName;}
+ Int_t GetFirstEvent() const {return fFirstEvent; }
+ Int_t GetLastEvent() const {return fLastEvent; }
+
+ virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
+ virtual void WriteRecParticles() = 0;
protected:
TString fEventFolderName ; // event folder name
+ Int_t fFirstEvent; // first event to process
+ Int_t fLastEvent; // last event to process
+
+private:
+ virtual void Init() { Warning("Init", "not defined" ) ; }
- ClassDef(AliPHOSPID,3) // Particle Identifier algorithm (base class)
+ ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
} ;