Line data Source code
1 : #ifndef ALIVZEROQACHECKER_H
2 : #define ALIVZEROQACHECKER_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 AliVZEROLoader ;
25 :
26 : class AliVZEROQAChecker: public AliQACheckerBase {
27 :
28 : public:
29 : AliVZEROQAChecker();
30 0 : virtual ~AliVZEROQAChecker() {;} // destructor
31 :
32 : virtual void Init(const AliQAv1::DETECTORINDEX_t det);
33 :
34 0 : void SetLowEventCut(Int_t nEvents) {fLowEventCut = nEvents;}
35 0 : void SetORvsANDCut(Double_t cut) {fORvsANDCut = cut;}
36 0 : void SetBGvsBBCut(Double_t cut) {fBGvsBBCut = cut;}
37 :
38 : protected:
39 : virtual void Check( Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam);
40 : Double_t CheckRaws(TObjArray * list) const ;
41 : Double_t CheckEsds(TObjArray * list) const;
42 :
43 : virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ;
44 :
45 : private:
46 : AliVZEROQAChecker(const AliVZEROQAChecker& qac); // cpy ctor
47 : AliVZEROQAChecker &operator=(const AliVZEROQAChecker& qac); // assignment operator
48 :
49 : Int_t fLowEventCut; // Minimum number of events required by the QA checker
50 : Double_t fORvsANDCut; // VZERO OR vs VZERO AND counters cut
51 : Double_t fBGvsBBCut; // VZERO beam-gas vs beam-beam counters cut
52 :
53 152 : ClassDef(AliVZEROQAChecker,1) // description
54 :
55 : };
56 :
57 : #endif // AliVZEROQAChecker_H
|