]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCQAChecker.h
Added some more scripts
[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
44f32dd2 27 virtual ~AliTPCQAChecker() {;} // dtor
28
a42ceb0e 29 virtual void Check(Double_t * test, AliQAv1::ALITASK_t, TObjArray **, const AliDetectorRecoParam * recoParam);
ce0175fa 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 36private:
37
ce0175fa 38 Double_t CheckRAW(Int_t specie, TObjArray* list);
db4f08c1 39 Double_t CheckSIM(Int_t specie, TObjArray* list);
ce0175fa 40 Double_t CheckREC(Int_t specie, TObjArray* list);
41 Double_t CheckESD(Int_t specie, TObjArray* list);
42
43 Int_t fDebug;
44
45 ClassDef(AliTPCQAChecker,2) // TPC Quality Assurance Checker
44f32dd2 46
47};
48
49#endif // AliTPCQAChecker_H