1 #ifndef ALIFMDQADATAMAKERREC_H
2 #define ALIFMDQADATAMAKERREC_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 #include "AliQADataMakerRec.h"
9 #include "TClonesArray.h"
13 class AliFMDReconstructor;
15 //_____________________________________________________________________
16 // This class implements the AliQADataMakerRec for the FMD. Some
17 // functions are not implemented yet.
18 // Author : Hans Hjersing Dalsgaard, hans.dalsgaard@cern.ch
19 //_____________________________________________________________________
21 class AliFMDQADataMakerRec: public AliQADataMakerRec
30 AliFMDQADataMakerRec();
34 * @param qadm What to copy from
36 AliFMDQADataMakerRec(const AliFMDQADataMakerRec& qadm);
40 * @param qadm What to assign from
42 * @return Reference to this
44 AliFMDQADataMakerRec& operator = (const AliFMDQADataMakerRec& qadm) ;
48 virtual ~AliFMDQADataMakerRec();
50 * Get the half-ring index
54 * @param board Board number
55 * @param monitor Monitor
57 * @return Half ring index
59 static Int_t GetHalfringIndex(UShort_t det, Char_t ring,
60 UShort_t board, UShort_t monitor = 0);
61 static void GetHalfringFromIndex(Int_t idx,
67 static TH1* MakeADCHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
68 static TH1* MakeELossHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
71 * Called at end of monitor cycle
73 * @param TASKINDEX_t Task
74 * @param list Output list
76 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list);
80 virtual void InitESDs();
82 * Intialize for Digits
84 virtual void InitDigits();
86 * Intialize for RecPoints
88 virtual void InitRecPoints();
92 virtual void InitRaws();
96 * @param esd ESD event
98 virtual void MakeESDs(AliESDEvent * esd);
102 virtual void MakeDigits();
106 * @param digitTree Tree of digits
108 virtual void MakeDigits(TTree * digitTree);
112 * @param recpoTree Tree of RecPoints
114 virtual void MakeRecPoints(TTree * recpoTree);
118 * @param rawReader Raw reader
120 virtual void MakeRaws(AliRawReader* rawReader);
122 * Called at start of a cycle
125 virtual void StartOfDetectorCycle();
126 TClonesArray fRecPointsArray; // Rec points
127 AliFMDReconstructor* fReconstructor;
128 Bool_t fUseReconstructor;
130 ClassDef(AliFMDQADataMakerRec,0) // description
133 #endif // AliFMDQADataMakerRec_H
134 //____________________________________________________________________