]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCQAChecker.h
make loader more tolerant to missing files
[u/mrichter/AliRoot.git] / TPC / AliTPCQAChecker.h
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   AliTPCQAChecker& operator = (const AliTPCQAChecker &checker); // assignment
28   virtual ~AliTPCQAChecker() {;} // dtor
29   
30   virtual void Check(Double_t *  test, AliQAv1::ALITASK_t, TObjArray **, const AliDetectorRecoParam * recoParam); 
31   void Init(const AliQAv1::DETECTORINDEX_t det); 
32   void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const;
33
34   Int_t GetDebugLevel() const {return fDebug;}
35   void  SetDebugLevel(Int_t value) {fDebug = value;}
36   
37 private:
38   
39   Double_t CheckRAW(Int_t specie, TObjArray* list);
40   Double_t CheckSIM(Int_t specie, TObjArray* list);
41   Double_t CheckREC(Int_t specie, TObjArray* list);
42   Double_t CheckESD(Int_t specie, TObjArray* list);
43
44   Int_t fDebug;
45   
46   ClassDef(AliTPCQAChecker,2)  // TPC Quality Assurance Checker
47
48 };
49
50 #endif // AliTPCQAChecker_H