]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALClusterizerNxN.h
Fixing typo (clang)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizerNxN.h
index 4e5457ec05d5a6603c67e4e66d34a5e7f7cd3929..a01ad867a0e07df8825ea2346b0f430798e5a8dc 100644 (file)
@@ -35,22 +35,28 @@ public:
 
   virtual void   Digits2Clusters(Option_t *option);                // Does the job
 
-  static void     SetInputCalibrated(Bool_t val);
-
   virtual const char * Version() const { return "clu-NxN" ; }  
   
+  void SetNRowDiff(Int_t nd) { fNRowDiff = nd; }
+  void SetNColDiff(Int_t nd) { fNColDiff = nd; }
+  Int_t GetNRowDiff() const { return fNRowDiff; } 
+  Int_t GetNColDiff() const { return fNColDiff; } 
+  void SetEnergyGrad(Bool_t b) { fEnergyGrad= b; }
+  Bool_t GetEnergyGrad() const { return fEnergyGrad; }
+
 protected:
 
   virtual void   MakeClusters();            
 
-  static Bool_t fgkIsInputCalibrated; // to enable reclusterization from ESD cells
-
 private:
   AliEMCALClusterizerNxN(const AliEMCALClusterizerNxN &); //copy ctor
   AliEMCALClusterizerNxN & operator = (const AliEMCALClusterizerNxN &);
 
-   ClassDef(AliEMCALClusterizerNxN,1)   // Clusterizer implementation version 1
+  Int_t  fNRowDiff;  //how many neighbors to consider along row (phi)
+  Int_t  fNColDiff;  //how many neighbors to consider along col (eta)
+  Bool_t fEnergyGrad; //if true only cluster if neighboring cell has less energy
 
+  ClassDef(AliEMCALClusterizerNxN,4)   // Clusterizer implementation version 1
 };
 
 #endif // AliEMCALCLUSTERIZERNXN_H