]>
Commit | Line | Data |
---|---|---|
c9dd1c4d | 1 | #ifndef ALIFMDQADATAMAKERREC_H |
2 | #define ALIFMDQADATAMAKERREC_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights | |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
8 | #include "AliQADataMakerRec.h" | |
56236ce9 | 9 | #include "TClonesArray.h" |
c9dd1c4d | 10 | class TH1F; |
11 | class TH1I; | |
12 | class TList; | |
13 | ||
14 | ||
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 | //_____________________________________________________________________ | |
20 | ||
ffa78f64 | 21 | class AliFMDQADataMakerRec: public AliQADataMakerRec |
22 | { | |
23 | public: | |
09b6c804 | 24 | /** |
25 | * Constructor | |
26 | */ | |
c9dd1c4d | 27 | AliFMDQADataMakerRec(); |
09b6c804 | 28 | /** |
29 | * Copy constructor | |
30 | * | |
31 | * @param qadm What to copy from | |
32 | */ | |
a7e41e8d | 33 | AliFMDQADataMakerRec(const AliFMDQADataMakerRec& qadm); |
09b6c804 | 34 | /** |
35 | * Assignment operator | |
36 | * | |
37 | * @param qadm What to assign from | |
38 | * | |
39 | * @return Reference to this | |
40 | */ | |
a7e41e8d | 41 | AliFMDQADataMakerRec& operator = (const AliFMDQADataMakerRec& qadm) ; |
09b6c804 | 42 | /** |
43 | * Destrcutor | |
44 | */ | |
9bd2ccc2 | 45 | virtual ~AliFMDQADataMakerRec(); |
ffa78f64 | 46 | private: |
05e5e0c1 | 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); | |
49 | ||
09b6c804 | 50 | /** |
51 | * Called at end of monitor cycle | |
52 | * | |
53 | * @param TASKINDEX_t Task | |
54 | * @param list Output list | |
55 | */ | |
4e25ac79 | 56 | virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list); |
09b6c804 | 57 | /** |
58 | * Intialize for ESD | |
59 | */ | |
c9dd1c4d | 60 | virtual void InitESDs(); |
09b6c804 | 61 | /** |
62 | * Intialize for Digits | |
63 | */ | |
44ed7a66 | 64 | virtual void InitDigits(); |
09b6c804 | 65 | /** |
66 | * Intialize for RecPoints | |
67 | */ | |
c9dd1c4d | 68 | virtual void InitRecPoints(); |
09b6c804 | 69 | /** |
70 | * Initialise for raw | |
71 | */ | |
c9dd1c4d | 72 | virtual void InitRaws(); |
09b6c804 | 73 | /** |
74 | * Analyse ESD event | |
75 | * | |
76 | * @param esd ESD event | |
77 | */ | |
c9dd1c4d | 78 | virtual void MakeESDs(AliESDEvent * esd); |
09b6c804 | 79 | /** |
80 | * Analyse digits | |
81 | */ | |
6252ceeb | 82 | virtual void MakeDigits(); |
09b6c804 | 83 | /** |
84 | * Analyse digits | |
85 | * | |
86 | * @param digitTree Tree of digits | |
87 | */ | |
44ed7a66 | 88 | virtual void MakeDigits(TTree * digitTree); |
09b6c804 | 89 | /** |
90 | * Analyse rec points | |
91 | * | |
92 | * @param recpoTree Tree of RecPoints | |
93 | */ | |
c9dd1c4d | 94 | virtual void MakeRecPoints(TTree * recpoTree); |
09b6c804 | 95 | /** |
96 | * Analyse raw | |
97 | * | |
98 | * @param rawReader Raw reader | |
99 | */ | |
c9dd1c4d | 100 | virtual void MakeRaws(AliRawReader* rawReader); |
09b6c804 | 101 | /** |
102 | * Called at start of a cycle | |
103 | * | |
104 | */ | |
c9dd1c4d | 105 | virtual void StartOfDetectorCycle(); |
09b6c804 | 106 | /** |
107 | * Get the half-ring index | |
108 | * | |
109 | * @param det Detector | |
110 | * @param ring Ring | |
111 | * @param board Board number | |
112 | * @param monitor Monitor | |
113 | * | |
114 | * @return Half ring index | |
115 | */ | |
116 | Int_t GetHalfringIndex(UShort_t det, Char_t ring, | |
117 | UShort_t board, UShort_t monitor = 0) const; | |
09b6c804 | 118 | TClonesArray fRecPointsArray; // Rec points |
05e5e0c1 | 119 | |
91eabfdd | 120 | ClassDef(AliFMDQADataMakerRec,0) // description |
ffa78f64 | 121 | }; |
c9dd1c4d | 122 | |
123 | #endif // AliFMDQADataMakerRec_H | |
124 | //____________________________________________________________________ | |
125 | // | |
126 | // Local Variables: | |
127 | // mode: c++ | |
128 | // End: | |
129 | // | |
130 |