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 */
8 Checks the quality of the data
9 by comparing with reference data
10 which should be loaded from QA ref DB
13 // --- ROOT system ---
19 // --- Standard library ---
21 // --- AliRoot header files ---
22 #include "AliQACheckerBase.h"
24 class AliVZEROLoader ;
26 class AliVZEROQAChecker: public AliQACheckerBase {
30 virtual ~AliVZEROQAChecker() {;} // destructor
32 virtual void Init(const AliQAv1::DETECTORINDEX_t det);
34 void SetLowEventCut(Int_t nEvents) {fLowEventCut = nEvents;}
35 void SetORvsANDCut(Double_t cut) {fORvsANDCut = cut;}
36 void SetBGvsBBCut(Double_t cut) {fBGvsBBCut = cut;}
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;
43 virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ;
46 AliVZEROQAChecker(const AliVZEROQAChecker& qac); // cpy ctor
47 AliVZEROQAChecker &operator=(const AliVZEROQAChecker& qac); // assignment operator
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
53 ClassDef(AliVZEROQAChecker,1) // description
57 #endif // AliVZEROQAChecker_H