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
27 AliFMDQADataMakerRec();
31 * @param qadm What to copy from
33 AliFMDQADataMakerRec(const AliFMDQADataMakerRec& qadm);
37 * @param qadm What to assign from
39 * @return Reference to this
41 AliFMDQADataMakerRec& operator = (const AliFMDQADataMakerRec& qadm) ;
45 virtual ~AliFMDQADataMakerRec();
47 * Get the half-ring index
51 * @param board Board number
52 * @param monitor Monitor
54 * @return Half ring index
56 static Int_t GetHalfringIndex(UShort_t det, Char_t ring,
57 UShort_t board, UShort_t monitor = 0);
58 static void GetHalfringFromIndex(Int_t idx,
64 static TH1* MakeADCHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
65 static TH1* MakeELossHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
68 * Called at end of monitor cycle
70 * @param TASKINDEX_t Task
71 * @param list Output list
73 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list);
77 virtual void InitESDs();
79 * Intialize for Digits
81 virtual void InitDigits();
83 * Intialize for RecPoints
85 virtual void InitRecPoints();
89 virtual void InitRaws();
93 * @param esd ESD event
95 virtual void MakeESDs(AliESDEvent * esd);
99 virtual void MakeDigits();
103 * @param digitTree Tree of digits
105 virtual void MakeDigits(TTree * digitTree);
109 * @param recpoTree Tree of RecPoints
111 virtual void MakeRecPoints(TTree * recpoTree);
115 * @param rawReader Raw reader
117 virtual void MakeRaws(AliRawReader* rawReader);
119 * Called at start of a cycle
122 virtual void StartOfDetectorCycle();
123 TClonesArray fRecPointsArray; // Rec points
124 AliFMDReconstructor* fReconstructor;
125 Bool_t fUseReconstructor;
127 ClassDef(AliFMDQADataMakerRec,0) // description
130 #endif // AliFMDQADataMakerRec_H
131 //____________________________________________________________________