]>
Commit | Line | Data |
---|---|---|
a34b6698 | 1 | \section{Ali\-HLTPHOSRcu\-Histogram\-Producer Class Reference} |
2 | \label{classAliHLTPHOSRcuHistogramProducer}\index{AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}} | |
3 | {\tt \#include $<$Ali\-HLTPHOSRcu\-Histogram\-Producer.h$>$} | |
4 | ||
5 | \subsection*{Public Member Functions} | |
6 | \begin{CompactItemize} | |
7 | \item | |
8 | {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} () | |
9 | \item | |
10 | {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} ({\bf Ali\-HLTUInt8\_\-t} module\-ID, {\bf Ali\-HLTUInt8\_\-t} rcu\-X, {\bf Ali\-HLTUInt8\_\-t} rcu\-Z) | |
11 | \item | |
12 | virtual {\bf $\sim$Ali\-HLTPHOSRcu\-Histogram\-Producer} () | |
13 | \item | |
14 | int {\bf Get\-Equippment\-Id} () | |
15 | \item | |
16 | const {\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} \& {\bf Get\-Cell\-Accumulated\-Energies} () | |
17 | \item | |
18 | int {\bf Increment\-Event\-Counter} () | |
19 | \item | |
20 | void {\bf Init} () | |
21 | \item | |
22 | void {\bf Set\-Equippment\-Id} (int id) | |
23 | \item | |
24 | void {\bf Set\-Rcu\-X} ({\bf Ali\-HLTUInt8\_\-t} X) | |
25 | \item | |
26 | void {\bf Set\-Rcu\-Z} ({\bf Ali\-HLTUInt8\_\-t} Z) | |
27 | \item | |
28 | void {\bf Set\-Module\-ID} ({\bf Ali\-HLTUInt8\_\-t} module\-ID) | |
29 | \item | |
30 | void {\bf Fill\-Energy} ({\bf Ali\-HLTUInt8\_\-t} x, {\bf Ali\-HLTUInt8\_\-t} z, {\bf Ali\-HLTUInt8\_\-t} gain, float energy) | |
31 | \item | |
32 | void {\bf Fill\-Time} ({\bf Ali\-HLTUInt8\_\-t} x, {\bf Ali\-HLTUInt8\_\-t} z, {\bf Ali\-HLTUInt8\_\-t} gain, float time) | |
33 | \item | |
34 | void {\bf Reset} () | |
35 | \item | |
36 | void {\bf Write\-Energy\-Histograms} () | |
37 | \end{CompactItemize} | |
38 | \subsection*{Private Member Functions} | |
39 | \begin{CompactItemize} | |
40 | \item | |
41 | {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} \&) | |
42 | \item | |
43 | {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} \&) | |
44 | \end{CompactItemize} | |
45 | \subsection*{Private Attributes} | |
46 | \begin{CompactItemize} | |
47 | \item | |
48 | TH1F $\ast$ {\bf f\-Energy\-Histogram\-Ptrs} [N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS] | |
49 | \item | |
50 | TH1F $\ast$ {\bf f\-Timing\-Histogram\-Ptrs} [N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS] | |
51 | \item | |
52 | Float\_\-t {\bf f\-Energy\-Average\-Values} [N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS] | |
53 | \item | |
54 | Double\_\-t {\bf f\-Accumulated\-Values} [N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS] | |
55 | \item | |
56 | Float\_\-t {\bf f\-Timing\-Average\-Values} [N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS] | |
57 | \item | |
58 | {\bf Ali\-HLTUInt32\_\-t} {\bf f\-Hits} [N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS] | |
59 | \item | |
60 | int {\bf f\-Event\-Count} | |
61 | \item | |
62 | {\bf Ali\-HLTUInt32\_\-t} {\bf f\-Equippment\-ID} | |
63 | \item | |
64 | Double\_\-t {\bf f\-Tmp\-Channel\-Data} [ALTRO\_\-MAX\_\-SAMPLES] | |
65 | \item | |
66 | {\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} {\bf f\-Cell\-Acc\-Energy} | |
67 | \item | |
68 | {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Module\-ID} | |
69 | \item | |
70 | {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-X} | |
71 | \item | |
72 | {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-Z} | |
73 | \end{CompactItemize} | |
74 | ||
75 | ||
76 | \subsection{Constructor \& Destructor Documentation} | |
77 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}} | |
78 | \index{AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
79 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer::Ali\-HLTPHOSRcu\-Histogram\-Producer ()}\label{classAliHLTPHOSRcuHistogramProducer_a0} | |
80 | ||
81 | ||
82 | ||
83 | ||
84 | Definition at line 31 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
85 | ||
86 | \footnotesize\begin{verbatim}31 : fEventCount(0), fEquippmentID(0), fModuleID(0), fRcuX(0), fRcuZ(0) | |
87 | 32 { | |
88 | 33 cout << "WARNING: You cannot invoke the AliHLTPHOSRcuHistogramProducer without arguments" << endl; | |
89 | 34 cout << "Usage AliHLTPHOSRcuHistogramProducer(ModuleID, X. Z)" << endl; | |
90 | 35 // Reset(); | |
91 | 36 // Init(); | |
92 | 37 } | |
93 | \end{verbatim}\normalsize | |
94 | ||
95 | ||
96 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}} | |
97 | \index{AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
98 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer::Ali\-HLTPHOSRcu\-Histogram\-Producer ({\bf Ali\-HLTUInt8\_\-t} {\em module\-ID}, {\bf Ali\-HLTUInt8\_\-t} {\em rcu\-X}, {\bf Ali\-HLTUInt8\_\-t} {\em rcu\-Z})}\label{classAliHLTPHOSRcuHistogramProducer_a1} | |
99 | ||
100 | ||
101 | ||
102 | ||
103 | Definition at line 39 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
104 | ||
105 | References Init(), Set\-Module\-ID(), Set\-Rcu\-X(), and Set\-Rcu\-Z(). | |
106 | ||
107 | \footnotesize\begin{verbatim}40 { | |
108 | 41 SetModuleID(moduleID); | |
109 | 42 SetRcuX(rcuX); | |
110 | 43 SetRcuZ(rcuZ); | |
111 | 44 Init(); | |
112 | 45 } | |
113 | \end{verbatim}\normalsize | |
114 | ||
115 | ||
116 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!~AliHLTPHOSRcuHistogramProducer@{$\sim$AliHLTPHOSRcuHistogramProducer}} | |
117 | \index{~AliHLTPHOSRcuHistogramProducer@{$\sim$AliHLTPHOSRcuHistogramProducer}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
118 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer::$\sim${\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} ()\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRcuHistogramProducer_a2} | |
119 | ||
120 | ||
121 | ||
122 | ||
123 | Definition at line 47 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
124 | ||
125 | \footnotesize\begin{verbatim}48 { | |
126 | 49 | |
127 | 50 } | |
128 | \end{verbatim}\normalsize | |
129 | ||
130 | ||
131 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}} | |
132 | \index{AliHLTPHOSRcuHistogramProducer@{AliHLTPHOSRcuHistogramProducer}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
133 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer::Ali\-HLTPHOSRcu\-Histogram\-Producer (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} \&)\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_d0} | |
134 | ||
135 | ||
136 | ||
137 | ||
138 | \subsection{Member Function Documentation} | |
139 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!FillEnergy@{FillEnergy}} | |
140 | \index{FillEnergy@{FillEnergy}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
141 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Fill\-Energy ({\bf Ali\-HLTUInt8\_\-t} {\em x}, {\bf Ali\-HLTUInt8\_\-t} {\em z}, {\bf Ali\-HLTUInt8\_\-t} {\em gain}, float {\em energy})}\label{classAliHLTPHOSRcuHistogramProducer_a11} | |
142 | ||
143 | ||
144 | ||
145 | ||
146 | Definition at line 133 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
147 | ||
148 | References Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Accumulated\-Energies, f\-Cell\-Acc\-Energy, f\-Energy\-Histogram\-Ptrs, and Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Hits. | |
149 | ||
150 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Do\-Event(). | |
151 | ||
152 | \footnotesize\begin{verbatim}134 { | |
153 | 135 fCellAccEnergy.fAccumulatedEnergies[x][z][gain] += energy; | |
154 | 136 fCellAccEnergy.fHits[x][z][gain] ++; | |
155 | 137 fEnergyHistogramPtrs[x][z][gain]->Fill(energy); | |
156 | 138 } | |
157 | \end{verbatim}\normalsize | |
158 | ||
159 | ||
160 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!FillTime@{FillTime}} | |
161 | \index{FillTime@{FillTime}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
162 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Fill\-Time ({\bf Ali\-HLTUInt8\_\-t} {\em x}, {\bf Ali\-HLTUInt8\_\-t} {\em z}, {\bf Ali\-HLTUInt8\_\-t} {\em gain}, float {\em time})}\label{classAliHLTPHOSRcuHistogramProducer_a12} | |
163 | ||
164 | ||
165 | ||
166 | ||
167 | Definition at line 142 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
168 | ||
169 | References f\-Timing\-Histogram\-Ptrs. | |
170 | ||
171 | \footnotesize\begin{verbatim}143 { | |
172 | 144 fTimingHistogramPtrs[x][z][gain]->Fill(time); | |
173 | 145 } | |
174 | \end{verbatim}\normalsize | |
175 | ||
176 | ||
177 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!GetCellAccumulatedEnergies@{GetCellAccumulatedEnergies}} | |
178 | \index{GetCellAccumulatedEnergies@{GetCellAccumulatedEnergies}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
179 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} \& Ali\-HLTPHOSRcu\-Histogram\-Producer::Get\-Cell\-Accumulated\-Energies ()}\label{classAliHLTPHOSRcuHistogramProducer_a4} | |
180 | ||
181 | ||
182 | ||
183 | ||
184 | Definition at line 148 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
185 | ||
186 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Do\-Event(). | |
187 | ||
188 | \footnotesize\begin{verbatim}149 { | |
189 | 150 // return &fCellAccEnergy ; | |
190 | 151 return fCellAccEnergy ; | |
191 | 152 } | |
192 | \end{verbatim}\normalsize | |
193 | ||
194 | ||
195 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!GetEquippmentId@{GetEquippmentId}} | |
196 | \index{GetEquippmentId@{GetEquippmentId}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
197 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer::Get\-Equippment\-Id ()}\label{classAliHLTPHOSRcuHistogramProducer_a3} | |
198 | ||
199 | ||
200 | ||
201 | ||
202 | Definition at line 96 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
203 | ||
204 | \footnotesize\begin{verbatim}97 { | |
205 | 98 return fEquippmentID; | |
206 | 99 } | |
207 | \end{verbatim}\normalsize | |
208 | ||
209 | ||
210 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!IncrementEventCounter@{IncrementEventCounter}} | |
211 | \index{IncrementEventCounter@{IncrementEventCounter}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
212 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer::Increment\-Event\-Counter ()}\label{classAliHLTPHOSRcuHistogramProducer_a5} | |
213 | ||
214 | ||
215 | ||
216 | ||
217 | Definition at line 155 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
218 | ||
219 | References f\-Event\-Count. | |
220 | ||
221 | \footnotesize\begin{verbatim}156 { | |
222 | 157 fEventCount ++; | |
223 | 158 return fEventCount; | |
224 | 159 } | |
225 | \end{verbatim}\normalsize | |
226 | ||
227 | ||
228 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!Init@{Init}} | |
229 | \index{Init@{Init}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
230 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Init ()}\label{classAliHLTPHOSRcuHistogramProducer_a6} | |
231 | ||
232 | ||
233 | ||
234 | ||
235 | Definition at line 54 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
236 | ||
237 | References Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Accumulated\-Energies, f\-Accumulated\-Values, f\-Cell\-Acc\-Energy, f\-Energy\-Average\-Values, f\-Energy\-Histogram\-Ptrs, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Hits, f\-Hits, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Module\-ID, f\-Module\-ID, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Rcu\-X, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Rcu\-Z, f\-Timing\-Average\-Values, f\-Timing\-Histogram\-Ptrs, N\_\-BINS, N\_\-XCOLUMNS\_\-RCU, N\_\-ZROWS\_\-RCU, XBIN\_\-LOW, and XBIN\_\-UP. | |
238 | ||
239 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer(). | |
240 | ||
241 | \footnotesize\begin{verbatim}55 { | |
242 | 56 char tmpHistoName[256]; | |
243 | 57 int geomx; | |
244 | 58 int geomz; | |
245 | 59 | |
246 | 60 | |
247 | 61 for(int x = 0; x < N_XCOLUMNS_RCU; x ++) | |
248 | 62 { | |
249 | 63 for(int z = 0; z < N_ZROWS_RCU; z ++) | |
250 | 64 { | |
251 | 65 for(int gain = 0; gain < N_GAINS; gain ++) | |
252 | 66 { | |
253 | 67 geomx = x + N_XCOLUMNS_RCU*fRcuX; | |
254 | 68 geomz = z + N_ZROWS_RCU*fRcuZ; | |
255 | 69 | |
256 | 70 fEnergyAverageValues[x][z][gain] = 0; | |
257 | 71 fAccumulatedValues[x][z][gain] = 0; | |
258 | 72 fTimingAverageValues[x][z][gain] = 0; | |
259 | 73 fHits[x][z][gain] = 0; | |
260 | 74 sprintf(tmpHistoName, "Edistribution_%d_%d_%d_%d",(int)fModuleID, geomx, geomz, gain); | |
261 | 75 fEnergyHistogramPtrs[x][z][gain] = 0; | |
262 | 76 | |
263 | 77 fEnergyHistogramPtrs[x][z][gain] = new TH1F( tmpHistoName, tmpHistoName, N_BINS, XBIN_LOW, XBIN_UP); | |
264 | 78 | |
265 | 79 sprintf(tmpHistoName, "TOFdistribution_%d_%d_%d_%d",(int)fModuleID, geomx, geomz, gain); | |
266 | 80 | |
267 | 81 fTimingHistogramPtrs[x][z][gain] = 0; | |
268 | 82 | |
269 | 83 fTimingHistogramPtrs[x][z][gain] = new TH1F(tmpHistoName , tmpHistoName, N_BINS, XBIN_LOW, XBIN_UP); | |
270 | 84 | |
271 | 85 fCellAccEnergy.fAccumulatedEnergies[x][z][gain] = 0; | |
272 | 86 fCellAccEnergy.fHits[x][z][gain] = 0; | |
273 | 87 fCellAccEnergy.fModuleID = 0; | |
274 | 88 fCellAccEnergy.fRcuX = 0; | |
275 | 89 fCellAccEnergy.fRcuZ = 0; | |
276 | 90 } | |
277 | 91 } | |
278 | 92 } | |
279 | 93 } | |
280 | \end{verbatim}\normalsize | |
281 | ||
282 | ||
283 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!operator=@{operator=}} | |
284 | \index{operator=@{operator=}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
285 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer}\& Ali\-HLTPHOSRcu\-Histogram\-Producer::operator= (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} \&)\hspace{0.3cm}{\tt [inline, private]}}\label{classAliHLTPHOSRcuHistogramProducer_d1} | |
286 | ||
287 | ||
288 | ||
289 | ||
290 | Definition at line 42 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
291 | ||
292 | \footnotesize\begin{verbatim}43 { | |
293 | 44 return *this; | |
294 | 45 }; | |
295 | \end{verbatim}\normalsize | |
296 | ||
297 | ||
298 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!Reset@{Reset}} | |
299 | \index{Reset@{Reset}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
300 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Reset ()}\label{classAliHLTPHOSRcuHistogramProducer_a13} | |
301 | ||
302 | ||
303 | ||
304 | ||
305 | Definition at line 163 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
306 | ||
307 | References f\-Accumulated\-Values, f\-Energy\-Average\-Values, f\-Hits, f\-Timing\-Average\-Values, and f\-Tmp\-Channel\-Data. | |
308 | ||
309 | \footnotesize\begin{verbatim}164 { | |
310 | 165 for(int x = 0; x < N_XCOLUMNS_RCU; x ++) | |
311 | 166 { | |
312 | 167 for(int z = 0; z < N_ZROWS_RCU; z ++) | |
313 | 168 { | |
314 | 169 for(int gain = 0; gain < N_GAINS; gain ++) | |
315 | 170 { | |
316 | 171 fEnergyAverageValues[x][z][gain] = 0; | |
317 | 172 fAccumulatedValues[x][z][gain] = 0; | |
318 | 173 fTimingAverageValues[x][z][gain] = 0; | |
319 | 174 fHits[x][z][gain] = 0; | |
320 | 175 } | |
321 | 176 } | |
322 | 177 } | |
323 | 178 | |
324 | 179 for(int i = 0; i <ALTRO_MAX_SAMPLES; i++) | |
325 | 180 { | |
326 | 181 fTmpChannelData[i] = 0; | |
327 | 182 } | |
328 | 183 } | |
329 | \end{verbatim}\normalsize | |
330 | ||
331 | ||
332 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!SetEquippmentId@{SetEquippmentId}} | |
333 | \index{SetEquippmentId@{SetEquippmentId}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
334 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Equippment\-Id (int {\em id})}\label{classAliHLTPHOSRcuHistogramProducer_a7} | |
335 | ||
336 | ||
337 | ||
338 | ||
339 | Definition at line 126 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
340 | ||
341 | References f\-Equippment\-ID. | |
342 | ||
343 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Equippment\-Id(). | |
344 | ||
345 | \footnotesize\begin{verbatim}127 { | |
346 | 128 fEquippmentID = id; | |
347 | 129 } | |
348 | \end{verbatim}\normalsize | |
349 | ||
350 | ||
351 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!SetModuleID@{SetModuleID}} | |
352 | \index{SetModuleID@{SetModuleID}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
353 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Module\-ID ({\bf Ali\-HLTUInt8\_\-t} {\em module\-ID})}\label{classAliHLTPHOSRcuHistogramProducer_a10} | |
354 | ||
355 | ||
356 | ||
357 | ||
358 | Definition at line 119 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
359 | ||
360 | References f\-Module\-ID. | |
361 | ||
362 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer(). | |
363 | ||
364 | \footnotesize\begin{verbatim}120 { | |
365 | 121 fModuleID = moduleID; | |
366 | 122 } | |
367 | \end{verbatim}\normalsize | |
368 | ||
369 | ||
370 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!SetRcuX@{SetRcuX}} | |
371 | \index{SetRcuX@{SetRcuX}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
372 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Rcu\-X ({\bf Ali\-HLTUInt8\_\-t} {\em X})}\label{classAliHLTPHOSRcuHistogramProducer_a8} | |
373 | ||
374 | ||
375 | ||
376 | ||
377 | Definition at line 103 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
378 | ||
379 | References f\-Cell\-Acc\-Energy, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Rcu\-X, and f\-Rcu\-X. | |
380 | ||
381 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer(). | |
382 | ||
383 | \footnotesize\begin{verbatim}104 { | |
384 | 105 fRcuX = X; | |
385 | 106 fCellAccEnergy.fRcuX = X; | |
386 | 107 } | |
387 | \end{verbatim}\normalsize | |
388 | ||
389 | ||
390 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!SetRcuZ@{SetRcuZ}} | |
391 | \index{SetRcuZ@{SetRcuZ}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
392 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Rcu\-Z ({\bf Ali\-HLTUInt8\_\-t} {\em Z})}\label{classAliHLTPHOSRcuHistogramProducer_a9} | |
393 | ||
394 | ||
395 | ||
396 | ||
397 | Definition at line 111 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
398 | ||
399 | References f\-Cell\-Acc\-Energy, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Rcu\-Z, and f\-Rcu\-Z. | |
400 | ||
401 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer(). | |
402 | ||
403 | \footnotesize\begin{verbatim}112 { | |
404 | 113 fRcuZ = Z; | |
405 | 114 fCellAccEnergy.fRcuZ = Z; | |
406 | 115 } | |
407 | \end{verbatim}\normalsize | |
408 | ||
409 | ||
410 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!WriteEnergyHistograms@{WriteEnergyHistograms}} | |
411 | \index{WriteEnergyHistograms@{WriteEnergyHistograms}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
412 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer::Write\-Energy\-Histograms ()}\label{classAliHLTPHOSRcuHistogramProducer_a14} | |
413 | ||
414 | ||
415 | ||
416 | ||
417 | Definition at line 186 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx. | |
418 | ||
419 | References f\-Energy\-Histogram\-Ptrs, f\-Module\-ID, f\-Rcu\-X, and f\-Rcu\-Z. | |
420 | ||
421 | Referenced by Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Deinit(). | |
422 | ||
423 | \footnotesize\begin{verbatim}187 { | |
424 | 188 char tmpFileName[256]; | |
425 | 189 sprintf(tmpFileName,"/home/aliphoshlt/rundir/outdata/calibHisto_%d_%d_%d.root", (int)fModuleID, (int)fRcuX, (int)fRcuZ); | |
426 | 190 TFile *histoFile = new TFile(tmpFileName,"update"); | |
427 | 191 char hname[128]; | |
428 | 192 if(!histoFile) return; | |
429 | 193 if(!histoFile->IsOpen()) return; | |
430 | 194 | |
431 | 195 cout <<"printing histograms"<< endl; | |
432 | 196 cout <<"histofile-Getname() =" << histoFile->GetName() << endl; | |
433 | 197 | |
434 | 198 for(int x = 0; x < N_XCOLUMNS_RCU; x ++) | |
435 | 199 { | |
436 | 200 for(int z = 0; z < N_ZROWS_RCU; z ++) | |
437 | 201 { | |
438 | 202 for(int gain = 0; gain < N_GAINS; gain ++) | |
439 | 203 { | |
440 | 204 fEnergyHistogramPtrs[x][z][gain]->Write(); | |
441 | 205 } | |
442 | 206 } | |
443 | 207 } | |
444 | 208 | |
445 | 209 cout << "printing histograms, finished"<< endl; | |
446 | 210 histoFile->Close(); | |
447 | 211 | |
448 | 212 } | |
449 | \end{verbatim}\normalsize | |
450 | ||
451 | ||
452 | ||
453 | ||
454 | \subsection{Member Data Documentation} | |
455 | \index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fAccumulatedValues@{fAccumulatedValues}} | |
456 | \index{fAccumulatedValues@{fAccumulatedValues}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
457 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Double\_\-t {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Accumulated\-Values}[N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r3} | |
458 | ||
459 | ||
460 | ||
461 | ||
462 | Definition at line 51 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
463 | ||
464 | Referenced by Init(), and Reset().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fCellAccEnergy@{fCellAccEnergy}} | |
465 | \index{fCellAccEnergy@{fCellAccEnergy}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
466 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Cell\-Acc\-Energy}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r9} | |
467 | ||
468 | ||
469 | ||
470 | ||
471 | Definition at line 58 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
472 | ||
473 | Referenced by Fill\-Energy(), Init(), Set\-Rcu\-X(), and Set\-Rcu\-Z().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fEnergyAverageValues@{fEnergyAverageValues}} | |
474 | \index{fEnergyAverageValues@{fEnergyAverageValues}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
475 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Float\_\-t {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Energy\-Average\-Values}[N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r2} | |
476 | ||
477 | ||
478 | ||
479 | ||
480 | Definition at line 50 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
481 | ||
482 | Referenced by Init(), and Reset().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fEnergyHistogramPtrs@{fEnergyHistogramPtrs}} | |
483 | \index{fEnergyHistogramPtrs@{fEnergyHistogramPtrs}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
484 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}TH1F$\ast$ {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Energy\-Histogram\-Ptrs}[N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r0} | |
485 | ||
486 | ||
487 | ||
488 | ||
489 | Definition at line 47 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
490 | ||
491 | Referenced by Fill\-Energy(), Init(), and Write\-Energy\-Histograms().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fEquippmentID@{fEquippmentID}} | |
492 | \index{fEquippmentID@{fEquippmentID}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
493 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt32\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Equippment\-ID}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r7} | |
494 | ||
495 | ||
496 | ||
497 | ||
498 | Definition at line 55 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
499 | ||
500 | Referenced by Set\-Equippment\-Id().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fEventCount@{fEventCount}} | |
501 | \index{fEventCount@{fEventCount}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
502 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Event\-Count}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r6} | |
503 | ||
504 | ||
505 | ||
506 | ||
507 | Definition at line 54 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
508 | ||
509 | Referenced by Increment\-Event\-Counter().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fHits@{fHits}} | |
510 | \index{fHits@{fHits}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
511 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt32\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Hits}[N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r5} | |
512 | ||
513 | ||
514 | ||
515 | ||
516 | Definition at line 53 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
517 | ||
518 | Referenced by Init(), and Reset().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fModuleID@{fModuleID}} | |
519 | \index{fModuleID@{fModuleID}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
520 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt8\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Module\-ID}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r10} | |
521 | ||
522 | ||
523 | ||
524 | ||
525 | Definition at line 60 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
526 | ||
527 | Referenced by Init(), Set\-Module\-ID(), and Write\-Energy\-Histograms().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fRcuX@{fRcuX}} | |
528 | \index{fRcuX@{fRcuX}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
529 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt8\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Rcu\-X}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r11} | |
530 | ||
531 | ||
532 | ||
533 | ||
534 | Definition at line 61 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
535 | ||
536 | Referenced by Set\-Rcu\-X(), and Write\-Energy\-Histograms().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fRcuZ@{fRcuZ}} | |
537 | \index{fRcuZ@{fRcuZ}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
538 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt8\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Rcu\-Z}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r12} | |
539 | ||
540 | ||
541 | ||
542 | ||
543 | Definition at line 62 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
544 | ||
545 | Referenced by Set\-Rcu\-Z(), and Write\-Energy\-Histograms().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fTimingAverageValues@{fTimingAverageValues}} | |
546 | \index{fTimingAverageValues@{fTimingAverageValues}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
547 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Float\_\-t {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Timing\-Average\-Values}[N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r4} | |
548 | ||
549 | ||
550 | ||
551 | ||
552 | Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
553 | ||
554 | Referenced by Init(), and Reset().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fTimingHistogramPtrs@{fTimingHistogramPtrs}} | |
555 | \index{fTimingHistogramPtrs@{fTimingHistogramPtrs}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
556 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}TH1F$\ast$ {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Timing\-Histogram\-Ptrs}[N\_\-XCOLUMNS\_\-RCU][N\_\-ZROWS\_\-RCU][N\_\-GAINS]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r1} | |
557 | ||
558 | ||
559 | ||
560 | ||
561 | Definition at line 48 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
562 | ||
563 | Referenced by Fill\-Time(), and Init().\index{AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}!fTmpChannelData@{fTmpChannelData}} | |
564 | \index{fTmpChannelData@{fTmpChannelData}!AliHLTPHOSRcuHistogramProducer@{Ali\-HLTPHOSRcu\-Histogram\-Producer}} | |
565 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Double\_\-t {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer::f\-Tmp\-Channel\-Data}[ALTRO\_\-MAX\_\-SAMPLES]\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRcuHistogramProducer_r8} | |
566 | ||
567 | ||
568 | ||
569 | ||
570 | Definition at line 56 of file Ali\-HLTPHOSRcu\-Histogram\-Producer.h. | |
571 | ||
572 | Referenced by Reset(). | |
573 | ||
574 | The documentation for this class was generated from the following files:\begin{CompactItemize} | |
575 | \item | |
576 | {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer.h}\item | |
577 | {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer.cxx}\end{CompactItemize} |