]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALClusterizer.h
control plots went to AliRICH
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizer.h
index 0f321d23181c7040051002f1dedbaffc78bb711d..bd61d21661d1905d11788baacbf7d79ca864f66e 100644 (file)
@@ -14,6 +14,7 @@
 // --- ROOT system ---
 
 #include "TTask.h" 
+#include "AliConfig.h"
 
 // --- Standard library ---
 
@@ -24,8 +25,8 @@ class AliEMCALClusterizer : public TTask {
 public:
 
   AliEMCALClusterizer() ;        // default ctor
-  AliEMCALClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
-  virtual ~AliEMCALClusterizer() ; // dtor
+  AliEMCALClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
+  virtual ~AliEMCALClusterizer() ; // dtorEM
 
   virtual Float_t GetTowerClusteringThreshold()const {Warning("GetTowerClusteringThreshold", "Not Defined") ; return 0. ; }
   virtual Float_t GetTowerLocalMaxCut()const {Warning("GetTowerLocalMaxCut", "Not Defined") ; return 0. ; }
@@ -43,10 +44,17 @@ public:
   virtual void SetECALogWeight(Float_t)           = 0;
   virtual void SetTimeGate(Float_t)               = 0;
   virtual void SetUnfolding(Bool_t)               = 0;
+  void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
+  void SetEventFolderName(TString name) { fEventFolderName = name ; }
+
+  AliEMCALClusterizer & operator = (const AliEMCALClusterizer & /*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(AliEMCALClusterizer,4)  // Clusterization algorithm class