1 #ifndef ALIPHOSQADataMakerRec_H
2 #define ALIPHOSQADataMakerRec_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 Produces the data needed to calculate the quality assurance.
11 All data must be mergeable objects.
12 Y. Schutz CERN July 2007
16 // --- ROOT system ---
21 // --- Standard library ---
23 // --- AliRoot header files ---
24 #include "AliQADataMakerRec.h"
25 #include "AliPHOSRecoParam.h"
27 class AliPHOSQADataMakerRec: public AliQADataMakerRec {
30 //Histograms for Raw data control
31 enum HRawType_t {kHGmod0,kHGmod1,kHGmod2,kHGmod3,kHGmod4,
32 kLGmod0,kLGmod1,kLGmod2,kLGmod3,kLGmod4,
34 kNtotLG,kNtotHG,kEtotLG,kEtotHG,
35 kLGtime,kHGtime,kSpecLG,kSpecHG,
36 kHGqualMod0,kHGqualMod1,kHGqualMod2,kHGqualMod3,kHGqualMod4,
37 kLGqualMod0,kLGqualMod1,kLGqualMod2,kLGqualMod3,kLGqualMod4,
38 kHGpedRMSMod0,kHGpedRMSMod1,kHGpedRMSMod2,kHGpedRMSMod3,kHGpedRMSMod4,
39 kLGpedRMSMod0,kLGpedRMSMod1,kLGpedRMSMod2,kLGpedRMSMod3,kLGpedRMSMod4,
40 kHGpedRMS,kLGpedRMS} ;
41 //Histograms for RecPoints control
42 enum HRPType_t {kRPmod1,kRPmod2,kRPmod3,kRPmod4,kRPmod5,
43 kRPNtot,kRPEtot,kRPSpec,kRPTime,kRPNcpv} ;
44 //Histograms for ESDs control
45 enum HESDType_t {kESDNtot,kESDEtot,kESDSpec,kESDpid} ;
46 enum HDigitType_t {kDigits=0, kDigitsMul} ;
51 AliPHOSQADataMakerRec() ; // ctor
52 AliPHOSQADataMakerRec(const AliPHOSQADataMakerRec& qadm) ;
53 AliPHOSQADataMakerRec& operator = (const AliPHOSQADataMakerRec& qadm) ;
54 virtual ~AliPHOSQADataMakerRec() {;} // dtor
57 const AliPHOSRecoParam* GetRecoParam() { return dynamic_cast<const AliPHOSRecoParam *>(fRecoParam); }
59 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
60 virtual void InitESDs() ;
61 virtual void InitDigits() ;
62 virtual void InitRecPoints() ;
63 virtual void InitRaws() ;
64 virtual void MakeESDs(AliESDEvent * esd) ;
65 virtual void MakeDigits() ;
66 virtual void MakeDigits(TTree * recpoTree) ;
67 virtual void MakeRecPoints(TTree * recpoTree) ;
68 virtual void MakeRaws(AliRawReader* rawReader) ;
69 virtual void StartOfDetectorCycle() ;
71 ClassDef(AliPHOSQADataMakerRec,1) // description
75 #endif // AliPHOSQADataMakerRec_H