During simulation: fill STU region w/ non null time sums
[u/mrichter/AliRoot.git] / TPC / AliTPCQAChecker.h
CommitLineData
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
22class 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
3b6ec37c 27 AliTPCQAChecker& operator = (const AliTPCQAChecker &checker); // assignment
44f32dd2 28 virtual ~AliTPCQAChecker() {;} // dtor
3b6ec37c 29
a42ceb0e 30 virtual void Check(Double_t * test, AliQAv1::ALITASK_t, TObjArray **, const AliDetectorRecoParam * recoParam);
ce0175fa 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
44f32dd2 37private:
38
ce0175fa 39 Double_t CheckRAW(Int_t specie, TObjArray* list);
db4f08c1 40 Double_t CheckSIM(Int_t specie, TObjArray* list);
ce0175fa 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
44f32dd2 47
48};
49
50#endif // AliTPCQAChecker_H