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"
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 static TH1* MakeADCHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
48 static TH1* MakeELossHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
51 * Called at end of monitor cycle
53 * @param TASKINDEX_t Task
54 * @param list Output list
56 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list);
60 virtual void InitESDs();
62 * Intialize for Digits
64 virtual void InitDigits();
66 * Intialize for RecPoints
68 virtual void InitRecPoints();
72 virtual void InitRaws();
76 * @param esd ESD event
78 virtual void MakeESDs(AliESDEvent * esd);
82 virtual void MakeDigits();
86 * @param digitTree Tree of digits
88 virtual void MakeDigits(TTree * digitTree);
92 * @param recpoTree Tree of RecPoints
94 virtual void MakeRecPoints(TTree * recpoTree);
98 * @param rawReader Raw reader
100 virtual void MakeRaws(AliRawReader* rawReader);
102 * Called at start of a cycle
105 virtual void StartOfDetectorCycle();
107 * Get the half-ring index
109 * @param det Detector
111 * @param board Board number
112 * @param monitor Monitor
114 * @return Half ring index
116 Int_t GetHalfringIndex(UShort_t det, Char_t ring,
117 UShort_t board, UShort_t monitor = 0) const;
118 TClonesArray fRecPointsArray; // Rec points
120 ClassDef(AliFMDQADataMakerRec,0) // description
123 #endif // AliFMDQADataMakerRec_H
124 //____________________________________________________________________