]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - VZERO/AliVZEROQAChecker.h
- PIDResponse: Loading of special TPC response (splines) for debugging purposes has...
[u/mrichter/AliRoot.git] / VZERO / AliVZEROQAChecker.h
... / ...
CommitLineData
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 ---
14class TFile ;
15class TH1F ;
16class TH1I ;
17class TObjArray ;
18
19// --- Standard library ---
20
21// --- AliRoot header files ---
22#include "AliQACheckerBase.h"
23
24class AliVZEROLoader ;
25
26class AliVZEROQAChecker: public AliQACheckerBase {
27
28public:
29 AliVZEROQAChecker();
30 virtual ~AliVZEROQAChecker() {;} // destructor
31
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;}
37
38protected:
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
45private:
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 ClassDef(AliVZEROQAChecker,1) // description
54
55};
56
57#endif // AliVZEROQAChecker_H