Line data Source code
1 : #ifndef ALIADQACHECKER_H
2 : #define ALIADQACHECKER_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 :
7 : /*
8 : Checks the quality of the data
9 : by comparing with reference data
10 : which should be loaded from QA ref DB
11 : */
12 :
13 : // --- ROOT system ---
14 : class TFile ;
15 : class TH1F ;
16 : class TH1I ;
17 : class TObjArray ;
18 :
19 : // --- Standard library ---
20 :
21 : // --- AliRoot header files ---
22 : #include "AliQACheckerBase.h"
23 :
24 : class AliADLoader;
25 : class AliCDBManager;
26 : class AliCDBStorage;
27 : class AliADQAParam;
28 :
29 : class AliADQAChecker: public AliQACheckerBase {
30 :
31 : public:
32 : AliADQAChecker();
33 0 : virtual ~AliADQAChecker() {;} // destructor
34 :
35 : virtual void Init(const AliQAv1::DETECTORINDEX_t det);
36 :
37 : AliADQAParam *GetQAParam() const;
38 0 : void SetLowEventCut(Int_t nEvents) {fLowEventCut = nEvents;}
39 0 : void SetORvsANDCut(Double_t cut) {fORvsANDCut = cut;}
40 0 : void SetBGvsBBCut(Double_t cut) {fBGvsBBCut = cut;}
41 0 : void SetSatMedCut(Double_t cut) {fSatMed = cut;}
42 0 : void SetSatHighCut(Double_t cut) {fSatHigh = cut;}
43 0 : void SetSatHugeCut(Double_t cut) {fSatHuge = cut;}
44 0 : void SetMaxPedDiffCut(Double_t cut) {fMaxPedDiff = cut;}
45 :
46 : protected:
47 : virtual void Check( Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam);
48 : Double_t CheckRaws(TObjArray * list) const;
49 : Double_t CheckPedestals(TObjArray * list) const;
50 : Double_t CheckEsds(TObjArray * list) const;
51 :
52 : virtual void MakeImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) ;
53 : virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ;
54 :
55 : private:
56 : AliADQAChecker(const AliADQAChecker& qac); // cpy ctor
57 : AliADQAChecker &operator=(const AliADQAChecker& qac); // assignment operator
58 :
59 : AliADQAParam *fQAParam;
60 : Int_t fLowEventCut; // Minimum number of events required by the QA checker
61 : Float_t fORvsANDCut; // AD OR vs AD AND counters cut
62 : Float_t fBGvsBBCut; // AD beam-gas vs beam-beam counters cut
63 : Float_t fSatMed; //Medium saturation cut
64 : Float_t fSatHigh; //High saturation cut
65 : Float_t fSatHuge; //Very high saturation cut
66 : Int_t fMaxPedDiff; //Pedestal difference cut
67 : Float_t fMaxPedWidth; //Pedestal width cut
68 : Int_t fChargeChannelZoomMin; //Min for Zoom on charge
69 : Int_t fChargeChannelZoomMax; //Max for Zoom on charge
70 : Float_t fTimeRatioBBZoomMin; //Min for Zoom time/BB ratio
71 : Float_t fTimeRatioBBZoomMax; //Max for Zoom time/BB ratio
72 : Float_t fTimeRatioBGZoomMin; //Min for Zoom time/BG ratio
73 : Float_t fTimeRatioBGZoomMax; //Max for Zoom time/BG ratio
74 : Float_t fChargeTrendMin;
75 : Float_t fChargeTrendMax;
76 : Float_t fMaxNoTimeRate;
77 : Float_t fMaxNoFlagRate;
78 : Float_t fMaxBBVariation;
79 : Float_t fMaxBGVariation;
80 : Float_t fAsynchronBB;
81 : Float_t fAsynchronBG;
82 :
83 16 : ClassDef(AliADQAChecker,6) // description
84 :
85 : };
86 :
87 : #endif // AliADQAChecker_H
|