Added QA for digits during reconstruction (Yves)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALQADataMakerRec.h
CommitLineData
94594e5d 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 ---
16class TH1F ;
17class TH1I ;
18class TObjArray ;
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
23#include "AliQADataMakerRec.h"
24
25class AliEMCALQADataMakerRec: public AliQADataMakerRec {
26
27public:
28 //Histograms for Raw data control
3fe36ccb 29 enum HRawType_t {kNsmodLG,kNsmodHG,kTimeLG,kTimeHG,
30 kSigLG,kSigHG,kNtotLG,kNtotHG,
31 kPedLG,kPedHG,
32 kPedRMSLG,kPedRMSHG} ;
601c73e3 33
94594e5d 34 //Histograms for RecPoints control
601c73e3 35 enum HRPType_t {kRecPE,kRecPM,kRecPDigM};
36
94594e5d 37 //Histograms for ESDs control
601c73e3 38 enum HESDType_t {kESDCaloClusE,kESDCaloClusM,kESDCaloCellA,kESDCaloCellM} ;
94594e5d 39
40
41public:
42 AliEMCALQADataMakerRec() ; // ctor
43 AliEMCALQADataMakerRec(const AliEMCALQADataMakerRec& qadm) ;
44 AliEMCALQADataMakerRec& operator = (const AliEMCALQADataMakerRec& qadm) ;
45 virtual ~AliEMCALQADataMakerRec() {;} // dtor
3fe36ccb 46
47 void SetSuperModules(int i) {fSuperModules = i;}; //The number of SuperModules
48 int GetSuperModules() const {return fSuperModules;}; //The number of SuperModules
94594e5d 49
50private:
4e25ac79 51 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
94594e5d 52 virtual void InitESDs() ;
44ed7a66 53 virtual void InitDigits() ;
94594e5d 54 virtual void InitRecPoints() ;
55 virtual void InitRaws() ;
56 virtual void MakeESDs(AliESDEvent * esd) ;
44ed7a66 57 virtual void MakeDigits(TClonesArray * digits) ;
58 virtual void MakeDigits(TTree * digTree) ;
94594e5d 59 virtual void MakeRecPoints(TTree * recpoTree) ;
60 virtual void MakeRaws(AliRawReader* rawReader) ;
61 virtual void StartOfDetectorCycle() ;
62
3fe36ccb 63 int fSuperModules; //The number of SuperModules activated
64
65 ClassDef(AliEMCALQADataMakerRec,2) // description
94594e5d 66
67};
68
69#endif // AliEMCALQADataMakerRec_H