\section{marlintpc\-:\-:Hit\-And\-Track\-Charge\-Processor Class Reference}
\label{classmarlintpc_1_1HitAndTrackChargeProcessor}\index{marlintpc\-::\-Hit\-And\-Track\-Charge\-Processor@{marlintpc\-::\-Hit\-And\-Track\-Charge\-Processor}}


Fill charge per hit and per track length into A\-I\-D\-A histograms.  




{\ttfamily \#include $<$Hit\-And\-Track\-Charge\-Processor.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Hit\-And\-Track\-Charge\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlintpc_1_1HitAndTrackChargeProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a1746bcda00690db0668a86cae1fbe2b1}

\item 
virtual void {\bfseries init} ()\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a5ed2d4d77f267e14e2a5693cca14f29f}

\item 
virtual void {\bfseries process\-Run\-Header} (lcio\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1HitAndTrackChargeProcessor_aa18f40cfbc66f36027b7d0067825cdd3}

\item 
virtual void {\bfseries process\-Event} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a303c4bcc498c1a19eddb8e9e965da1e3}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-tracks\-Col\-Name}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_aa24d1816acfccb77149de03ddb96e3eb}

\begin{DoxyCompactList}\small\item\em the name of the input tracks collection \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-hits\-Col\-Name}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a4121bc637e82aa4180491446949e19ac}

\begin{DoxyCompactList}\small\item\em the name of the input hits collection \end{DoxyCompactList}\item 
std\-::vector$<$ A\-I\-D\-A\-::\-I\-Histogram1\-D $\ast$ $>$ {\bf \-\_\-charge\-Per\-Track\-Histos}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a0349aa932d771e24368aab235d66ff5d}

\begin{DoxyCompactList}\small\item\em charge per track histos vector \end{DoxyCompactList}\item 
std\-::vector$<$ A\-I\-D\-A\-::\-I\-Histogram1\-D $\ast$ $>$ {\bf \-\_\-d\-Edx\-Histos}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a07fd482680a0ea831b3c6c72b928033b}

\begin{DoxyCompactList}\small\item\em d\-Edx of the track histos vector \end{DoxyCompactList}\item 
std\-::vector$<$ A\-I\-D\-A\-::\-I\-Histogram1\-D $\ast$ $>$ {\bf \-\_\-charge\-Per\-Hit\-Histos}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_af78a47f90cc43eebb7941797a1848c3b}

\begin{DoxyCompactList}\small\item\em charge per hit histos vector \end{DoxyCompactList}\item 
std\-::vector$<$ A\-I\-D\-A\-::\-I\-Histogram1\-D $\ast$ $>$ {\bf \-\_\-charge\-Per\-Hit\-On\-Track\-Histos}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a36819ffc30cbfb7804f4f21b517968c0}

\begin{DoxyCompactList}\small\item\em charge per hit for hits on tracks only histos vector \end{DoxyCompactList}\item 
float {\bf \-\_\-max\-Charge\-Per\-Hit}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_ac7bbde84bdaf84a153b606ee9b7b3020}

\begin{DoxyCompactList}\small\item\em Maximum value in Charge\-Per\-Hit histograms. \end{DoxyCompactList}\item 
float {\bf \-\_\-max\-Charge\-Per\-Track}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a479d15f8169b2f6e09d6426a17e68f68}

\begin{DoxyCompactList}\small\item\em Maximum value in Charge\-Per\-Hit histogram. \end{DoxyCompactList}\item 
float {\bf \-\_\-max\-\_\-d\-Edx}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a4f57d4755f277ccd04cd3bdac56d80ab}

\begin{DoxyCompactList}\small\item\em Maximum value in d\-Edx histogram. \end{DoxyCompactList}\item 
float {\bf \-\_\-min\-Z}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_aca8fe977358a38fa1d1573c9656a4b96}

\begin{DoxyCompactList}\small\item\em Minimum z value of lowest bin. \end{DoxyCompactList}\item 
float {\bf \-\_\-max\-Z}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a4482251c85b9174d7f369a28263d19b1}

\begin{DoxyCompactList}\small\item\em Maximum z value of lowest bin. \end{DoxyCompactList}\item 
int {\bf \-\_\-n\-Z\-Bins}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_a749bb840ec08539dd41cedfcee52aba1}

\begin{DoxyCompactList}\small\item\em Number of z bins. \end{DoxyCompactList}\item 
float {\bfseries \-\_\-z\-Bin\-Width}\label{classmarlintpc_1_1HitAndTrackChargeProcessor_abf2ef7ceaeee9ac19e947f7ce5ba2560}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Fill charge per hit and per track length into A\-I\-D\-A histograms. 

By default the chamber is divided into 10 z-\/bins and for each bin a histogram is filled.\par
 In addition one histogram is filled without any z cut.

\subparagraph*{Input -\/ Prerequisites}

\begin{DoxyItemize}
\item A collection of reconstructed tracks \par
 To have the charge only from hits on tracks, L\-C\-I\-O\-::\-T\-R\-B\-I\-T\-\_\-\-H\-I\-T\-S has to be set, so the hits are stored. \item A collection of hits\end{DoxyItemize}
\subparagraph*{Output}

\begin{DoxyItemize}
\item Histograms with charge per hit \item Histograms with charge per hit for hits in tracks only \item Histograms with charge per track \item Histograms with charge per track length (d\-Edx)\end{DoxyItemize}

\begin{DoxyParams}{Parameters}
{\em Input\-Tracks} & Name of input Tracks collection (default\-: T\-P\-C\-Tracks) \\
\hline
{\em Input\-Hits} & Name of input Tracker\-Hits collection (default\-: T\-P\-C\-Hits) \\
\hline
{\em Max\-Charge\-Per\-Hit} & Maximum value in Charge\-Per\-Hit histograms (default\-: ?? ) \\
\hline
{\em Max\-Charge\-Per\-Track} & Maximum value in Charge\-Per\-Hit histogram (default\-: ?? ) \\
\hline
{\em Max\-\_\-d\-Edx} & Maximum value in d\-Edx histogram (default\-: 1000 ) \\
\hline
{\em Min\-Z} & Minimum z value of lowest bin in case of z binning (default\-: 0) \\
\hline
{\em Max\-Z} & Maximum z value of highest bin in case of z binning (default\-: 260) \\
\hline
{\em n\-Z\-Bins} & Number ob bins in z (default\-: 10)\par
 z binning switched of if 0, one histogram without z cut\\
\hline
\end{DoxyParams}
All Histograms have 0 as lowest value

\begin{DoxyAuthor}{Author}
Martin Killenberg, University of Bonn 
\end{DoxyAuthor}


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