Reading muon trigger scalers with the DA of the muon trigger and transfer
[u/mrichter/AliRoot.git] / PHOS / PHOSrec / AliPHOSQADataMakerRec.h
CommitLineData
04236e67 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 */
5
6
7/* $Id$ */
8
9/*
10 Produces the data needed to calculate the quality assurance.
11 All data must be mergeable objects.
12 Y. Schutz CERN July 2007
13*/
14
15
16// --- ROOT system ---
17class TH1F ;
18class TH1I ;
19class TObjArray ;
20
21// --- Standard library ---
22
23// --- AliRoot header files ---
24#include "AliQADataMakerRec.h"
b8bd1ab8 25#include "AliPHOSRecoParam.h"
04236e67 26
27class AliPHOSQADataMakerRec: public AliQADataMakerRec {
28
29public:
ebde5500 30 //Histograms for Raw data control
80f1c279 31 enum HRawType_t {kHGmod0,kHGmod1,kHGmod2,kHGmod3,kHGmod4,
32 kLGmod0,kLGmod1,kLGmod2,kLGmod3,kLGmod4,
46d783ef 33 kNmodLG,kNmodHG,kNRCUHG,kNRCUHGnorm,
80f1c279 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,
46d783ef 40 kHGpedRMS,kLGpedRMS,
41 kNtotHG_1_0,kNtotHG_1_1,kNtotHG_1_2,kNtotHG_1_3,
42 kNtotHG_2_0,kNtotHG_2_1,kNtotHG_2_2,kNtotHG_2_3,
43 kNtotHG_3_0,kNtotHG_3_1,kNtotHG_3_2,kNtotHG_3_3,} ;
ebde5500 44 //Histograms for RecPoints control
92a357bf 45 enum HRPType_t {kRPmod1,kRPmod2,kRPmod3,kRPmod4,kRPmod5,
ebde5500 46 kRPNtot,kRPEtot,kRPSpec,kRPTime,kRPNcpv} ;
47 //Histograms for ESDs control
92a357bf 48 enum HESDType_t {kESDNtot,kESDEtot,kESDSpec,kESDpid} ;
44ed7a66 49 enum HDigitType_t {kDigits=0, kDigitsMul} ;
50
ebde5500 51
52
53public:
04236e67 54 AliPHOSQADataMakerRec() ; // ctor
55 AliPHOSQADataMakerRec(const AliPHOSQADataMakerRec& qadm) ;
56 AliPHOSQADataMakerRec& operator = (const AliPHOSQADataMakerRec& qadm) ;
57 virtual ~AliPHOSQADataMakerRec() {;} // dtor
58
59private:
d08837c6 60 const AliPHOSRecoParam* GetRecoParam() { return dynamic_cast<const AliPHOSRecoParam *>(fRecoParam); }
b8bd1ab8 61
4e25ac79 62 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
04236e67 63 virtual void InitESDs() ;
44ed7a66 64 virtual void InitDigits() ;
04236e67 65 virtual void InitRecPoints() ;
66 virtual void InitRaws() ;
04236e67 67 virtual void MakeESDs(AliESDEvent * esd) ;
6252ceeb 68 virtual void MakeDigits() ;
44ed7a66 69 virtual void MakeDigits(TTree * recpoTree) ;
04236e67 70 virtual void MakeRecPoints(TTree * recpoTree) ;
71 virtual void MakeRaws(AliRawReader* rawReader) ;
04236e67 72 virtual void StartOfDetectorCycle() ;
73
74 ClassDef(AliPHOSQADataMakerRec,1) // description
75
76};
77
78#endif // AliPHOSQADataMakerRec_H