Removing obsolete macros which used the AliTPCtracker
[u/mrichter/AliRoot.git] / T0 / AliT0QAChecker.h
CommitLineData
c03351ac 1#ifndef ALIT0QACHECKER_H
2#define ALIT0QACHECKER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//
10// Checks the quality assurance.
11// By comparing with reference data
12// Skeleton for T0
13//
14
15
16// --- ROOT system ---
17class TFile ;
18class TH1F ;
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
23#include "AliQACheckerBase.h"
c03351ac 24class AliT0QAChecker: public AliQACheckerBase {
25
26public:
0e5a41d5 27 AliT0QAChecker();
49e33ff1 28 AliT0QAChecker(const AliT0QAChecker& qac);
29 AliT0QAChecker& operator=(const AliT0QAChecker& qac);
0e5a41d5 30 // dtor
31 virtual ~AliT0QAChecker();
49e33ff1 32 Double_t CheckLaser(TObjArray *listrec ) const ;
33 Double_t CheckBCID(TObjArray *listrec ) const ;
0e5a41d5 34 Double_t CheckRaw(TObjArray *listrec ) const ;
35 Double_t CheckESD(TObjArray *listrec ) const ;
36
37
c03351ac 38private:
49e33ff1 39
40 enum{
41 kT0Fatal=-1, ///< error is really serious
42 kT0Error=0, ///< normal error, i.e. something is wrong
43 kT0Warning=1, ///< warning, i.e. might become an error later on
44 kT0Info=2 ///< just so you know...
45 };
46
a42ceb0e 47 virtual void Check(Double_t * test, AliQAv1::ALITASK_t, TObjArray ** list, const AliDetectorRecoParam * recoParam) ;
49e33ff1 48 void EraseOldMessages(TH1* h) const;
7b51ee39 49 Double_t ConvertQualityFlagToDouble(int qualityFlag) const;
50 Float_t GetMeanAboveThreshold(TH1F* hV, Float_t thr) const;
49e33ff1 51
c03351ac 52 ClassDef(AliT0QAChecker,1) // description
53
54};
55
56#endif // AliT0QAChecker_H