]>
Commit | Line | Data |
---|---|---|
c03351ac | 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 */ | |
5 | ||
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | // | |
10 | // Checks the quality assurance. | |
11 | // By comparing with reference data | |
12 | // Skeleton for T0 | |
13 | // | |
14 | ||
15 | ||
16 | // --- ROOT system --- | |
17 | class TFile ; | |
18 | class TH1F ; | |
19 | ||
20 | // --- Standard library --- | |
21 | ||
22 | // --- AliRoot header files --- | |
23 | #include "AliQACheckerBase.h" | |
c03351ac | 24 | class AliT0QAChecker: public AliQACheckerBase { |
25 | ||
26 | public: | |
0e5a41d5 | 27 | AliT0QAChecker(); |
49e33ff1 | 28 | AliT0QAChecker(const AliT0QAChecker& qac); |
29 | AliT0QAChecker& operator=(const AliT0QAChecker& qac); | |
0e5a41d5 | 30 | // dtor |
31 | virtual ~AliT0QAChecker(); | |
0353488e | 32 | //Double_t CheckLaser(TObjArray *listrec ) const ; |
0e5a41d5 | 33 | Double_t CheckRaw(TObjArray *listrec ) const ; |
34 | Double_t CheckESD(TObjArray *listrec ) const ; | |
35 | ||
36 | ||
c03351ac | 37 | private: |
49e33ff1 | 38 | |
39 | enum{ | |
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... | |
44 | }; | |
45 | ||
a42ceb0e | 46 | virtual void Check(Double_t * test, AliQAv1::ALITASK_t, TObjArray ** list, const AliDetectorRecoParam * recoParam) ; |
49e33ff1 | 47 | void EraseOldMessages(TH1* h) const; |
7b51ee39 | 48 | Double_t ConvertQualityFlagToDouble(int qualityFlag) const; |
49 | Float_t GetMeanAboveThreshold(TH1F* hV, Float_t thr) const; | |
0353488e | 50 | void GetMeanAndRmsAroundMainMaximum(Float_t &meanHisto,Float_t &rmsHisto, TH1F *histo, int type) const; |
51 | ||
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 | |
65 | ||
66 | ||
49e33ff1 | 67 | |
c03351ac | 68 | ClassDef(AliT0QAChecker,1) // description |
69 | ||
70 | }; | |
71 | ||
72 | #endif // AliT0QAChecker_H |