]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALClusterizerv1.h
include reconstruction parameters to be used by AliTOFtrackerV1
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizerv1.h
index ee2f4f2d9e0f2f18d4725fa477e41273dd0d60b3..13ec854f1b62f1d828f815c63290cec33fdae4a9 100644 (file)
@@ -36,17 +36,8 @@ class AliEMCALClusterizerv1 : public AliEMCALClusterizer {
 public:
   
   AliEMCALClusterizerv1() ;         
-  //cpy ctor required by coding convention
-  AliEMCALClusterizerv1(const AliEMCALClusterizerv1& clus);
 
-  AliEMCALClusterizerv1(const TString alirunFileNameFile, const TString eventFolderName = AliConfig::GetDefaultEventFolderName());
   virtual ~AliEMCALClusterizerv1()  ;
-  virtual void Browse(TBrowser* b);
-
-  AliEMCALClusterizerv1 & operator = (const AliEMCALClusterizerv1 &) {
-    Fatal("operator =", "not implemented") ;
-    return *this ;
-  }
 
   virtual Int_t   AreNeighbours(AliEMCALDigit * d1, AliEMCALDigit * d2)const ; 
                                // Checks if digits are in neighbour cells 
@@ -62,11 +53,9 @@ public:
   virtual Float_t GetECALogWeight()const         { return fECAW0;}
   virtual Float_t GetMinECut()const              { return fMinECut;}
 
-  virtual Float_t GetTimeGate() const            { return fTimeGate ; }
-  virtual const char *  GetRecPointsBranch() const{ return GetName() ;}
-  virtual Int_t GetRecPointsInRun() const   {return fRecPointsInRun ;} 
+  virtual Float_t GetTimeCut() const            { return fTimeCut ; }
 
-  void    Exec(Option_t *option);                // Does the job
+  virtual void    Digits2Clusters(Option_t *option);                // Does the job
 
   virtual void Print(Option_t * option)const ;
 
@@ -74,13 +63,12 @@ public:
   virtual void SetMinECut(Float_t mine)                  { fMinECut = mine; }
   virtual void SetECALocalMaxCut(Float_t cut)            { fECALocMaxCut = cut ; }
   virtual void SetECALogWeight(Float_t w)                { fECAW0 = w ; }
-  virtual void SetTimeGate(Float_t gate)                 { fTimeGate = gate ;}
+  virtual void SetTimeCut(Float_t gate)                 { fTimeCut = gate ;}
   virtual void SetUnfolding(Bool_t toUnfold = kTRUE )    {fToUnfold = toUnfold ;}  
   static Double_t ShowerShape(Double_t r) ; // Shape of EM shower used in unfolding; 
                                             //class member function (not object member function)
   static void UnfoldingChiSquare(Int_t & nPar, Double_t * Grad, Double_t & fret, Double_t * x, Int_t iflag)  ;
                                             // Chi^2 of the fit. Should be static to be passes to MINUIT
-  void Unload() ; 
   virtual const char * Version() const { return "clu-v1" ; }  
  
   TList* BookHists();
@@ -89,9 +77,7 @@ public:
   void   DrawLambdasHists();                     //*MENU*
 protected:
 
-  void           WriteRecPoints() ;
-  virtual void   MakeClusters(char* opt ) ;            
-  virtual void   MakeClusters() { Fatal("MakeClusters","not implemented"); }
+  virtual void   MakeClusters(char* opt );            
             
 ///////////////////// 
    TList  *fHists;   //!
@@ -109,8 +95,9 @@ protected:
 
 
 private:
+  AliEMCALClusterizerv1(const AliEMCALClusterizerv1 &); //copy ctor
+  AliEMCALClusterizerv1 & operator = (const AliEMCALClusterizerv1 &);
 
-  const TString BranchName() const ; 
   void    GetCalibrationParameters(void) ;
   
   Bool_t  FindFit(AliEMCALRecPoint * emcRP, AliEMCALDigit ** MaxAt, Float_t * maxAtEnergy, 
@@ -142,11 +129,10 @@ private:
   Float_t fECAClusteringThreshold ;  // minimum energy to seed a EC digit in a cluster
   Float_t fECALocMaxCut ;            // minimum energy difference to distinguish local maxima in a cluster
   Float_t fECAW0 ;                   // logarithmic weight for the cluster center of gravity calculation
-  Int_t   fRecPointsInRun ;            //! Total number of recpoints in one run
-  Float_t fTimeGate ;                // Maximum time difference between the digits in ont EMC cluster
+  Float_t fTimeCut ;                // Maximum time difference between the digits in ont EMC cluster
   Float_t fMinECut;                  // Minimum energy for a digit to be a member of a cluster
 
-  ClassDef(AliEMCALClusterizerv1,4)   // Clusterizer implementation version 1
+  ClassDef(AliEMCALClusterizerv1,6)   // Clusterizer implementation version 1
 
 };