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 */
7 Produces the data needed to calculate the quality assurance.
8 All data must be mergeable objects.
10 Based on PHOS code written by
11 Y. Schutz CERN July 2007
15 // --- ROOT system ---
20 // --- Standard library ---
22 // --- AliRoot header files ---
23 #include "AliQADataMakerRec.h"
25 class AliEMCALQADataMakerRec: public AliQADataMakerRec {
28 //Histograms for Raw data control
29 enum HRawType_t {kNsmodLG,kNsmodHG,kTimeLG,kTimeHG,
30 kSigLG,kSigHG,kNtotLG,kNtotHG,
32 kPedRMSLG,kPedRMSHG} ;
34 //Histograms for RecPoints control
35 enum HRPType_t {kRecPE,kRecPM,kRecPDigM};
37 //Histograms for ESDs control
38 enum HESDType_t {kESDCaloClusE,kESDCaloClusM,kESDCaloCellA,kESDCaloCellM} ;
42 AliEMCALQADataMakerRec() ; // ctor
43 AliEMCALQADataMakerRec(const AliEMCALQADataMakerRec& qadm) ;
44 AliEMCALQADataMakerRec& operator = (const AliEMCALQADataMakerRec& qadm) ;
45 virtual ~AliEMCALQADataMakerRec() {;} // dtor
47 void SetSuperModules(int i) {fSuperModules = i;}; //The number of SuperModules
48 int GetSuperModules() const {return fSuperModules;}; //The number of SuperModules
51 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
52 virtual void InitESDs() ;
53 virtual void InitDigits() ;
54 virtual void InitRecPoints() ;
55 virtual void InitRaws() ;
56 virtual void MakeESDs(AliESDEvent * esd) ;
57 virtual void MakeDigits(TClonesArray * digits) ;
58 virtual void MakeDigits(TTree * digTree) ;
59 virtual void MakeRecPoints(TTree * recpoTree) ;
60 virtual void MakeRaws(AliRawReader* rawReader) ;
61 virtual void StartOfDetectorCycle() ;
63 int fSuperModules; //The number of SuperModules activated
65 ClassDef(AliEMCALQADataMakerRec,2) // description
69 #endif // AliEMCALQADataMakerRec_H