\section{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component Class Reference}
\label{classAliHLTPHOSRcuHistogramProducerComponent}\index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
{\tt \#include $<$Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h$>$}

Inheritance diagram for Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4cm]{classAliHLTPHOSRcuHistogramProducerComponent}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()
\item 
virtual {\bf $\sim$Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} ()
\item 
virtual int {\bf Do\-Init} (int argc, const char $\ast$$\ast$argv)
\item 
virtual int {\bf Deinit} ()
\item 
virtual int {\bf Do\-Deinit} ()
\item 
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)
\item 
virtual void {\bf Get\-Input\-Data\-Types} (std::vector$<$ {\bf Ali\-HLTComponent\-Data\-Type} $>$ \&)
\item 
virtual {\bf Ali\-HLTComponent\-Data\-Type} {\bf Get\-Output\-Data\-Type} ()
\item 
virtual void {\bf Get\-Output\-Data\-Size} (unsigned long \&const\-Base, double \&input\-Multiplier)
\item 
virtual {\bf Ali\-HLTComponent} $\ast$ {\bf Spawn} ()
\item 
virtual const char $\ast$ {\bf Get\-Component\-ID} ()
\item 
int {\bf Get\-Equippment\-Id} ()
\item 
void {\bf Set\-Rcu\-X} ({\bf Ali\-HLTUInt8\_\-t} X)
\item 
void {\bf Set\-Rcu\-Z} ({\bf Ali\-HLTUInt8\_\-t} Z)
\item 
void {\bf Set\-Module\-ID} ({\bf Ali\-HLTUInt8\_\-t} module\-ID)
\item 
void {\bf Set\-Equippment\-Id} (int id)
\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)
\item 
{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component} \&)
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
int {\bf f\-Event\-Count}
\item 
{\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-X}
\item 
{\bf Ali\-HLTUInt8\_\-t} {\bf f\-Rcu\-Z}
\item 
{\bf Ali\-HLTUInt8\_\-t} {\bf f\-Module\-ID}
\item 
{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer} $\ast$ {\bf f\-Rcu\-Histo\-Producer\-Ptr}
\item 
{\bf Ali\-HLTPHOSRcu\-Cell\-Accumulated\-Energy\-Data\-Struct} $\ast$ {\bf f\-Out\-Ptr}
\item 
int {\bf f\-Equippment\-ID}
\end{CompactItemize}
\subsection*{Static Private Attributes}
\begin{CompactItemize}
\item 
const {\bf Ali\-HLTComponent\-Data\-Type} {\bf input\-Data\-Types} [$\,$] = \{{\bf k\-Ali\-HLTVoid\-Data\-Type},\{0,\char`\"{}\char`\"{},\char`\"{}\char`\"{}\}\}
\item 
const {\bf Ali\-HLTComponent\-Data\-Type} {\bf output\-Data\-Type} = {\bf k\-Ali\-HLTVoid\-Data\-Type}
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
\index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component ()}\label{classAliHLTPHOSRcuHistogramProducerComponent_a0}




Definition at line 39 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}39                                                                                  :AliHLTProcessor(), fEventCount(0), fRcuHistoProducerPtr(0)
40 {
41   //  Reset();
42 } 
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!~AliHLTPHOSRcuHistogramProducerComponent@{$\sim$AliHLTPHOSRcuHistogramProducerComponent}}
\index{~AliHLTPHOSRcuHistogramProducerComponent@{$\sim$AliHLTPHOSRcuHistogramProducerComponent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 46 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}47 {
48 
49 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}}
\index{AliHLTPHOSRcuHistogramProducerComponent@{AliHLTPHOSRcuHistogramProducerComponent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}52                                                                                                                                   : AliHLTProcessor(), fEventCount(0), fRcuHistoProducerPtr(0)
53 {
54 
55 }
\end{verbatim}\normalsize 




\subsection{Member Function Documentation}
\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!Deinit@{Deinit}}
\index{Deinit@{Deinit}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Deinit ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a3}


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. 

Reimplemented from {\bf Ali\-HLTProcessor} {\rm (p.\,\pageref{classAliHLTProcessor_a3})}.

Definition at line 59 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References f\-Rcu\-Histo\-Producer\-Ptr, and Ali\-HLTPHOSRcu\-Histogram\-Producer::Write\-Energy\-Histograms().

\footnotesize\begin{verbatim}60 {
61   cout << "AliHLTPHOSRcuHistogramProducerComponent::Deinit()" << endl;
62   fRcuHistoProducerPtr->WriteEnergyHistograms();
63   return 0;
64 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!DoDeinit@{DoDeinit}}
\index{DoDeinit@{DoDeinit}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Do\-Deinit ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a4}


Default method for the internal clean-up. The method is called by {\bf Deinit}{\rm (p.\,\pageref{classAliHLTPHOSRcuHistogramProducerComponent_a3})} 

Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_b6})}.

Definition at line 68 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References k\-HLTLog\-Info, and Ali\-HLTLogging::Logging().

\footnotesize\begin{verbatim}69 {
70   Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRcuHistogramProducer DoDeinit");
71   return 0;
72 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!DoEvent@{DoEvent}}
\index{DoEvent@{DoEvent}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}


The low-level data processing method for the component. This is the custom processing method and can be overloaded by the component. \begin{Desc}
\item[Parameters:]
\begin{description}
\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}
\end{Desc}
\begin{Desc}
\item[Returns:]neg. error code if failed \end{Desc}


Reimplemented from {\bf Ali\-HLTProcessor} {\rm (p.\,\pageref{classAliHLTProcessor_d0})}.

Definition at line 109 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

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().

\footnotesize\begin{verbatim}112 {
113   unsigned long ndx       = 0;
114   UInt_t offset           = 0; 
115   UInt_t mysize           = 0;
116   UInt_t tSize            = 0;
117   const AliHLTComponentBlockData* iter = NULL;   
118   AliHLTPHOSRcuCellEnergyDataStruct *cellDataPtr;
119   AliHLTUInt8_t* outBPtr;
120  
121   // outBPtr = outputPtr;
122   // fOutPtr =  (AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*)outBPtr;
123   int tmpCnt;
124 
125   for( ndx = 0; ndx < evtData.fBlockCnt; ndx++ )
126     {
127       iter = blocks+ndx;
128       cellDataPtr = (AliHLTPHOSRcuCellEnergyDataStruct*)( iter->fPtr);
129       tmpCnt =  cellDataPtr->fCnt;
130 
131       for(int i= 0; i <= tmpCnt; i ++)
132         {
133           fRcuHistoProducerPtr->FillEnergy(cellDataPtr->fValidData[i].fX,
134                                            cellDataPtr->fValidData[i].fZ, 
135                                            cellDataPtr->fValidData[i].fGain, 
136                                            cellDataPtr->fValidData[i].fEnergy);
137         }
138     }
139   
140   outBPtr = outputPtr;
141   fOutPtr =  (AliHLTPHOSRcuCellAccumulatedEnergyDataStruct*)outBPtr;
142   const AliHLTPHOSRcuCellAccumulatedEnergyDataStruct  &innPtr = fRcuHistoProducerPtr->GetCellAccumulatedEnergies();
143 
144   fOutPtr->fModuleID = fModuleID;
145   fOutPtr->fRcuX     = fRcuX;
146   fOutPtr->fRcuZ     = fRcuZ;
147 
148 
149   for(int x=0; x < N_XCOLUMNS_RCU; x ++)
150     {
151       for(int z=0; z < N_XCOLUMNS_RCU; z ++)
152         {
153           for(int gain =0;  gain < N_GAINS; gain ++)
154             {
155               fOutPtr->fAccumulatedEnergies[x][z][gain] = innPtr.fAccumulatedEnergies[x][z][gain];
156               fOutPtr->fHits[x][z][gain] = innPtr.fHits[x][z][gain];
157             }
158         }
159     }
160 
161 
162   //pushing data to shared output memory
163   mysize += sizeof(AliHLTPHOSRcuCellAccumulatedEnergyDataStruct);
164   AliHLTComponentBlockData bd;
165   FillBlockData( bd );
166   bd.fOffset = offset;
167   bd.fSize = mysize;
168   bd.fDataType = AliHLTPHOSDefinitions::gkCellAccumulatedEnergyDataType;
169   bd.fSpecification = 0xFFFFFFFF;
170   outputBlocks.push_back( bd );
171   tSize += mysize;
172   outBPtr += mysize;
173 
174   if( tSize > size )
175     {
176       Logging( kHLTLogFatal, "HLT::AliHLTRcuHistogramProducerComponent::DoEvent", "Too much data",
177                "Data written over allowed buffer. Amount written: %lu, allowed amount: %lu."
178                , tSize, size );
179       return EMSGSIZE;
180     }
181 
182   fEventCount++; 
183   return 0;
184 }//end DoEvent
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!DoInit@{DoInit}}
\index{DoInit@{DoInit}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}


Default method for the internal initialization. The method is called by {\bf Init}{\rm (p.\,\pageref{classAliHLTProcessor_a2})} 

Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_b5})}.

Definition at line 188 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

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().

\footnotesize\begin{verbatim}189 {
190   int iResult=0;
191   TString argument="";
192   //  fRcuHistoProducerPtr = new AliHLTPHOSRcuHistogramProducer();
193   AliHLTUInt8_t tmpRcuX;
194   AliHLTUInt8_t tmpRcuZ; 
195   AliHLTUInt8_t tmpModuleID;
196   Bool_t isSetEquippmentID = kFALSE;
197 
198   for(int i=0; i<argc && iResult>=0; i++) 
199     {
200       argument=argv[i];
201       
202       if (argument.IsNull()) 
203         {
204           continue;
205         }
206       if (argument.CompareTo("-equipmentID") == 0) 
207         {
208           if(i+1 <= argc)
209             {
210               fEquippmentID = atoi(argv[i+1]);
211               isSetEquippmentID = kTRUE;
212             }
213           else
214             {
215                iResult= -1;
216                Logging( kHLTLogFatal, "HLT::AliHLTPHOSRcuHistogramProducerComponent::DoInt( int argc, const char** argv )", "Missing argument",
217                         "The argument -equippmentID expects a number");
218                return  iResult;   
219             }
220         }
221 
222       int rcuIndex =  (fEquippmentID - 1792)%N_RCUS_PER_MODULE;
223       //     fModuleID = (fEquippmentID  -1792 -rcuIndex)/N_RCUS_PER_MODULE;
224       tmpModuleID = ((fEquippmentID -1792 -rcuIndex)/N_RCUS_PER_MODULE);
225       SetModuleID(tmpModuleID);
226 
227       if(rcuIndex == 0)
228         {
229           tmpRcuX = 0; 
230           tmpRcuZ = 0;
231         }
232       
233       if(rcuIndex == 1)
234         {
235          tmpRcuX = 0; 
236          tmpRcuZ = 1;
237         }
238       
239       if(rcuIndex == 2)
240         {
241           tmpRcuX = 1; 
242           tmpRcuZ = 0;
243         }
244       
245       if(rcuIndex == 3)
246         {
247           tmpRcuX = 1; 
248           tmpRcuZ = 1;
249         }
250 
251       SetRcuX(tmpRcuX);
252       SetRcuZ(tmpRcuZ); 
253       cout <<"********InitInfo************"<< endl;
254       cout <<"AliHLTPHOSRcuHistogramProducerComponent::SetCoordinate"<< endl;
255       cout <<"Equpippment ID =\t"<< fEquippmentID <<endl;
256       cout <<"Module ID =\t"<<  (int) tmpModuleID<<endl;
257       cout <<"RCUX =\t\t" << (int)tmpRcuX << endl;
258       cout <<"RCUZ =\t\t" << (int)tmpRcuZ << endl;
259      }
260 
261   if(isSetEquippmentID == kFALSE)
262     {
263        Logging( kHLTLogFatal, "HLT::AliHLTPHOSRcuHistogramProducerComponent::DoInt( int argc, const char** argv )", "Missing argument",
264                         "The argument equippmentID is not set: set it with a component argumet like this: -equippmentID  <number>");
265        iResult = -2; 
266     }
267 
268   
269   fRcuHistoProducerPtr = new AliHLTPHOSRcuHistogramProducer( tmpModuleID, tmpRcuX, tmpRcuZ);
270 
271 
272   return  iResult;
273 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetComponentID@{GetComponentID}}
\index{GetComponentID@{GetComponentID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}


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}
\item[Returns:]component id (string) \end{Desc}


Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a9})}.

Definition at line 76 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}77 {
78   return "RcuHistogramProducer";
79 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetEquippmentId@{GetEquippmentId}}
\index{GetEquippmentId@{GetEquippmentId}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Get\-Equippment\-Id ()}\label{classAliHLTPHOSRcuHistogramProducerComponent_a11}




Definition at line 306 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}307 {
308   return  fEquippmentID;
309 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetInputDataTypes@{GetInputDataTypes}}
\index{GetInputDataTypes@{GetInputDataTypes}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 83 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References Ali\-HLTComponent\-Data\-Type::f\-ID.

\footnotesize\begin{verbatim}84 {
85   const AliHLTComponentDataType* pType=inputDataTypes;
86   while (pType->fID!=0) 
87     {
88       list.push_back(*pType);
89       pType++;
90     }
91 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetOutputDataSize@{GetOutputDataSize}}
\index{GetOutputDataSize@{GetOutputDataSize}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}


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}
\item[Parameters:]
\begin{description}
\item[{\em const\-Base}]{\em return\/}: additive part, independent of the input data volume \item[{\em input\-Multiplier}]{\em return\/}: multiplication ratio \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]values in the reference variables \end{Desc}


Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a12})}.

Definition at line 102 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}103 {
104   constBase = 30;
105   inputMultiplier = 1;
106 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!GetOutputDataType@{GetOutputDataType}}
\index{GetOutputDataType@{GetOutputDataType}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}


Get the output data type of the component. The function is pure virtual and must be implemented by the child class. \begin{Desc}
\item[Returns:]output data type \end{Desc}


Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a11})}.

Definition at line 95 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}96 {
97   return AliHLTPHOSDefinitions::gkCellEnergyDataType;
98 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!operator=@{operator=}}
\index{operator=@{operator=}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 47 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

\footnotesize\begin{verbatim}48    {
49       return *this;
50    };
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetEquippmentId@{SetEquippmentId}}
\index{SetEquippmentId@{SetEquippmentId}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Equippment\-Id (int {\em id})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a15}




Definition at line 298 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References f\-Equippment\-ID, f\-Rcu\-Histo\-Producer\-Ptr, and Ali\-HLTPHOSRcu\-Histogram\-Producer::Set\-Equippment\-Id().

\footnotesize\begin{verbatim}299 {
300   fEquippmentID = id;
301   fRcuHistoProducerPtr->SetEquippmentId(id);
302 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetModuleID@{SetModuleID}}
\index{SetModuleID@{SetModuleID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 291 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References f\-Module\-ID.

Referenced by Do\-Init().

\footnotesize\begin{verbatim}292 {
293   fModuleID = moduleID;
294 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetRcuX@{SetRcuX}}
\index{SetRcuX@{SetRcuX}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Rcu\-X ({\bf Ali\-HLTUInt8\_\-t} {\em X})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a12}




Definition at line 277 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References f\-Rcu\-X.

Referenced by Do\-Init().

\footnotesize\begin{verbatim}278 {
279   fRcuX = X;
280 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!SetRcuZ@{SetRcuZ}}
\index{SetRcuZ@{SetRcuZ}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Set\-Rcu\-Z ({\bf Ali\-HLTUInt8\_\-t} {\em Z})}\label{classAliHLTPHOSRcuHistogramProducerComponent_a13}




Definition at line 284 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

References f\-Rcu\-Z.

Referenced by Do\-Init().

\footnotesize\begin{verbatim}285 {
286   fRcuZ = Z;
287 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!Spawn@{Spawn}}
\index{Spawn@{Spawn}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTComponent} $\ast$ Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::Spawn ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_a9}


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}
\item[Returns:]new class instance \end{Desc}


Implements {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_a13})}.

Definition at line 313 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

\footnotesize\begin{verbatim}314 {
315   return new AliHLTPHOSRcuHistogramProducerComponent;
316 }
\end{verbatim}\normalsize 




\subsection{Member Data Documentation}
\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fEquippmentID@{fEquippmentID}}
\index{fEquippmentID@{fEquippmentID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Equippment\-ID}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r6}




Definition at line 64 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Do\-Init(), and Set\-Equippment\-Id().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fEventCount@{fEventCount}}
\index{fEventCount@{fEventCount}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component::f\-Event\-Count}\hspace{0.3cm}{\tt  [private]}}\label{classAliHLTPHOSRcuHistogramProducerComponent_r0}


internal event no 

Reimplemented from {\bf Ali\-HLTComponent} {\rm (p.\,\pageref{classAliHLTComponent_r2})}.

Definition at line 51 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Do\-Event().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fModuleID@{fModuleID}}
\index{fModuleID@{fModuleID}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 54 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Set\-Module\-ID().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fOutPtr@{fOutPtr}}
\index{fOutPtr@{fOutPtr}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 56 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Do\-Event().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fRcuHistoProducerPtr@{fRcuHistoProducerPtr}}
\index{fRcuHistoProducerPtr@{fRcuHistoProducerPtr}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 55 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Deinit(), Do\-Event(), Do\-Init(), and Set\-Equippment\-Id().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fRcuX@{fRcuX}}
\index{fRcuX@{fRcuX}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 52 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Set\-Rcu\-X().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!fRcuZ@{fRcuZ}}
\index{fRcuZ@{fRcuZ}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 53 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h.

Referenced by Set\-Rcu\-Z().\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!inputDataTypes@{inputDataTypes}}
\index{inputDataTypes@{inputDataTypes}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 27 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.\index{AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}!outputDataType@{outputDataType}}
\index{outputDataType@{outputDataType}!AliHLTPHOSRcuHistogramProducerComponent@{Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component}}
\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}




Definition at line 28 of file Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.h}\item 
{\bf Ali\-HLTPHOSRcu\-Histogram\-Producer\-Component.cxx}\end{CompactItemize}
