]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALITPCQACHECKER_H | |
2 | #define ALITPCQACHECKER_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | /* $Id: $ */ | |
8 | ||
9 | /* | |
10 | Checks implemented a la AliMUONQAChecker. | |
11 | Checks the quality assurance by very simple checks on histogram content. | |
12 | P. Christiansen, Lund, September 2009. | |
13 | */ | |
14 | ||
15 | // --- ROOT header files --- | |
16 | #include <TObjArray.h> | |
17 | ||
18 | // --- AliRoot header files --- | |
19 | #include "AliQACheckerBase.h" | |
20 | #include "AliDetectorRecoParam.h" | |
21 | ||
22 | class AliTPCQAChecker: public AliQACheckerBase { | |
23 | ||
24 | public: | |
25 | AliTPCQAChecker() : AliQACheckerBase("TPC","TPC Quality Assurance Checker"), fDebug(0) {;} // ctor | |
26 | AliTPCQAChecker(const AliTPCQAChecker& qac) : AliQACheckerBase(qac.GetName(), qac.GetTitle()), fDebug(qac.GetDebugLevel()) {;} // cpy ctor | |
27 | virtual ~AliTPCQAChecker() {;} // dtor | |
28 | ||
29 | virtual Double_t * Check(AliQAv1::ALITASK_t, TObjArray **, AliDetectorRecoParam * recoParam); | |
30 | void Init(const AliQAv1::DETECTORINDEX_t det); | |
31 | void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const; | |
32 | ||
33 | Int_t GetDebugLevel() const {return fDebug;} | |
34 | void SetDebugLevel(Int_t value) {fDebug = value;} | |
35 | ||
36 | private: | |
37 | ||
38 | Double_t CheckRAW(Int_t specie, TObjArray* list); | |
39 | Double_t CheckREC(Int_t specie, TObjArray* list); | |
40 | Double_t CheckESD(Int_t specie, TObjArray* list); | |
41 | ||
42 | Int_t fDebug; | |
43 | ||
44 | ClassDef(AliTPCQAChecker,2) // TPC Quality Assurance Checker | |
45 | ||
46 | }; | |
47 | ||
48 | #endif // AliTPCQAChecker_H |