]>
Commit | Line | Data |
---|---|---|
44f32dd2 | 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 | /* | |
ce0175fa | 10 | Checks implemented a la AliMUONQAChecker. |
11 | Checks the quality assurance by very simple checks on histogram content. | |
12 | P. Christiansen, Lund, September 2009. | |
44f32dd2 | 13 | */ |
14 | ||
ce0175fa | 15 | // --- ROOT header files --- |
16 | #include <TObjArray.h> | |
17 | ||
44f32dd2 | 18 | // --- AliRoot header files --- |
19 | #include "AliQACheckerBase.h" | |
ce0175fa | 20 | #include "AliDetectorRecoParam.h" |
44f32dd2 | 21 | |
22 | class AliTPCQAChecker: public AliQACheckerBase { | |
ce0175fa | 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 | |
44f32dd2 | 27 | virtual ~AliTPCQAChecker() {;} // dtor |
28 | ||
ce0175fa | 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 | ||
44f32dd2 | 36 | private: |
37 | ||
ce0175fa | 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 | |
44f32dd2 | 45 | |
46 | }; | |
47 | ||
48 | #endif // AliTPCQAChecker_H |