\section{marlintpc\-:\-:Charge\-On\-Pads\-Visualisation\-Processor Class Reference}
\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor}\index{marlintpc\-::\-Charge\-On\-Pads\-Visualisation\-Processor@{marlintpc\-::\-Charge\-On\-Pads\-Visualisation\-Processor}}


This processor fills an 2\-D root histogram which represents the pad plane.  




{\ttfamily \#include $<$Charge\-On\-Pads\-Visualisation\-Processor.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Charge\-On\-Pads\-Visualisation\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_ac425619dcfba85a5ee37707b47ea0137}

\item 
virtual void {\bf init} ()
\begin{DoxyCompactList}\small\item\em Called at the begin of the job before anything is read. \end{DoxyCompactList}\item 
virtual void {\bf process\-Run\-Header} (E\-V\-E\-N\-T\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_a720ffab605a3048f93b6be6ed99d5497}

\begin{DoxyCompactList}\small\item\em Called for every run. \end{DoxyCompactList}\item 
virtual void {\bf process\-Event} (E\-V\-E\-N\-T\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_ad85fc97fd5aa15e918ec0878ce9e5d64}

\begin{DoxyCompactList}\small\item\em Called for every event -\/ the working horse. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-Collection\-Name}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_ae8151aa09f4534c81ad905acc28409cc}

\begin{DoxyCompactList}\small\item\em Inputcollection name. \end{DoxyCompactList}\item 
int {\bfseries \-\_\-n\-Evt}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_a161e51ae0d05c566c055ad556a243dc9}

\item 
int {\bfseries \-\_\-n\-Run}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_ab8b62cf31e5f614ddce7ea02919406a9}

\item 
A\-I\-D\-A\-::\-I\-Histogram2\-D $\ast$ {\bfseries \-\_\-charge\-On\-Pads}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_ae139c2818f4b4fc4aa2a9be88002c197}

\item 
gear\-::\-Pad\-Row\-Layout2\-D const $\ast$ {\bfseries \-\_\-pad\-Layout}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_aefcc02bbcf5849aa50235bdff45e7267}

\item 
int {\bfseries \-\_\-pad\-Layout\-Type}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_a3b42688a88ccaf92c61ae7283674d5d6}

\item 
int {\bfseries \-\_\-reset\-Histo}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_af5732757310f461f504715c4b5be5211}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This processor fills an 2\-D root histogram which represents the pad plane. 

The amount of charge deposited in a pixel is given by the color. If used with a rectangular pad layout the number of x-\/bins is given by the number of pads in the row with most pads. The number of y-\/bins is given by the number of rows. If used with circular pad layout the number of bins in x and y is given by to times the outer radius of the pad plane divided by row height.

\subparagraph*{Input -\/ Prerequisites}

Collection of T\-P\-C\-Voxels with charges on pads


\begin{DoxyParams}{Parameters}
{\em Input\-Collection\-Name} & Name of input collection, Sim\-Tracker\-Hits \\
\hline
{\em Reset\-Histogram} & Resets the histogram after each event if turned on (0)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Thorsten Krautscheid 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{marlintpc\-::\-Charge\-On\-Pads\-Visualisation\-Processor@{marlintpc\-::\-Charge\-On\-Pads\-Visualisation\-Processor}!init@{init}}
\index{init@{init}!marlintpc::ChargeOnPadsVisualisationProcessor@{marlintpc\-::\-Charge\-On\-Pads\-Visualisation\-Processor}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void marlintpc\-::\-Charge\-On\-Pads\-Visualisation\-Processor\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlintpc_1_1ChargeOnPadsVisualisationProcessor_aef2354488b2d9f95535dbdd216302b39}


Called at the begin of the job before anything is read. 

Use to initialize the processor, e.\-g. book histograms. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Charge\-On\-Pads\-Visualisation\-Processor.\-h\item 
Charge\-On\-Pads\-Visualisation\-Processor.\-cc\end{DoxyCompactItemize}
