]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALQADataMakerRec.h
Coding rules
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALQADataMakerRec.h
1 #ifndef ALIEMCALQADataMakerRec_H
2 #define ALIEMCALQADataMakerRec_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /*
7   Produces the data needed to calculate the quality assurance. 
8   All data must be mergeable objects.
9
10   Based on PHOS code written by
11   Y. Schutz CERN July 2007
12 */
13
14
15 // --- ROOT system ---
16 class TH1F ; 
17 class TH1I ; 
18 class TObjArray ; 
19
20 // --- Standard library ---
21
22 // --- AliRoot header files ---
23 #include "AliQADataMakerRec.h"
24
25 class AliEMCALQADataMakerRec: public AliQADataMakerRec {
26
27 public:
28   //Histograms for Raw data control
29   enum HRawType_t {kNsmodLG,kNsmodHG,kTimeLG,kTimeHG,
30                    kSigLG,kSigHG,kNtotLG,kNtotHG,
31                    kPedLG,kPedHG,
32                    kPedRMSLG,kPedRMSHG} ;
33
34   //Histograms for RecPoints  control
35   enum HRPType_t {kRecPE,kRecPM,kRecPDigM};
36
37   //Histograms for ESDs  control
38   enum HESDType_t {kESDCaloClusE,kESDCaloClusM,kESDCaloCellA,kESDCaloCellM} ;
39                  
40
41 public:
42   AliEMCALQADataMakerRec() ;          // ctor
43   AliEMCALQADataMakerRec(const AliEMCALQADataMakerRec& qadm) ;   
44   AliEMCALQADataMakerRec& operator = (const AliEMCALQADataMakerRec& qadm) ;
45   virtual ~AliEMCALQADataMakerRec() {;} // dtor
46
47   void SetSuperModules(int i) {fSuperModules = i;}; //The number of SuperModules
48   int GetSuperModules() const {return fSuperModules;}; //The number of SuperModules
49   virtual void   EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
50   virtual void   InitESDs() ; 
51   virtual void   InitDigits() ; 
52   virtual void   InitRecPoints() ; 
53   virtual void   InitRaws() ; 
54   virtual void   MakeESDs(AliESDEvent * esd) ;
55   virtual void   MakeDigits() ;
56   virtual void   MakeDigits(TTree * digTree) ; 
57   virtual void   MakeRecPoints(TTree * recpoTree) ; 
58   virtual void   MakeRaws(AliRawReader* rawReader) ; 
59   virtual void   StartOfDetectorCycle() ; 
60
61 private:
62   int fSuperModules; //The number of SuperModules activated
63
64   ClassDef(AliEMCALQADataMakerRec,2)  // description 
65
66 };
67
68 #endif // AliEMCALQADataMakerRec_H