1 #ifndef ALIT0QACHECKER_H
2 #define ALIT0QACHECKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 // Checks the quality assurance.
11 // By comparing with reference data
16 // --- ROOT system ---
20 // --- Standard library ---
22 // --- AliRoot header files ---
23 #include "AliQACheckerBase.h"
24 class AliT0QAChecker: public AliQACheckerBase {
28 AliT0QAChecker(const AliT0QAChecker& qac);
29 AliT0QAChecker& operator=(const AliT0QAChecker& qac);
31 virtual ~AliT0QAChecker();
32 //Double_t CheckLaser(TObjArray *listrec ) const ;
33 Double_t CheckRaw(TObjArray *listrec ) const ;
34 Double_t CheckESD(TObjArray *listrec ) const ;
40 kT0Fatal=-1, ///< error is really serious
41 kT0Error=0, ///< normal error, i.e. something is wrong
42 kT0Warning=1, ///< warning, i.e. might become an error later on
43 kT0Info=2 ///< just so you know...
46 virtual void Check(Double_t * test, AliQAv1::ALITASK_t, TObjArray ** list, const AliDetectorRecoParam * recoParam) ;
47 void EraseOldMessages(TH1* h) const;
48 Double_t ConvertQualityFlagToDouble(int qualityFlag) const;
49 Float_t GetMeanAboveThreshold(TH1F* hV, Float_t thr) const;
50 void GetMeanAndRmsAroundMainMaximum(Float_t &meanHisto,Float_t &rmsHisto, TH1F *histo, int type) const;
52 Float_t fMeanCFDFromGoodRunParam[24]; //mean CFD for each PMT from a good run
53 Float_t fMeanLEDFromGoodRunParam[24]; //mean LED for each PMT from a good run
54 Float_t fMeanQTCFromGoodRunParam[24]; //mean QTC for each PMT from a good run
55 Float_t fCFDErrorThreshold; //CFD error threshold instead of the yellow band
56 Float_t fLEDErrorThreshold; //LED error threshold
57 Float_t fQTCErrorThreshold; //QTC error threshold
58 Float_t fRatioCFDEffLEDEffErrorThreshold; //ratio CFD to LED efficiency error threshold
59 Float_t fQTCEfficiencyErrorThreshold; //QTC efficiency error threshold
60 Int_t fBCIDPeriodParam; // period
61 Int_t fBCIDOffsetParam;//offset of TRM BCID
62 Int_t fBCIDBandWidthParam; // tollerated deviation of BCID from diagonal
63 Float_t fTZeroAPlusCErrorThreshold; // constraint on the tzero vertex displacement in ps
64 Float_t fTZeroAMinusCErrorThreshold; // constraint on the tzero time shift in ps
68 ClassDef(AliT0QAChecker,1) // description
72 #endif // AliT0QAChecker_H