]>
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: | |
550157b2 | 24 | enum { |
25 | kResetBit = BIT(23) | |
26 | }; | |
09b6c804 | 27 | /** |
28 | * Constructor | |
29 | */ | |
c9dd1c4d | 30 | AliFMDQADataMakerRec(); |
09b6c804 | 31 | /** |
32 | * Copy constructor | |
33 | * | |
34 | * @param qadm What to copy from | |
35 | */ | |
a7e41e8d | 36 | AliFMDQADataMakerRec(const AliFMDQADataMakerRec& qadm); |
09b6c804 | 37 | /** |
38 | * Assignment operator | |
39 | * | |
40 | * @param qadm What to assign from | |
41 | * | |
42 | * @return Reference to this | |
43 | */ | |
a7e41e8d | 44 | AliFMDQADataMakerRec& operator = (const AliFMDQADataMakerRec& qadm) ; |
09b6c804 | 45 | /** |
46 | * Destrcutor | |
47 | */ | |
9bd2ccc2 | 48 | virtual ~AliFMDQADataMakerRec(); |
a3e1fdcc | 49 | /** |
50 | * Get the half-ring index | |
51 | * | |
52 | * @param det Detector | |
53 | * @param ring Ring | |
54 | * @param board Board number | |
55 | * @param monitor Monitor | |
56 | * | |
57 | * @return Half ring index | |
58 | */ | |
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, | |
62 | UShort_t& det, | |
63 | Char_t& ring, | |
64 | UShort_t& board, | |
65 | UShort_t& monitor); | |
ffa78f64 | 66 | private: |
05e5e0c1 | 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); | |
69 | ||
09b6c804 | 70 | /** |
71 | * Called at end of monitor cycle | |
72 | * | |
73 | * @param TASKINDEX_t Task | |
74 | * @param list Output list | |
75 | */ | |
4e25ac79 | 76 | virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list); |
09b6c804 | 77 | /** |
78 | * Intialize for ESD | |
79 | */ | |
c9dd1c4d | 80 | virtual void InitESDs(); |
09b6c804 | 81 | /** |
82 | * Intialize for Digits | |
83 | */ | |
44ed7a66 | 84 | virtual void InitDigits(); |
09b6c804 | 85 | /** |
86 | * Intialize for RecPoints | |
87 | */ | |
c9dd1c4d | 88 | virtual void InitRecPoints(); |
09b6c804 | 89 | /** |
90 | * Initialise for raw | |
91 | */ | |
c9dd1c4d | 92 | virtual void InitRaws(); |
09b6c804 | 93 | /** |
94 | * Analyse ESD event | |
95 | * | |
96 | * @param esd ESD event | |
97 | */ | |
c9dd1c4d | 98 | virtual void MakeESDs(AliESDEvent * esd); |
09b6c804 | 99 | /** |
100 | * Analyse digits | |
101 | */ | |
6252ceeb | 102 | virtual void MakeDigits(); |
09b6c804 | 103 | /** |
104 | * Analyse digits | |
105 | * | |
106 | * @param digitTree Tree of digits | |
107 | */ | |
44ed7a66 | 108 | virtual void MakeDigits(TTree * digitTree); |
09b6c804 | 109 | /** |
110 | * Analyse rec points | |
111 | * | |
112 | * @param recpoTree Tree of RecPoints | |
113 | */ | |
c9dd1c4d | 114 | virtual void MakeRecPoints(TTree * recpoTree); |
09b6c804 | 115 | /** |
116 | * Analyse raw | |
117 | * | |
118 | * @param rawReader Raw reader | |
119 | */ | |
c9dd1c4d | 120 | virtual void MakeRaws(AliRawReader* rawReader); |
09b6c804 | 121 | /** |
122 | * Called at start of a cycle | |
123 | * | |
124 | */ | |
c9dd1c4d | 125 | virtual void StartOfDetectorCycle(); |
09b6c804 | 126 | TClonesArray fRecPointsArray; // Rec points |
1306ba55 | 127 | AliFMDReconstructor* fReconstructor; |
128 | Bool_t fUseReconstructor; | |
05e5e0c1 | 129 | |
91eabfdd | 130 | ClassDef(AliFMDQADataMakerRec,0) // description |
ffa78f64 | 131 | }; |
c9dd1c4d | 132 | |
133 | #endif // AliFMDQADataMakerRec_H | |
134 | //____________________________________________________________________ | |
135 | // | |
136 | // Local Variables: | |
137 | // mode: c++ | |
138 | // End: | |
139 | // | |
140 |