]>
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; | |
1306ba55 | 13 | class AliFMDReconstructor; |
c9dd1c4d | 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(); |
a3e1fdcc | 46 | /** |
47 | * Get the half-ring index | |
48 | * | |
49 | * @param det Detector | |
50 | * @param ring Ring | |
51 | * @param board Board number | |
52 | * @param monitor Monitor | |
53 | * | |
54 | * @return Half ring index | |
55 | */ | |
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, | |
59 | UShort_t& det, | |
60 | Char_t& ring, | |
61 | UShort_t& board, | |
62 | UShort_t& monitor); | |
ffa78f64 | 63 | private: |
05e5e0c1 | 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); | |
66 | ||
09b6c804 | 67 | /** |
68 | * Called at end of monitor cycle | |
69 | * | |
70 | * @param TASKINDEX_t Task | |
71 | * @param list Output list | |
72 | */ | |
4e25ac79 | 73 | virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list); |
09b6c804 | 74 | /** |
75 | * Intialize for ESD | |
76 | */ | |
c9dd1c4d | 77 | virtual void InitESDs(); |
09b6c804 | 78 | /** |
79 | * Intialize for Digits | |
80 | */ | |
44ed7a66 | 81 | virtual void InitDigits(); |
09b6c804 | 82 | /** |
83 | * Intialize for RecPoints | |
84 | */ | |
c9dd1c4d | 85 | virtual void InitRecPoints(); |
09b6c804 | 86 | /** |
87 | * Initialise for raw | |
88 | */ | |
c9dd1c4d | 89 | virtual void InitRaws(); |
09b6c804 | 90 | /** |
91 | * Analyse ESD event | |
92 | * | |
93 | * @param esd ESD event | |
94 | */ | |
c9dd1c4d | 95 | virtual void MakeESDs(AliESDEvent * esd); |
09b6c804 | 96 | /** |
97 | * Analyse digits | |
98 | */ | |
6252ceeb | 99 | virtual void MakeDigits(); |
09b6c804 | 100 | /** |
101 | * Analyse digits | |
102 | * | |
103 | * @param digitTree Tree of digits | |
104 | */ | |
44ed7a66 | 105 | virtual void MakeDigits(TTree * digitTree); |
09b6c804 | 106 | /** |
107 | * Analyse rec points | |
108 | * | |
109 | * @param recpoTree Tree of RecPoints | |
110 | */ | |
c9dd1c4d | 111 | virtual void MakeRecPoints(TTree * recpoTree); |
09b6c804 | 112 | /** |
113 | * Analyse raw | |
114 | * | |
115 | * @param rawReader Raw reader | |
116 | */ | |
c9dd1c4d | 117 | virtual void MakeRaws(AliRawReader* rawReader); |
09b6c804 | 118 | /** |
119 | * Called at start of a cycle | |
120 | * | |
121 | */ | |
c9dd1c4d | 122 | virtual void StartOfDetectorCycle(); |
09b6c804 | 123 | TClonesArray fRecPointsArray; // Rec points |
1306ba55 | 124 | AliFMDReconstructor* fReconstructor; |
125 | Bool_t fUseReconstructor; | |
05e5e0c1 | 126 | |
91eabfdd | 127 | ClassDef(AliFMDQADataMakerRec,0) // description |
ffa78f64 | 128 | }; |
c9dd1c4d | 129 | |
130 | #endif // AliFMDQADataMakerRec_H | |
131 | //____________________________________________________________________ | |
132 | // | |
133 | // Local Variables: | |
134 | // mode: c++ | |
135 | // End: | |
136 | // | |
137 |