\section{My\-Hit Struct Reference}
\label{structMyHit}\index{My\-Hit@{My\-Hit}}


=== \doxyref{Mokka\-Calo\-Digi}{p.}{classMokkaCaloDigi} Processor === \par
 Calorimeter digitizer Processor for L\-C\-I\-O \par
 files produced by Mokka.  




{\ttfamily \#include $<$Mokka\-Calo\-Digi.\-h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Calorimeter\-Hit\-Impl $\ast$ {\bfseries hit}\label{structMyHit_a2770e49cf1012a966bdc9915a1cbbc51}

\item 
std\-::vector$<$ Sim\-Calorimeter\-Hit $\ast$ $>$ {\bfseries sim\-Hits}\label{structMyHit_aaf3bfda8de7e01f0b5db9a32a9327ec1}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
=== \doxyref{Mokka\-Calo\-Digi}{p.}{classMokkaCaloDigi} Processor === \par
 Calorimeter digitizer Processor for L\-C\-I\-O \par
 files produced by Mokka. 

\par
 Takes Sim\-Calorimeter\-Hit Collections and \par
 produces Calorimeter\-Hit Collections. \par
 Simulated energy depositions in active \par
 layers of calorimeters are \par
 converted into physical energy. This is done \par
 taking into account sampling fractions of \par
 E\-C\-A\-L and H\-C\-A\-L. \par
 User has to specify E\-C\-A\-L and H\-C\-A\-L Sim\-Calorimeter\-Hit \par
 collections with processor parameters \par
 H\-C\-A\-L\-Collections and E\-C\-A\-L\-Collections. \par
 The names of the output Calorimeter\-Hit Collections \par
 are specified with processor parameters \par
 New\-E\-C\-A\-L\-Coll\-Name and New\-H\-C\-A\-L\-Coll\-Name. \par
 Processor performs merging of neighboring virtual cells \par
 in calorimeters into a larger cells. \par
 Processor is meant to perform digitization of \par
 calorimeter hits for an arbitrary detector geometry \par
 parameter New\-H\-C\-A\-L\-Cell\-Size and should be multiple of 10 \par
 as virtual cell size used in Mokka is 10x10 mm2. \par
 Conversion factors for E\-C\-A\-L and H\-C\-A\-L \par
 are specified via processor parameters \par
 Calibr\-E\-C\-A\-L and Calibr\-H\-C\-A\-L. \par
 It should be noted that E\-C\-A\-L and H\-C\-A\-L may consist \par
 of several sections with different sampling fractions. \par
 To handle this situation, calibration coefficients for \par
 E\-C\-A\-L and H\-C\-A\-L are passed as arrays of floats with each element \par
 in this array corresponding to certain section with \par
 a given sampling fraction. \par
 List of layer numbers terminating each section are given through \par
 processor parameters E\-C\-A\-L\-Layers and H\-C\-A\-L\-Layers \par
 There is an option to perform digitization of \par
 both E\-C\-A\-L and H\-C\-A\-L in a digital mode. \par
 Digital digitization is activated by \par
 setting processor parameters \par
 If\-Digital\-Ecal / If\-Digital\-Hcal to 1. \par
 In this case Calibr\-E\-C\-A\-L / Calibr\-H\-C\-A\-L will \par
 convert the number of hits into physical energy. \par
 Thresholds on hit energies in E\-C\-A\-L and H\-C\-A\-L \par
 are set with processor parameters \par
 E\-C\-A\-L\-Threshold and H\-C\-A\-L\-Threshold. \par
 Relations between Calorimeter\-Hits and Sim\-Calorimeter\-Hits \par
 are held in the corresponding relation collection. \par
 The name of this relation collection is specified \par
 via processor parameter Relation\-Output\-Collection. \par
 \begin{DoxyAuthor}{Authors}
A. Raspereza and P. Krstonosic (D\-E\-S\-Y) \par
 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Mokka\-Calo\-Digi.\-h}{p.}{MokkaCaloDigi_8h_source} 2553 2011-\/09-\/20 14\-:50\-:20\-Z gaede 
\end{DoxyParagraph}
\par
 

The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Mokka\-Calo\-Digi.\-h\end{DoxyCompactItemize}
