]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/latex/classAliHLTPHOSRcuHistogramProducerComponent.tex
0b4735079b5975b65b9e5ba5af8bf7c330bec644
[u/mrichter/AliRoot.git] / HLT / PHOS / latex / classAliHLTPHOSRcuHistogramProducerComponent.tex
1 \section{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component Class Reference}
2 \label{classAliHLTPHOSRcuHistogramProducerComponent}\index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
3 {\tt \#include $<$Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h$>$}
4
5 Inheritance diagram for Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::\begin{figure}[H]
6 \begin{center}
7 \leavevmode
8 \includegraphics[height=4cm]{classAliHLTPHOSRcuHistogramProducerComponent}
9 \end{center}
10 \end{figure}
11 \subsection*{Public Member Functions}
12 \begin{CompactItemize}
13 \item 
14 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()
15 \item 
16 virtual {\bf $\sim$Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()
17 \item 
18 virtual int {\bf Do\-Init} (int argc, const char $\ast$$\ast$argv)
19 \item 
20 virtual int {\bf Deinit} ()
21 \item 
22 virtual int {\bf Do\-Deinit} ()
23 \item 
24 virtual int {\bf Do\-Event} (const {\bf Ali\-HLTComponent\-Event\-Data} \&evt\-Data, const {\bf Ali\-HLTComponent\-Block\-Data} $\ast$blocks, {\bf Ali\-HLTComponent\-Trigger\-Data} \&trig\-Data, {\bf Ali\-HLTUInt8\_\-t} $\ast$output\-Ptr, {\bf Ali\-HLTUInt32\_\-t} \&size, vector$<$ {\bf Ali\-HLTComponent\-Block\-Data} $>$ \&output\-Blocks)
25 \item 
26 virtual void {\bf Get\-Input\-Data\-Types} (std::vector$<$ {\bf Ali\-HLTComponent\-Data\-Type} $>$ \&)
27 \item 
28 virtual {\bf Ali\-HLTComponent\-Data\-Type} {\bf Get\-Output\-Data\-Type} ()
29 \item 
30 virtual void {\bf Get\-Output\-Data\-Size} (unsigned long \&const\-Base, double \&input\-Multiplier)
31 \item 
32 virtual {\bf Ali\-HLTComponent} $\ast$ {\bf Spawn} ()
33 \item 
34 virtual const char $\ast$ {\bf Get\-Component\-ID} ()
35 \item 
36 int {\bf Get\-Equippment\-Id} ()
37 \item 
38 void {\bf Set\-Rcu\-X} ({\bf Ali\-HLTUInt8\_\-t} X)
39 \item 
40 void {\bf Set\-Rcu\-Z} ({\bf Ali\-HLTUInt8\_\-t} Z)
41 \item 
42 void {\bf Set\-Module\-ID} ({\bf Ali\-HLTUInt8\_\-t} module\-ID)
43 \item 
44 void {\bf Set\-Equippment\-Id} (int id)
45 \end{CompactItemize}
46 \subsection*{Private Member Functions}
47 \begin{CompactItemize}
48 \item 
49 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)
50 \item 
51 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)
52 \end{CompactItemize}
53 \subsection*{Private Attributes}
54 \begin{CompactItemize}
55 \item 
56 int {\bf f\-Event\-Count}
57 \item 
58 {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-X}
59 \item 
60 {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-Z}
61 \item 
62 {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Module\-ID}
63 \item 
64 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} $\ast$ {\bf f\-Rcu\-Histo\-Producer\-Ptr}
65 \item 
66 {\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} $\ast$ {\bf f\-Out\-Ptr}
67 \item 
68 int {\bf f\-Equippment\-ID}
69 \end{CompactItemize}
70 \subsection*{Static Private Attributes}
71 \begin{CompactItemize}
72 \item 
73 const {\bf Ali\-HLTComponent\-Data\-Type} {\bf input\-Data\-Types} [$\,$] = \{{\bf k\-Ali\-HLTVoid\-Data\-Type},\{0,\char`\"{}\char`\"{},\char`\"{}\char`\"{}\}\}
74 \item 
75 const {\bf Ali\-HLTComponent\-Data\-Type} {\bf output\-Data\-Type} = {\bf k\-Ali\-HLTVoid\-Data\-Type}
76 \end{CompactItemize}
77
78
79 \subsection{Constructor \& Destructor Documentation}
80 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
81 \index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
82 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component ()}\label{classAliHLTPHOSRcuHistogramProducerComponent_a0}
83
84
85
86
87 Definition at line 39 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
88
89 \footnotesize\begin{verbatim}39                                                                                  :AliHLTProcessor(), fEventCount(0), fRcuHistoProducerPtr(0)
90 40 {
91 41   //  Reset();
92 42 } 
93 \end{verbatim}\normalsize 
94
95
96 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!~AliHLTPHOSRcuHistogramProducerComponent@{$\sim$AliHLTPHOSRcuHistogramProducerComponent}}
97 \index{~AliHLTPHOSRcuHistogramProducerComponent@{$\sim$AliHLTPHOSRcuHistogramProducerComponent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
98 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::$\sim${\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a1}
99
100
101
102
103 Definition at line 46 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
104
105 \footnotesize\begin{verbatim}47 {
106 48 
107 49 }
108 \end{verbatim}\normalsize 
109
110
111 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
112 \index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
113 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_d0}
114
115
116
117
118 Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
119
120 \footnotesize\begin{verbatim}52                                                                                                                                   : AliHLTProcessor(), fEventCount(0), fRcuHistoProducerPtr(0)
121 53 {
122 54 
123 55 }
124 \end{verbatim}\normalsize 
125
126
127
128
129 \subsection{Member Function Documentation}
130 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!Deinit@{Deinit}}
131 \index{Deinit@{Deinit}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
132 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Deinit ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a3}
133
134
135 Clean-up function to terminate data processing. Clean-up of common data structures after data processing. The call is redirected to the internal method {\bf Do\-Deinit}{\rm (p.\,\pageref{classAliHLTPHOSRcuHistogramProducerComponent_a4})} which can be overridden by the child class. 
136
137 Reimplemented from {\bf Ali\-HLTProcessor} {\rm (p.\,\pageref{classAliHLTProcessor_a3})}.
138
139 Definition at line 59 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
140
141 References f\-Rcu\-Histo\-Producer\-Ptr, and Ali\-HLTPHOSRcu\-Histogram\-Producer::Write\-Energy\-Histograms().
142
143 \footnotesize\begin{verbatim}60 {
144 61   cout << "AliHLTPHOSRcuHistogramProducerComponent::Deinit()" << endl;
145 62   fRcuHistoProducerPtr->WriteEnergyHistograms();
146 63   return 0;
147 64 }
148 \end{verbatim}\normalsize 
149
150
151 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!DoDeinit@{DoDeinit}}
152 \index{DoDeinit@{DoDeinit}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
153 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Do\-Deinit ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a4}
154
155
156 Default method for the internal clean-up. The method is called by {\bf Deinit}{\rm (p.\,\pageref{classAliHLTPHOSRcuHistogramProducerComponent_a3})} 
157
158 Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_b6})}.
159
160 Definition at line 68 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
161
162 References k\-HLTLog\-Info, and Ali\-HLTLogging::Logging().
163
164 \footnotesize\begin{verbatim}69 {
165 70   Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRcuHistogramProducer DoDeinit");
166 71   return 0;
167 72 }
168 \end{verbatim}\normalsize 
169
170
171 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!DoEvent@{DoEvent}}
172 \index{DoEvent@{DoEvent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
173 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Do\-Event (const {\bf Ali\-HLTComponent\-Event\-Data} \& {\em evt\-Data}, const {\bf Ali\-HLTComponent\-Block\-Data} $\ast$ {\em blocks}, {\bf Ali\-HLTComponent\-Trigger\-Data} \& {\em trig\-Data}, {\bf Ali\-HLTUInt8\_\-t} $\ast$ {\em output\-Ptr}, {\bf Ali\-HLTUInt32\_\-t} \& {\em size}, vector$<$ {\bf Ali\-HLTComponent\-Block\-Data} $>$ \& {\em output\-Blocks})\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a5}
174
175
176 The low-level data processing method for the component. This is the custom processing method and can be overloaded by the component. \begin{Desc}
177 \item[Parameters:]
178 \begin{description}
179 \item[{\em evt\-Data}]event data structure \item[{\em blocks}]input data block descriptors \item[{\em trig\-Data}]trigger data structure \item[{\em output\-Ptr}]pointer to target buffer \item[{\em size}]{\em input\/}: size of target buffer {\em output\/}:size of produced data \item[{\em output\-Blocks}]list to receive output block descriptors \end{description}
180 \end{Desc}
181 \begin{Desc}
182 \item[Returns:]neg. error code if failed \end{Desc}
183
184
185 Reimplemented from {\bf Ali\-HLTProcessor} {\rm (p.\,\pageref{classAliHLTProcessor_d0})}.
186
187 Definition at line 109 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
188
189 References Ali\-HLTUInt8\_\-t, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Accumulated\-Energies, Ali\-HLTComponent\-Event\-Data::f\-Block\-Cnt, Ali\-HLTPHOSRcu\-Cell\-Energy\-Data\-Struct::f\-Cnt, Ali\-HLTComponent\-Block\-Data::f\-Data\-Type, Ali\-HLTPHOSValid\-Cell\-Data\-Struct::f\-Energy, f\-Event\-Count, Ali\-HLTPHOSValid\-Cell\-Data\-Struct::f\-Gain, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Hits, Ali\-HLTComponent::Fill\-Block\-Data(), Ali\-HLTPHOSRcu\-Histogram\-Producer::Fill\-Energy(), Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Module\-ID, Ali\-HLTComponent\-Block\-Data::f\-Offset, f\-Out\-Ptr, Ali\-HLTComponent\-Block\-Data::f\-Ptr, f\-Rcu\-Histo\-Producer\-Ptr, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Rcu\-X, Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct::f\-Rcu\-Z, Ali\-HLTComponent\-Block\-Data::f\-Size, Ali\-HLTComponent\-Block\-Data::f\-Specification, Ali\-HLTPHOSRcu\-Cell\-Energy\-Data\-Struct::f\-Valid\-Data, Ali\-HLTPHOSValid\-Cell\-Data\-Struct::f\-X, Ali\-HLTPHOSValid\-Cell\-Data\-Struct::f\-Z, Ali\-HLTPHOSRcu\-Histogram\-Producer::Get\-Cell\-Accumulated\-Energies(), k\-HLTLog\-Fatal, and Ali\-HLTLogging::Logging().
190
191 \footnotesize\begin{verbatim}112 {
192 113   unsigned long ndx       = 0;
193 114   UInt_t offset           = 0; 
194 115   UInt_t mysize           = 0;
195 116   UInt_t tSize            = 0;
196 117   const AliHLTComponentBlockData* iter = NULL;   
197 118   AliHLTPHOSRcuCellEnergyDataStruct *cellDataPtr;
198 119   AliHLTUInt8_t* outBPtr;
199 120  
200 121   // outBPtr = outputPtr;
201 122   // fOutPtr =  (AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*)outBPtr;
202 123   int tmpCnt;
203 124 
204 125   for( ndx = 0; ndx < evtData.fBlockCnt; ndx++ )
205 126     {
206 127       iter = blocks+ndx;
207 128       cellDataPtr = (AliHLTPHOSRcuCellEnergyDataStruct*)( iter->fPtr);
208 129       tmpCnt =  cellDataPtr->fCnt;
209 130 
210 131       for(int i= 0; i <= tmpCnt; i ++)
211 132         {
212 133           fRcuHistoProducerPtr->FillEnergy(cellDataPtr->fValidData[i].fX,
213 134                                            cellDataPtr->fValidData[i].fZ, 
214 135                                            cellDataPtr->fValidData[i].fGain, 
215 136                                            cellDataPtr->fValidData[i].fEnergy);
216 137         }
217 138     }
218 139   
219 140   outBPtr = outputPtr;
220 141   fOutPtr =  (AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*)outBPtr;
221 142   const AliHLTPHOSRcuCellAccumulatedEnergyDataStruct  &innPtr = fRcuHistoProducerPtr->GetCellAccumulatedEnergies();
222 143 
223 144   fOutPtr->fModuleID = fModuleID;
224 145   fOutPtr->fRcuX     = fRcuX;
225 146   fOutPtr->fRcuZ     = fRcuZ;
226 147 
227 148 
228 149   for(int x=0; x < N_XCOLUMNS_RCU; x ++)
229 150     {
230 151       for(int z=0; z < N_XCOLUMNS_RCU; z ++)
231 152         {
232 153           for(int gain =0;  gain < N_GAINS; gain ++)
233 154             {
234 155               fOutPtr->fAccumulatedEnergies[x][z][gain] = innPtr.fAccumulatedEnergies[x][z][gain];
235 156               fOutPtr->fHits[x][z][gain] = innPtr.fHits[x][z][gain];
236 157             }
237 158         }
238 159     }
239 160 
240 161 
241 162   //pushing data to shared output memory
242 163   mysize += sizeof(AliHLTPHOSRcuCellAccumulatedEnergyDataStruct);
243 164   AliHLTComponentBlockData bd;
244 165   FillBlockData( bd );
245 166   bd.fOffset = offset;
246 167   bd.fSize = mysize;
247 168   bd.fDataType = AliHLTPHOSDefinitions::gkCellAccumulatedEnergyDataType;
248 169   bd.fSpecification = 0xFFFFFFFF;
249 170   outputBlocks.push_back( bd );
250 171   tSize += mysize;
251 172   outBPtr += mysize;
252 173 
253 174   if( tSize > size )
254 175     {
255 176       Logging( kHLTLogFatal, "HLT::AliHLTRcuHistogramProducerComponent::DoEvent", "Too much data",
256 177                "Data written over allowed buffer. Amount written: %lu, allowed amount: %lu."
257 178                , tSize, size );
258 179       return EMSGSIZE;
259 180     }
260 181 
261 182   fEventCount++; 
262 183   return 0;
263 184 }//end DoEvent
264 \end{verbatim}\normalsize 
265
266
267 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!DoInit@{DoInit}}
268 \index{DoInit@{DoInit}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
269 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Do\-Init (int {\em argc}, const char $\ast$$\ast$ {\em argv})\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a2}
270
271
272 Default method for the internal initialization. The method is called by {\bf Init}{\rm (p.\,\pageref{classAliHLTProcessor_a2})} 
273
274 Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_b5})}.
275
276 Definition at line 188 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
277
278 References Ali\-HLTUInt8\_\-t, f\-Equippment\-ID, f\-Rcu\-Histo\-Producer\-Ptr, k\-HLTLog\-Fatal, Ali\-HLTLogging::Logging(), Set\-Module\-ID(), Set\-Rcu\-X(), and Set\-Rcu\-Z().
279
280 \footnotesize\begin{verbatim}189 {
281 190   int iResult=0;
282 191   TString argument="";
283 192   //  fRcuHistoProducerPtr = new AliHLTPHOSRcuHistogramProducer();
284 193   AliHLTUInt8_t tmpRcuX;
285 194   AliHLTUInt8_t tmpRcuZ; 
286 195   AliHLTUInt8_t tmpModuleID;
287 196   Bool_t isSetEquippmentID = kFALSE;
288 197 
289 198   for(int i=0; i<argc && iResult>=0; i++) 
290 199     {
291 200       argument=argv[i];
292 201       
293 202       if (argument.IsNull()) 
294 203         {
295 204           continue;
296 205         }
297 206       if (argument.CompareTo("-equipmentID") == 0) 
298 207         {
299 208           if(i+1 <= argc)
300 209             {
301 210               fEquippmentID = atoi(argv[i+1]);
302 211               isSetEquippmentID = kTRUE;
303 212             }
304 213           else
305 214             {
306 215                iResult= -1;
307 216                Logging( kHLTLogFatal, "HLT::AliHLTPHOSRcuHistogramProducerComponent::DoInt( int argc, const char** argv )", "Missing argument",
308 217                         "The argument -equippmentID expects a number");
309 218                return  iResult;   
310 219             }
311 220         }
312 221 
313 222       int rcuIndex =  (fEquippmentID - 1792)%N_RCUS_PER_MODULE;
314 223       //     fModuleID = (fEquippmentID  -1792 -rcuIndex)/N_RCUS_PER_MODULE;
315 224       tmpModuleID = ((fEquippmentID -1792 -rcuIndex)/N_RCUS_PER_MODULE);
316 225       SetModuleID(tmpModuleID);
317 226 
318 227       if(rcuIndex == 0)
319 228         {
320 229           tmpRcuX = 0; 
321 230           tmpRcuZ = 0;
322 231         }
323 232       
324 233       if(rcuIndex == 1)
325 234         {
326 235          tmpRcuX = 0; 
327 236          tmpRcuZ = 1;
328 237         }
329 238       
330 239       if(rcuIndex == 2)
331 240         {
332 241           tmpRcuX = 1; 
333 242           tmpRcuZ = 0;
334 243         }
335 244       
336 245       if(rcuIndex == 3)
337 246         {
338 247           tmpRcuX = 1; 
339 248           tmpRcuZ = 1;
340 249         }
341 250 
342 251       SetRcuX(tmpRcuX);
343 252       SetRcuZ(tmpRcuZ); 
344 253       cout <<"********InitInfo************"<< endl;
345 254       cout <<"AliHLTPHOSRcuHistogramProducerComponent::SetCoordinate"<< endl;
346 255       cout <<"Equpippment ID =\t"<< fEquippmentID <<endl;
347 256       cout <<"Module ID =\t"<<  (int) tmpModuleID<<endl;
348 257       cout <<"RCUX =\t\t" << (int)tmpRcuX << endl;
349 258       cout <<"RCUZ =\t\t" << (int)tmpRcuZ << endl;
350 259      }
351 260 
352 261   if(isSetEquippmentID == kFALSE)
353 262     {
354 263        Logging( kHLTLogFatal, "HLT::AliHLTPHOSRcuHistogramProducerComponent::DoInt( int argc, const char** argv )", "Missing argument",
355 264                         "The argument equippmentID is not set: set it with a component argumet like this: -equippmentID  <number>");
356 265        iResult = -2; 
357 266     }
358 267 
359 268   
360 269   fRcuHistoProducerPtr = new AliHLTPHOSRcuHistogramProducer( tmpModuleID, tmpRcuX, tmpRcuZ);
361 270 
362 271 
363 272   return  iResult;
364 273 }
365 \end{verbatim}\normalsize 
366
367
368 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetComponentID@{GetComponentID}}
369 \index{GetComponentID@{GetComponentID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
370 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Get\-Component\-ID ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a10}
371
372
373 Get the id of the component. Each component is identified by a unique id. The function is pure virtual and must be implemented by the child class. \begin{Desc}
374 \item[Returns:]component id (string) \end{Desc}
375
376
377 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a9})}.
378
379 Definition at line 76 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
380
381 \footnotesize\begin{verbatim}77 {
382 78   return "RcuHistogramProducer";
383 79 }
384 \end{verbatim}\normalsize 
385
386
387 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetEquippmentId@{GetEquippmentId}}
388 \index{GetEquippmentId@{GetEquippmentId}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
389 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Get\-Equippment\-Id ()}\label{classAliHLTPHOSRcuHistogramProducerComponent_a11}
390
391
392
393
394 Definition at line 306 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
395
396 \footnotesize\begin{verbatim}307 {
397 308   return  fEquippmentID;
398 309 }
399 \end{verbatim}\normalsize 
400
401
402 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetInputDataTypes@{GetInputDataTypes}}
403 \index{GetInputDataTypes@{GetInputDataTypes}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
404 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Get\-Input\-Data\-Types (std::vector$<$ {\bf Ali\-HLTComponent\-Data\-Type} $>$ \&)\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a6}
405
406
407
408
409 Definition at line 83 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
410
411 References Ali\-HLTComponent\-Data\-Type::f\-ID.
412
413 \footnotesize\begin{verbatim}84 {
414 85   const AliHLTComponentDataType* pType=inputDataTypes;
415 86   while (pType->fID!=0) 
416 87     {
417 88       list.push_back(*pType);
418 89       pType++;
419 90     }
420 91 }
421 \end{verbatim}\normalsize 
422
423
424 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetOutputDataSize@{GetOutputDataSize}}
425 \index{GetOutputDataSize@{GetOutputDataSize}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
426 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Get\-Output\-Data\-Size (unsigned long \& {\em const\-Base}, double \& {\em input\-Multiplier})\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a8}
427
428
429 Get a ratio by how much the data volume is shrinked or enhanced. The function is pure virtual and must be implemented by the child class. \begin{Desc}
430 \item[Parameters:]
431 \begin{description}
432 \item[{\em const\-Base}]{\em return\/}: additive part, independent of the input data volume \item[{\em input\-Multiplier}]{\em return\/}: multiplication ratio \end{description}
433 \end{Desc}
434 \begin{Desc}
435 \item[Returns:]values in the reference variables \end{Desc}
436
437
438 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a12})}.
439
440 Definition at line 102 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
441
442 \footnotesize\begin{verbatim}103 {
443 104   constBase = 30;
444 105   inputMultiplier = 1;
445 106 }
446 \end{verbatim}\normalsize 
447
448
449 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetOutputDataType@{GetOutputDataType}}
450 \index{GetOutputDataType@{GetOutputDataType}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
451 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTComponent\-Data\-Type} Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Get\-Output\-Data\-Type ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a7}
452
453
454 Get the output data type of the component. The function is pure virtual and must be implemented by the child class. \begin{Desc}
455 \item[Returns:]output data type \end{Desc}
456
457
458 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a11})}.
459
460 Definition at line 95 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
461
462 \footnotesize\begin{verbatim}96 {
463 97   return AliHLTPHOSDefinitions::gkCellEnergyDataType;
464 98 }
465 \end{verbatim}\normalsize 
466
467
468 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!operator=@{operator=}}
469 \index{operator=@{operator=}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
470 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}\& Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::operator= (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)\hspace{0.3cm}{\tt  [inline, private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_d1}
471
472
473
474
475 Definition at line 47 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
476
477 \footnotesize\begin{verbatim}48    {
478 49       return *this;
479 50    };
480 \end{verbatim}\normalsize 
481
482
483 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetEquippmentId@{SetEquippmentId}}
484 \index{SetEquippmentId@{SetEquippmentId}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
485 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Equippment\-Id (int {\em id})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a15}
486
487
488
489
490 Definition at line 298 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
491
492 References f\-Equippment\-ID, f\-Rcu\-Histo\-Producer\-Ptr, and Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Equippment\-Id().
493
494 \footnotesize\begin{verbatim}299 {
495 300   fEquippmentID = id;
496 301   fRcuHistoProducerPtr->SetEquippmentId(id);
497 302 }
498 \end{verbatim}\normalsize 
499
500
501 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetModuleID@{SetModuleID}}
502 \index{SetModuleID@{SetModuleID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
503 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Module\-ID ({\bf Ali\-HLTUInt8\_\-t} {\em module\-ID})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a14}
504
505
506
507
508 Definition at line 291 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
509
510 References f\-Module\-ID.
511
512 Referenced by Do\-Init().
513
514 \footnotesize\begin{verbatim}292 {
515 293   fModuleID = moduleID;
516 294 }
517 \end{verbatim}\normalsize 
518
519
520 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetRcuX@{SetRcuX}}
521 \index{SetRcuX@{SetRcuX}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
522 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Rcu\-X ({\bf Ali\-HLTUInt8\_\-t} {\em X})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a12}
523
524
525
526
527 Definition at line 277 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
528
529 References f\-Rcu\-X.
530
531 Referenced by Do\-Init().
532
533 \footnotesize\begin{verbatim}278 {
534 279   fRcuX = X;
535 280 }
536 \end{verbatim}\normalsize 
537
538
539 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetRcuZ@{SetRcuZ}}
540 \index{SetRcuZ@{SetRcuZ}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
541 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Rcu\-Z ({\bf Ali\-HLTUInt8\_\-t} {\em Z})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a13}
542
543
544
545
546 Definition at line 284 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
547
548 References f\-Rcu\-Z.
549
550 Referenced by Do\-Init().
551
552 \footnotesize\begin{verbatim}285 {
553 286   fRcuZ = Z;
554 287 }
555 \end{verbatim}\normalsize 
556
557
558 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!Spawn@{Spawn}}
559 \index{Spawn@{Spawn}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
560 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTComponent} $\ast$ Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Spawn ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a9}
561
562
563 Spawn function. Each component must implement a spawn function to create a new instance of the class. Basically the function must return {\em new {\bf my\_\-class\_\-name}\/}. \begin{Desc}
564 \item[Returns:]new class instance \end{Desc}
565
566
567 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a13})}.
568
569 Definition at line 313 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
570
571 \footnotesize\begin{verbatim}314 {
572 315   return new AliHLTPHOSRcuHistogramProducerComponent;
573 316 }
574 \end{verbatim}\normalsize 
575
576
577
578
579 \subsection{Member Data Documentation}
580 \index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fEquippmentID@{fEquippmentID}}
581 \index{fEquippmentID@{fEquippmentID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
582 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Equippment\-ID}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r6}
583
584
585
586
587 Definition at line 64 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
588
589 Referenced by Do\-Init(), and Set\-Equippment\-Id().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fEventCount@{fEventCount}}
590 \index{fEventCount@{fEventCount}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
591 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Event\-Count}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r0}
592
593
594 internal event no 
595
596 Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_r2})}.
597
598 Definition at line 51 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
599
600 Referenced by Do\-Event().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fModuleID@{fModuleID}}
601 \index{fModuleID@{fModuleID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
602 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt8\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Module\-ID}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r3}
603
604
605
606
607 Definition at line 54 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
608
609 Referenced by Set\-Module\-ID().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fOutPtr@{fOutPtr}}
610 \index{fOutPtr@{fOutPtr}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
611 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct}$\ast$ {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Out\-Ptr}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r5}
612
613
614
615
616 Definition at line 56 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
617
618 Referenced by Do\-Event().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fRcuHistoProducerPtr@{fRcuHistoProducerPtr}}
619 \index{fRcuHistoProducerPtr@{fRcuHistoProducerPtr}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
620 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer}$\ast$ {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Rcu\-Histo\-Producer\-Ptr}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r4}
621
622
623
624
625 Definition at line 55 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
626
627 Referenced by Deinit(), Do\-Event(), Do\-Init(), and Set\-Equippment\-Id().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fRcuX@{fRcuX}}
628 \index{fRcuX@{fRcuX}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
629 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt8\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Rcu\-X}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r1}
630
631
632
633
634 Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
635
636 Referenced by Set\-Rcu\-X().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fRcuZ@{fRcuZ}}
637 \index{fRcuZ@{fRcuZ}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
638 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTUInt8\_\-t} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Rcu\-Z}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r2}
639
640
641
642
643 Definition at line 53 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
644
645 Referenced by Set\-Rcu\-Z().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!inputDataTypes@{inputDataTypes}}
646 \index{inputDataTypes@{inputDataTypes}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
647 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ali\-HLTComponent\-Data\-Type} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::input\-Data\-Types} = \{{\bf k\-Ali\-HLTVoid\-Data\-Type},\{0,\char`\"{}\char`\"{},\char`\"{}\char`\"{}\}\}\hspace{0.3cm}{\tt  [static, private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_v0}
648
649
650
651
652 Definition at line 27 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!outputDataType@{outputDataType}}
653 \index{outputDataType@{outputDataType}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
654 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ali\-HLTComponent\-Data\-Type} {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::output\-Data\-Type} = {\bf k\-Ali\-HLTVoid\-Data\-Type}\hspace{0.3cm}{\tt  [static, private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_v1}
655
656
657
658
659 Definition at line 28 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
660
661 The documentation for this class was generated from the following files:\begin{CompactItemize}
662 \item 
663 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h}\item 
664 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx}\end{CompactItemize}