]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalibKr.h
updates in the cluster resolution (on going)
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibKr.h
index b34a3e8e24626bbbf2385f429e0ee0f6ca13112b..4ddbd948c53210b7d2f2e7829e1ed73319e28631 100644 (file)
@@ -39,18 +39,33 @@ public:
   void Analyse();
   static TH1D* ProjectHisto(TH3F* histo3D, const char* name = "_pz", Int_t firstxbin = 0, Int_t lastxbin = 0, Int_t firstybin = 0, Int_t lastybin = 0);
 
-  void SetASide(Bool_t bA = kTRUE) {bASide = bA;} // fill histo only A TPC side
-  void SetBSide(Bool_t bC = kTRUE) {bCSide = bC;} // fill histo only C TPC side
+  void SetASide(Bool_t bA = kTRUE) {fASide = bA;} // fill histo only A TPC side
+  void SetBSide(Bool_t bC = kTRUE) {fCSide = bC;} // fill histo only C TPC side
 
   //Merge output objects (needed by PROOF)
   virtual Long64_t Merge(TCollection* list);
-  
+
+  // Setters
+  void SetADCOverClustSizeRange(Float_t min=0.0,Float_t max=1.0e9)   {fADCOverClustSizeMin = min ; fADCOverClustSizeMax = max;  }
+  void SetMaxADCOverClustADCRange(Float_t min=0.0,Float_t max=1.0e9) {fMaxADCOverClustADCMin = min ; fMaxADCOverClustADCMax = max;  }
+  void SetTimeRange(Float_t min=0.0, Float_t max=1.0e9)              {fTimeMin = min ; fTimeMax = max; }
+  void SetClustSizeRange(Float_t min=0.0, Float_t max=1.0e9)         {fClustSizeMin = min ; fClustSizeMax = max; }
+
 private:
 
-  Bool_t bASide;              //! Only A side
-  Bool_t bCSide;              //! Only C side 
+  Bool_t fASide;              //! Only A side
+  Bool_t fCSide;              //! Only C side 
   TObjArray fHistoKrArray;    //  Calibration histograms for Kr distribution
 
+  Float_t fADCOverClustSizeMin; // min ADCcluster over Cluster size ratio
+  Float_t fADCOverClustSizeMax; // max ADCcluster over Cluster size ratio
+  Float_t fMaxADCOverClustADCMin; // min MaxADC over ADCcluster ratio 
+  Float_t fMaxADCOverClustADCMax; // max MaxADC over ADCcluster ratio
+  Float_t fTimeMin; // min time bin for MaxADC
+  Float_t fTimeMax; // max time bin for MaxADC
+  Float_t fClustSizeMin; // min cluster size
+  Float_t fClustSizeMax; // max cluster size
+
 public:
   ClassDef(AliTPCCalibKr, 1)  // Implementation of the TPC pedestal and noise calibration
 };