]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ACORDE/AliACORDEQAChecker.h
Actually this IS needed to work offline (with Offline created ESDs)
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEQAChecker.h
1 #ifndef ALIACORDEQACHECKER_H
2 #define ALIACORDEQACHECKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //
7 //  Checks the quality assurance for ACORDE. 
8 //  Default implementation from Yves skeleton
9 //
10 //  Authors:
11 //      Mario Rodriguez Cahuantzi <mrodrigu@mail.cern.ch> (FCFM-BUAP)
12 //      Luciano Diaz Gonzalez <luciano.diaz@nucleares.unam.mx> (ICN-UNAM)
13 //      Arturo Fernandez <afernan@mail.cern.ch> (FCFM-BUAP)
14 //  Last update: Nov. 14t 2009 --> MRC <mrodrigu@mail.cern.ch> (FCFM-BUAP) 
15 //...
16
17
18 // --- ROOT system ---
19 class TFile ; 
20 class TH1F ; 
21 class TObjArray ;
22 class TLine;
23 class TPaveText;
24
25 // --- Standard library ---
26
27 // --- AliRoot header files ---
28 #include "AliQACheckerBase.h"
29
30 class AliACORDEQAChecker: public AliQACheckerBase {
31
32 public:
33   AliACORDEQAChecker(); // constructor
34   AliACORDEQAChecker(const AliACORDEQAChecker& qac);
35   AliACORDEQAChecker& operator = (const AliACORDEQAChecker& qac);
36   virtual ~AliACORDEQAChecker(); // destructor
37   virtual void Check(Double_t *, AliQAv1::ALITASK_t /*index*/) ;
38   virtual void Check(Double_t *, AliQAv1::ALITASK_t /*index*/, TObjArray ** list, const AliDetectorRecoParam * /* recoParam*/) ;
39
40   Double_t CheckAcordeRefHits(const TH1 * href, const TH1 * hdata) const;
41
42 private:
43
44   // for DQM shifter plots
45
46   TPaveText * fTextDQMShifterInfo; //! Pave text for alarm in DQM plots
47   TLine * fMax; //! Maximum hits allowed per module (normalized data)
48   
49   ClassDef(AliACORDEQAChecker,1)  // description 
50
51 };
52
53 #endif // AliACORDEQAChecker_H