]>
Commit | Line | Data |
---|---|---|
508b9fc0 | 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 | /* | |
5fc205b9 | 8 | Checks the quality of the data |
9 | by comparing with reference data | |
10 | which should be loaded from QA ref DB | |
508b9fc0 | 11 | */ |
12 | ||
508b9fc0 | 13 | // --- ROOT system --- |
14 | class TFile ; | |
15 | class TH1F ; | |
16 | class TH1I ; | |
427ef3a5 | 17 | class TObjArray ; |
508b9fc0 | 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: | |
9a84e5f1 | 29 | AliVZEROQAChecker(); |
43d41363 | 30 | virtual ~AliVZEROQAChecker() {;} // destructor |
31 | ||
9a84e5f1 | 32 | virtual void Init(const AliQAv1::DETECTORINDEX_t det); |
33 | ||
34 | void SetLowEventCut(Int_t nEvents) {fLowEventCut = nEvents;} | |
35 | void SetORvsANDCut(Double_t cut) {fORvsANDCut = cut;} | |
36 | void SetBGvsBBCut(Double_t cut) {fBGvsBBCut = cut;} | |
57acd2d2 | 37 | |
43d41363 | 38 | protected: |
a42ceb0e | 39 | virtual void Check( Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam); |
9a84e5f1 | 40 | Double_t CheckRaws(TObjArray * list) const ; |
43d41363 | 41 | Double_t CheckEsds(TObjArray * list) const; |
42 | ||
4e25ac79 | 43 | virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ; |
427ef3a5 | 44 | |
508b9fc0 | 45 | private: |
b94da054 | 46 | AliVZEROQAChecker(const AliVZEROQAChecker& qac); // cpy ctor |
e9aca0b2 | 47 | AliVZEROQAChecker &operator=(const AliVZEROQAChecker& qac); // assignment operator |
9a84e5f1 | 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 | |
508b9fc0 | 52 | |
53 | ClassDef(AliVZEROQAChecker,1) // description | |
54 | ||
55 | }; | |
56 | ||
57 | #endif // AliVZEROQAChecker_H |