Fixes for bug #49914: Compilation breaks in trunk, and bug #48629: Trunk cannot read...
[u/mrichter/AliRoot.git] / PHOS / 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
92a357bf 31 enum HRawType_t {kHGmod1,kHGmod2,kHGmod3,kHGmod4,kHGmod5,
ebde5500 32 kLGmod1,kLGmod2,kLGmod3,kLGmod4,kLGmod5,
33 kNmodLG,kNmodHG,
34 kNtotLG,kNtotHG,kEtotLG,kEtotHG,
2c832255 35 kLGtime,kHGtime,kSpecLG,kSpecHG,
36 kHGqualMod1,kHGqualMod2,kHGqualMod3,kHGqualMod4,kHGqualMod5,
7285e69f 37 kLGqualMod1,kLGqualMod2,kLGqualMod3,kLGqualMod4,kLGqualMod5,
38 kHGpedRMSMod1,kHGpedRMSMod2,kHGpedRMSMod3,kHGpedRMSMod4,kHGpedRMSMod5,
39 kLGpedRMSMod1,kLGpedRMSMod2,kLGpedRMSMod3,kLGpedRMSMod4,kLGpedRMSMod5,
40 kHGpedRMS,kLGpedRMS} ;
ebde5500 41 //Histograms for RecPoints control
92a357bf 42 enum HRPType_t {kRPmod1,kRPmod2,kRPmod3,kRPmod4,kRPmod5,
ebde5500 43 kRPNtot,kRPEtot,kRPSpec,kRPTime,kRPNcpv} ;
44 //Histograms for ESDs control
92a357bf 45 enum HESDType_t {kESDNtot,kESDEtot,kESDSpec,kESDpid} ;
ebde5500 46
47
48public:
04236e67 49 AliPHOSQADataMakerRec() ; // ctor
50 AliPHOSQADataMakerRec(const AliPHOSQADataMakerRec& qadm) ;
51 AliPHOSQADataMakerRec& operator = (const AliPHOSQADataMakerRec& qadm) ;
52 virtual ~AliPHOSQADataMakerRec() {;} // dtor
53
54private:
b8bd1ab8 55 const AliPHOSRecoParam* GetRecoParam() const { return dynamic_cast<const AliPHOSRecoParam *>(fRecoParam); }
56
4e25ac79 57 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
04236e67 58 virtual void InitESDs() ;
04236e67 59 virtual void InitRecPoints() ;
60 virtual void InitRaws() ;
04236e67 61 virtual void MakeESDs(AliESDEvent * esd) ;
04236e67 62 virtual void MakeRecPoints(TTree * recpoTree) ;
63 virtual void MakeRaws(AliRawReader* rawReader) ;
04236e67 64 virtual void StartOfDetectorCycle() ;
65
66 ClassDef(AliPHOSQADataMakerRec,1) // description
67
68};
69
70#endif // AliPHOSQADataMakerRec_H