Coverity fix
[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
80f1c279 31 enum HRawType_t {kHGmod0,kHGmod1,kHGmod2,kHGmod3,kHGmod4,
32 kLGmod0,kLGmod1,kLGmod2,kLGmod3,kLGmod4,
33 kNmodLG,kNmodHG,
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} ;
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} ;
44ed7a66 46 enum HDigitType_t {kDigits=0, kDigitsMul} ;
47
ebde5500 48
49
50public:
04236e67 51 AliPHOSQADataMakerRec() ; // ctor
52 AliPHOSQADataMakerRec(const AliPHOSQADataMakerRec& qadm) ;
53 AliPHOSQADataMakerRec& operator = (const AliPHOSQADataMakerRec& qadm) ;
54 virtual ~AliPHOSQADataMakerRec() {;} // dtor
55
56private:
d08837c6 57 const AliPHOSRecoParam* GetRecoParam() { return dynamic_cast<const AliPHOSRecoParam *>(fRecoParam); }
b8bd1ab8 58
4e25ac79 59 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
04236e67 60 virtual void InitESDs() ;
44ed7a66 61 virtual void InitDigits() ;
04236e67 62 virtual void InitRecPoints() ;
63 virtual void InitRaws() ;
04236e67 64 virtual void MakeESDs(AliESDEvent * esd) ;
6252ceeb 65 virtual void MakeDigits() ;
44ed7a66 66 virtual void MakeDigits(TTree * recpoTree) ;
04236e67 67 virtual void MakeRecPoints(TTree * recpoTree) ;
68 virtual void MakeRaws(AliRawReader* rawReader) ;
04236e67 69 virtual void StartOfDetectorCycle() ;
70
71 ClassDef(AliPHOSQADataMakerRec,1) // description
72
73};
74
75#endif // AliPHOSQADataMakerRec_H