public:
AliPHOSClusterizer() ; // default ctor
- AliPHOSClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
+ AliPHOSClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer) : TTask(clusterizer) { ; }
virtual ~AliPHOSClusterizer() ; // dtor
virtual Float_t GetEmcClusteringThreshold()const {Warning("GetEmcClusteringThreshold", "Not Defined" ) ; return 0. ; }
virtual Float_t GetCpvClusteringThreshold()const {Warning("GetCpvClusteringThreshold", "Not Defined" ) ; return 0. ; }
virtual Float_t GetCpvLocalMaxCut()const {Warning("GetCpvLocalMaxCut", "Not Defined" ) ; return 0. ; }
virtual Float_t GetCpvLogWeight()const {Warning("GetCpvLogWeight", "Not Defined" ) ; return 0. ; }
- virtual const Int_t GetRecPointsInRun() const {Warning("GetRecPointsInRun", "Not Defined" ) ; return 0 ; }
+ virtual Int_t GetRecPointsInRun() const {Warning("GetRecPointsInRun", "Not Defined" ) ; return 0 ; }
virtual void MakeClusters() {Warning("MakeClusters", "Not Defined" ) ; }
virtual void Print()const {Warning("Print", "Not Defined" ) ; }
virtual void SetCpvLocalMaxCut(Float_t) = 0;
virtual void SetCpvLogWeight(Float_t) = 0;
virtual void SetUnfolding(Bool_t) = 0;
- void SetEventFolderName(TString name) { fEventFolderName = name ; }
+ void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
+ void SetEventFolderName(TString name) { fEventFolderName = name ; }
- AliPHOSClusterizer & operator = (const AliPHOSClusterizer & rvalue) {return *this ;}
+ AliPHOSClusterizer & operator = (const AliPHOSClusterizer & /*rvalue*/) {return *this ;}
virtual const char * Version() const {Warning("Version", "Not Defined" ) ; return 0 ; }
protected:
TString fEventFolderName ; // event folder name
+ Int_t fFirstEvent; // first event to process
+ Int_t fLastEvent; // last event to process
-
- ClassDef(AliPHOSClusterizer,3) // Clusterization algorithm class
+ ClassDef(AliPHOSClusterizer,4) // Clusterization algorithm class
} ;