virtual Int_t AreNeighbours(AliEMCALDigit * d1, AliEMCALDigit * d2, Bool_t & shared)const ;
// Checks if digits are in neighbour cells
- virtual void Digits2Clusters(Option_t *option); // Does the job
-
-
- static Double_t ShowerShape(Double_t x, Double_t y) ; // Shape of EM shower used in unfolding;
- //class member function (not object member function)
- static void SetInputCalibrated(Bool_t val);
+ virtual void Digits2Clusters(Option_t *option); // Does the job
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 &);
+ 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
- virtual void MakeUnfolding();
- void UnfoldCluster(AliEMCALRecPoint * iniEmc, Int_t Nmax,
- AliEMCALDigit ** maxAt,
- Float_t * maxAtEnergy ); //Unfolds cluster using TMinuit package
-
-private:
-
- ClassDef(AliEMCALClusterizerNxN,1) // Clusterizer implementation version 1
-
+ ClassDef(AliEMCALClusterizerNxN,4) // Clusterizer implementation version 1
};
#endif // AliEMCALCLUSTERIZERNXN_H