//
void Init();
- Bool_t Process();
- Bool_t ReadEntry(Int_t evt);
+ Bool_t Process(AliTPCclusterKr *cluster);
+ Bool_t Accept(AliTPCclusterKr *cluster);
Bool_t Update(AliTPCclusterKr *cluster);
TH3F* CreateHisto(Int_t chamber);
Bool_t IsCSide(Int_t chamber);
Bool_t IsIROC(Int_t chamber);
- Bool_t Terminate();
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 SetInputChain(TChain *inChain) {fTree = (TTree*) inChain;}
- void SetOutputHisto(Bool_t bHisto = kTRUE) {bOutputHisto = bHisto;}
+ 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
- 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
+ //Merge output objects (needed by PROOF)
+ virtual Long64_t Merge(TCollection* list);
-private:
+ // 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; }
- Bool_t bOutputHisto; //!
- Bool_t bASide; //!
- Bool_t bCSide; //!
+private:
- TClonesArray *fClusters; //!
- AliTPCclusterKr *fClustKr; //!
- TTree *fTree; //!
+ 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
};