]>
Commit | Line | Data |
---|---|---|
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 */ | |
5 | ||
6 | /* | |
7 | Produces the data needed to calculate the quality assurance. | |
8 | All data must be mergeable objects. | |
9 | ||
10 | Based on PHOS code written by | |
11 | Y. Schutz CERN July 2007 | |
12 | */ | |
13 | ||
14 | ||
15 | // --- ROOT system --- | |
16 | class TH1F ; | |
17 | class TH1I ; | |
18 | class TObjArray ; | |
19 | ||
20 | // --- Standard library --- | |
21 | ||
22 | // --- AliRoot header files --- | |
23 | #include "AliQADataMakerRec.h" | |
24 | ||
25 | class AliEMCALQADataMakerRec: public AliQADataMakerRec { | |
26 | ||
27 | public: | |
28 | //Histograms for Raw data control | |
29 | enum HRawType_t {kNsmodLG,kNsmodHG,kTimeLG,kTimeHG, | |
30 | kSigLG,kSigHG,kNtotLG,kNtotHG, | |
31 | kPedLG,kPedHG, | |
32 | kPedRMSLG,kPedRMSHG} ; | |
33 | ||
34 | //Histograms for RecPoints control | |
35 | enum HRPType_t {kRecPE,kRecPM,kRecPDigM}; | |
36 | ||
37 | //Histograms for ESDs control | |
38 | enum HESDType_t {kESDCaloClusE,kESDCaloClusM,kESDCaloCellA,kESDCaloCellM} ; | |
39 | ||
40 | ||
41 | public: | |
42 | AliEMCALQADataMakerRec() ; // ctor | |
43 | AliEMCALQADataMakerRec(const AliEMCALQADataMakerRec& qadm) ; | |
44 | AliEMCALQADataMakerRec& operator = (const AliEMCALQADataMakerRec& qadm) ; | |
45 | virtual ~AliEMCALQADataMakerRec() {;} // dtor | |
46 | ||
47 | void SetSuperModules(int i) {fSuperModules = i;}; //The number of SuperModules | |
48 | int GetSuperModules() const {return fSuperModules;}; //The number of SuperModules | |
49 | ||
50 | private: | |
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() ; | |
62 | ||
63 | int fSuperModules; //The number of SuperModules activated | |
64 | ||
65 | ClassDef(AliEMCALQADataMakerRec,2) // description | |
66 | ||
67 | }; | |
68 | ||
69 | #endif // AliEMCALQADataMakerRec_H |