Introducing event specie in QA (Yves)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQADataMakerSim.h
CommitLineData
04236e67 1#ifndef ALIPHOSQADataMakerSim_H
2#define ALIPHOSQADataMakerSim_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 "AliQADataMakerSim.h"
25
26class AliPHOSQADataMakerSim: public AliQADataMakerSim {
27
28public:
57acd2d2 29 enum HHitType_t {kHits=0, kHitsMul} ;
30 enum HDigitType_t {kDigits=0, kDigitsMul} ;
31 enum HSDigitType_t {kSDigits=0, kSDigitsMul} ;
32
04236e67 33 AliPHOSQADataMakerSim() ; // ctor
34 AliPHOSQADataMakerSim(const AliPHOSQADataMakerSim& qadm) ;
35 AliPHOSQADataMakerSim& operator = (const AliPHOSQADataMakerSim& qadm) ;
36 virtual ~AliPHOSQADataMakerSim() {;} // dtor
37
38private:
57acd2d2 39 virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t, TObjArray ** list) ;
04236e67 40 virtual void InitHits() ;
41 virtual void InitDigits() ;
42 virtual void InitSDigits() ;
94467d8c 43 using AliQADataMakerSim::MakeHits;
44 void MakeHits() ;
04236e67 45 virtual void MakeHits(TTree * hitTree) ;
46 virtual void MakeDigits(TClonesArray * digits) ;
47 virtual void MakeDigits(TTree * digitTree) ;
48 virtual void MakeSDigits(TClonesArray * sigits) ;
49 virtual void MakeSDigits(TTree * sigitTree) ;
50 virtual void StartOfDetectorCycle() ;
51
8d8258f6 52private:
53 TClonesArray * fHits; //!Array of PHOS hits
54
55 ClassDef(AliPHOSQADataMakerSim,2) // description
04236e67 56
57};
58
59#endif // AliPHOSQADataMakerSim_H