1 \section{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component Class Reference}
2 \label{classAliHLTPHOSRcuHistogramProducerComponent}\index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
3 {\tt \#include $<$Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h$>$}
5 Inheritance diagram for Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::\begin{figure}[H]
8 \includegraphics[height=4cm]{classAliHLTPHOSRcuHistogramProducerComponent}
11 \subsection*{Public Member Functions}
12 \begin{CompactItemize}
14 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()
16 virtual {\bf $\sim$Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()
18 virtual int {\bf Do\-Init} (int argc, const char $\ast$$\ast$argv)
20 virtual int {\bf Deinit} ()
22 virtual int {\bf Do\-Deinit} ()
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)
26 virtual void {\bf Get\-Input\-Data\-Types} (std::vector$<$ {\bf Ali\-HLTComponent\-Data\-Type} $>$ \&)
28 virtual {\bf Ali\-HLTComponent\-Data\-Type} {\bf Get\-Output\-Data\-Type} ()
30 virtual void {\bf Get\-Output\-Data\-Size} (unsigned long \&const\-Base, double \&input\-Multiplier)
32 virtual {\bf Ali\-HLTComponent} $\ast$ {\bf Spawn} ()
34 virtual const char $\ast$ {\bf Get\-Component\-ID} ()
36 int {\bf Get\-Equippment\-Id} ()
38 void {\bf Set\-Rcu\-X} ({\bf Ali\-HLTUInt8\_\-t} X)
40 void {\bf Set\-Rcu\-Z} ({\bf Ali\-HLTUInt8\_\-t} Z)
42 void {\bf Set\-Module\-ID} ({\bf Ali\-HLTUInt8\_\-t} module\-ID)
44 void {\bf Set\-Equippment\-Id} (int id)
46 \subsection*{Private Member Functions}
47 \begin{CompactItemize}
49 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)
51 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)
53 \subsection*{Private Attributes}
54 \begin{CompactItemize}
56 int {\bf f\-Event\-Count}
58 {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-X}
60 {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-Z}
62 {\bf Ali\-HLTUInt8\_\-t} {\bf f\-Module\-ID}
64 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} $\ast$ {\bf f\-Rcu\-Histo\-Producer\-Ptr}
66 {\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} $\ast$ {\bf f\-Out\-Ptr}
68 int {\bf f\-Equippment\-ID}
70 \subsection*{Static Private Attributes}
71 \begin{CompactItemize}
73 const {\bf Ali\-HLTComponent\-Data\-Type} {\bf input\-Data\-Types} [$\,$] = \{{\bf k\-Ali\-HLTVoid\-Data\-Type},\{0,\char`\"{}\char`\"{},\char`\"{}\char`\"{}\}\}
75 const {\bf Ali\-HLTComponent\-Data\-Type} {\bf output\-Data\-Type} = {\bf k\-Ali\-HLTVoid\-Data\-Type}
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}
87 Definition at line 39 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
89 \footnotesize\begin{verbatim}39 :AliHLTProcessor(), fEventCount(0), fRcuHistoProducerPtr(0)
93 \end{verbatim}\normalsize
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}
103 Definition at line 46 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
105 \footnotesize\begin{verbatim}47 {
108 \end{verbatim}\normalsize
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}
118 Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
120 \footnotesize\begin{verbatim}52 : AliHLTProcessor(), fEventCount(0), fRcuHistoProducerPtr(0)
124 \end{verbatim}\normalsize
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}
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.
137 Reimplemented from {\bf Ali\-HLTProcessor} {\rm (p.\,\pageref{classAliHLTProcessor_a3})}.
139 Definition at line 59 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
141 References f\-Rcu\-Histo\-Producer\-Ptr, and Ali\-HLTPHOSRcu\-Histogram\-Producer::Write\-Energy\-Histograms().
143 \footnotesize\begin{verbatim}60 {
144 61 cout << "AliHLTPHOSRcuHistogramProducerComponent::Deinit()" << endl;
145 62 fRcuHistoProducerPtr->WriteEnergyHistograms();
148 \end{verbatim}\normalsize
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}
156 Default method for the internal clean-up. The method is called by {\bf Deinit}{\rm (p.\,\pageref{classAliHLTPHOSRcuHistogramProducerComponent_a3})}
158 Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_b6})}.
160 Definition at line 68 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
162 References k\-HLTLog\-Info, and Ali\-HLTLogging::Logging().
164 \footnotesize\begin{verbatim}69 {
165 70 Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRcuHistogramProducer DoDeinit");
168 \end{verbatim}\normalsize
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}
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}
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}
182 \item[Returns:]neg. error code if failed \end{Desc}
185 Reimplemented from {\bf Ali\-HLTProcessor} {\rm (p.\,\pageref{classAliHLTProcessor_d0})}.
187 Definition at line 109 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
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().
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;
200 121 // outBPtr = outputPtr;
201 122 // fOutPtr = (AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*)outBPtr;
204 125 for( ndx = 0; ndx < evtData.fBlockCnt; ndx++ )
206 127 iter = blocks+ndx;
207 128 cellDataPtr = (AliHLTPHOSRcuCellEnergyDataStruct*)( iter->fPtr);
208 129 tmpCnt = cellDataPtr->fCnt;
210 131 for(int i= 0; i <= tmpCnt; i ++)
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);
219 140 outBPtr = outputPtr;
220 141 fOutPtr = (AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*)outBPtr;
221 142 const AliHLTPHOSRcuCellAccumulatedEnergyDataStruct &innPtr = fRcuHistoProducerPtr->GetCellAccumulatedEnergies();
223 144 fOutPtr->fModuleID = fModuleID;
224 145 fOutPtr->fRcuX = fRcuX;
225 146 fOutPtr->fRcuZ = fRcuZ;
228 149 for(int x=0; x < N_XCOLUMNS_RCU; x ++)
230 151 for(int z=0; z < N_XCOLUMNS_RCU; z ++)
232 153 for(int gain =0; gain < N_GAINS; gain ++)
234 155 fOutPtr->fAccumulatedEnergies[x][z][gain] = innPtr.fAccumulatedEnergies[x][z][gain];
235 156 fOutPtr->fHits[x][z][gain] = innPtr.fHits[x][z][gain];
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 );
251 172 outBPtr += mysize;
253 174 if( tSize > size )
255 176 Logging( kHLTLogFatal, "HLT::AliHLTRcuHistogramProducerComponent::DoEvent", "Too much data",
256 177 "Data written over allowed buffer. Amount written: %lu, allowed amount: %lu."
264 \end{verbatim}\normalsize
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}
272 Default method for the internal initialization. The method is called by {\bf Init}{\rm (p.\,\pageref{classAliHLTProcessor_a2})}
274 Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_b5})}.
276 Definition at line 188 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
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().
280 \footnotesize\begin{verbatim}189 {
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;
289 198 for(int i=0; i<argc && iResult>=0; i++)
291 200 argument=argv[i];
293 202 if (argument.IsNull())
297 206 if (argument.CompareTo("-equipmentID") == 0)
301 210 fEquippmentID = atoi(argv[i+1]);
302 211 isSetEquippmentID = kTRUE;
307 216 Logging( kHLTLogFatal, "HLT::AliHLTPHOSRcuHistogramProducerComponent::DoInt( int argc, const char** argv )", "Missing argument",
308 217 "The argument -equippmentID expects a number");
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);
318 227 if(rcuIndex == 0)
324 233 if(rcuIndex == 1)
330 239 if(rcuIndex == 2)
336 245 if(rcuIndex == 3)
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;
352 261 if(isSetEquippmentID == kFALSE)
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>");
360 269 fRcuHistoProducerPtr = new AliHLTPHOSRcuHistogramProducer( tmpModuleID, tmpRcuX, tmpRcuZ);
365 \end{verbatim}\normalsize
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}
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}
377 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a9})}.
379 Definition at line 76 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
381 \footnotesize\begin{verbatim}77 {
382 78 return "RcuHistogramProducer";
384 \end{verbatim}\normalsize
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}
394 Definition at line 306 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
396 \footnotesize\begin{verbatim}307 {
397 308 return fEquippmentID;
399 \end{verbatim}\normalsize
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}
409 Definition at line 83 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
411 References Ali\-HLTComponent\-Data\-Type::f\-ID.
413 \footnotesize\begin{verbatim}84 {
414 85 const AliHLTComponentDataType* pType=inputDataTypes;
415 86 while (pType->fID!=0)
417 88 list.push_back(*pType);
421 \end{verbatim}\normalsize
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}
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}
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}
435 \item[Returns:]values in the reference variables \end{Desc}
438 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a12})}.
440 Definition at line 102 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
442 \footnotesize\begin{verbatim}103 {
444 105 inputMultiplier = 1;
446 \end{verbatim}\normalsize
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}
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}
458 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a11})}.
460 Definition at line 95 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
462 \footnotesize\begin{verbatim}96 {
463 97 return AliHLTPHOSDefinitions::gkCellEnergyDataType;
465 \end{verbatim}\normalsize
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}
475 Definition at line 47 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
477 \footnotesize\begin{verbatim}48 {
480 \end{verbatim}\normalsize
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}
490 Definition at line 298 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
492 References f\-Equippment\-ID, f\-Rcu\-Histo\-Producer\-Ptr, and Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Equippment\-Id().
494 \footnotesize\begin{verbatim}299 {
495 300 fEquippmentID = id;
496 301 fRcuHistoProducerPtr->SetEquippmentId(id);
498 \end{verbatim}\normalsize
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}
508 Definition at line 291 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
510 References f\-Module\-ID.
512 Referenced by Do\-Init().
514 \footnotesize\begin{verbatim}292 {
515 293 fModuleID = moduleID;
517 \end{verbatim}\normalsize
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}
527 Definition at line 277 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
529 References f\-Rcu\-X.
531 Referenced by Do\-Init().
533 \footnotesize\begin{verbatim}278 {
536 \end{verbatim}\normalsize
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}
546 Definition at line 284 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
548 References f\-Rcu\-Z.
550 Referenced by Do\-Init().
552 \footnotesize\begin{verbatim}285 {
555 \end{verbatim}\normalsize
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}
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}
567 Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a13})}.
569 Definition at line 313 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
571 \footnotesize\begin{verbatim}314 {
572 315 return new AliHLTPHOSRcuHistogramProducerComponent;
574 \end{verbatim}\normalsize
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}
587 Definition at line 64 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
596 Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_r2})}.
598 Definition at line 51 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
607 Definition at line 54 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
616 Definition at line 56 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
625 Definition at line 55 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
634 Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
643 Definition at line 53 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.
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}
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}
659 Definition at line 28 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.
661 The documentation for this class was generated from the following files:\begin{CompactItemize}
663 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h}\item
664 {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx}\end{CompactItemize}