\section{marlintpc\-:\-:Tracker\-Raw\-Viewer Class Reference}
\label{classmarlintpc_1_1TrackerRawViewer}\index{marlintpc\-::\-Tracker\-Raw\-Viewer@{marlintpc\-::\-Tracker\-Raw\-Viewer}}


Simple event display that visualizes Tracker\-Raw\-Data for the L\-C\-T\-P\-C large prototype with C\-E\-D.  




{\ttfamily \#include $<$Tracker\-Raw\-Viewer.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Tracker\-Raw\-Viewer\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlintpc_1_1TrackerRawViewer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classmarlintpc_1_1TrackerRawViewer_a0139723b74ad1ef49e1948ce5eec674f}

\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} (lcio\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1TrackerRawViewer_ae63769021308bf744036ed41df39dace}

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

\begin{DoxyCompactList}\small\item\em Called for every event -\/ the working horse. \end{DoxyCompactList}\item 
virtual void {\bfseries check} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1TrackerRawViewer_af86236923909144de189bf9e86df2d12}

\item 
virtual void {\bf end} ()\label{classmarlintpc_1_1TrackerRawViewer_aea14d33c1e17c3ac173e139a5a65e8c8}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
bool {\bf get\-Pad\-Center} (double $\ast$pad\-Center, int cell\-I\-D0, int cell\-I\-D1)\label{classmarlintpc_1_1TrackerRawViewer_a1940e5d01afed1ac0ed18fc0876e6b35}

\begin{DoxyCompactList}\small\item\em Computes the pad center for given hardware I\-D in pad\-Center -\/ returns false if nothing found. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-col\-Name}\label{classmarlintpc_1_1TrackerRawViewer_a07d893bc390ecb9df0a91d55941be3af}

\begin{DoxyCompactList}\small\item\em Input collection name. \end{DoxyCompactList}\item 
std\-::string {\bfseries \-\_\-hit\-Col\-Name}\label{classmarlintpc_1_1TrackerRawViewer_af4461482f5bfe4ceae9887e9b726d5b1}

\item 
std\-::string {\bfseries \-\_\-trk\-Col\-Name}\label{classmarlintpc_1_1TrackerRawViewer_aa3a6cbb95af71e06783c028c8fc97a02}

\item 
std\-::string {\bfseries \-\_\-ch\-Map\-Collection}\label{classmarlintpc_1_1TrackerRawViewer_ae21e33b03c9a43e7b62fd5689b712702}

\item 
std\-::string {\bfseries \-\_\-ch\-Pos\-Text\-File}\label{classmarlintpc_1_1TrackerRawViewer_a02a30eae77dde6acebeb8cd6fb860701}

\item 
const gear\-::\-T\-P\-C\-Parameters $\ast$ {\bfseries \-\_\-tpc\-Params}\label{classmarlintpc_1_1TrackerRawViewer_ae8d1e94f631eab2e49f1de47ce52bf1f}

\item 
{\bf Channel\-Pos\-Map} $\ast$ {\bfseries \-\_\-pos\-Map}\label{classmarlintpc_1_1TrackerRawViewer_aaeeb652816e0cae5ecfd62766913281b}

\item 
Channel\-Map $\ast$ {\bfseries \-\_\-ch\-Map}\label{classmarlintpc_1_1TrackerRawViewer_ad9314497584561814069ee85bdcbcda9}

\item 
float {\bfseries \-\_\-drift\-Velocity}\label{classmarlintpc_1_1TrackerRawViewer_ad2137186de829a31e3a4349b4d4dab29}

\item 
int {\bfseries \-\_\-color\-Scale\-Max\-A\-D\-C}\label{classmarlintpc_1_1TrackerRawViewer_aa937bdd1abc7f95ae77a1ee0e69ce1b3}

\item 
int {\bfseries \-\_\-color\-Scheme}\label{classmarlintpc_1_1TrackerRawViewer_af3df4b678d02b891c4ecfcd77a1e28a4}

\item 
bool {\bfseries \-\_\-wait\-For\-Keyboard}\label{classmarlintpc_1_1TrackerRawViewer_acad6e24e8b968dcb41ed58406e93c94c}

\item 
std\-::vector$<$ int $>$ {\bfseries \-\_\-colors}\label{classmarlintpc_1_1TrackerRawViewer_a728e61f1f28ae103f1b25692dc49c4e0}

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

\item 
int {\bfseries \-\_\-n\-Evt}\label{classmarlintpc_1_1TrackerRawViewer_abf1ca2a55253773be63673987e12db9c}

\item 
A\-D\-C\-Map {\bfseries \-\_\-adc\-Map}\label{classmarlintpc_1_1TrackerRawViewer_a68e663917939d754fef1e279481231c7}

\item 
A\-D\-C\-Map {\bfseries \-\_\-adc\-Map\-Int}\label{classmarlintpc_1_1TrackerRawViewer_acd93b38bfc469657e833d43219bd1cae}

\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static const int {\bfseries ncol} = 20\label{classmarlintpc_1_1TrackerRawViewer_a47efc4af6f7244c99315bcb173627c8f}

\item 
static const int {\bfseries nscheme} = 10\label{classmarlintpc_1_1TrackerRawViewer_abfc9434aafc920fc973991e303f7522d}

\item 
static const int {\bfseries Red} = 0\label{classmarlintpc_1_1TrackerRawViewer_a5da1b6a329ec228bf6dcf7f48c181e02}

\item 
static const int {\bfseries Orange} = 1\label{classmarlintpc_1_1TrackerRawViewer_aaaab11177fc0f7eed01069de886871ac}

\item 
static const int {\bfseries Plum} = 2\label{classmarlintpc_1_1TrackerRawViewer_aa797582de1bbd5aecdc023dacb03e9e4}

\item 
static const int {\bfseries Violet} = 3\label{classmarlintpc_1_1TrackerRawViewer_a15f0e071de8101935b7e49c86b50af60}

\item 
static const int {\bfseries Blue} = 4\label{classmarlintpc_1_1TrackerRawViewer_a5c68d74c3198f8a8095a6427aaf3f84f}

\item 
static const int {\bfseries Light\-Blue} = 5\label{classmarlintpc_1_1TrackerRawViewer_aebde62938b8893d804d0c835b309f0bc}

\item 
static const int {\bfseries Aquamarine} = 6\label{classmarlintpc_1_1TrackerRawViewer_a2bef7e9dd2696e190d3089ee9431a9c4}

\item 
static const int {\bfseries Green} = 7\label{classmarlintpc_1_1TrackerRawViewer_a15db375a72419b06fff684a1760385b2}

\item 
static const int {\bfseries Olive} = 8\label{classmarlintpc_1_1TrackerRawViewer_ae204f671dc0f8c7cd56649542937f393}

\item 
static const int {\bfseries Yellow} = 9\label{classmarlintpc_1_1TrackerRawViewer_a7c4a7b1cecb396a572dc7ed5da6dd0e8}

\item 
static const int {\bfseries Dark} = 10\label{classmarlintpc_1_1TrackerRawViewer_a45680360c1ec6b0f396acf06c77ad2c9}

\item 
static const int {\bfseries Light} = 11\label{classmarlintpc_1_1TrackerRawViewer_a6841354cd2ea2a0cf20599880e19b128}

\item 
static const int {\bfseries Classic} = 12\label{classmarlintpc_1_1TrackerRawViewer_a3cfc5fcf3307cf39d2eda3b0159a9569}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Simple event display that visualizes Tracker\-Raw\-Data for the L\-C\-T\-P\-C large prototype with C\-E\-D. 

Draws all A\-D\-C channels with a color code on layer 1. Optionally, hits and tracks are displayed on layers 2 and 3. On Layer 4 a color coded map of the mean number of integrated A\-D\-C counts per pad is drawn with a color code.

\subparagraph*{Input }

A collection of Tracker\-Raw\-Data (and optionally collections of Tracker\-Hits and Tracks).


\begin{DoxyParams}{Parameters}
{\em Collection\-Name} & Name of the Tracker\-Raw\-Data collection (default\-: Altro\-Raw\-Data ) \\
\hline
{\em Channel\-Mapping\-Collection} & Name of the L\-C\-C\-D collection with channel mapping (default\-: A\-D\-C\-Channel\-Mapping) \\
\hline
{\em Channel\-Position\-Text\-File} & Optionally use a text file for the hardware channel to position mapping -\/ overwrites mapping from L\-C\-C\-D and G\-E\-A\-R \\
\hline
{\em Drift\-Velocity} & Drift velocity in micron/ns (default\-: 80.) \\
\hline
{\em Color\-Scale\-Max\-A\-D\-C} & A\-D\-C value used for the maximum of the color scales (default\-: 32) \\
\hline
{\em Wait\-For\-Key\-Board} & true\-: display one event and wait for 'return' -\/ false\-: continiously display events \\
\hline
{\em Color\-Scheme} & Color scheme -\/ 1\-: hot , 2 \-: cold (default\-: 1) \\
\hline
{\em Hit\-Collection\-Name} & Name of the Tracker\-Hit collection (optional, default\-: T\-P\-C\-Tracker\-Hits) \\
\hline
{\em Track\-Collection\-Name} & Name of the Track collection (optional, default\-: T\-P\-C\-Tracks)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
F. Gaede, D\-E\-S\-Y; modifications by Ch. Rosemann, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Tracker\-Raw\-Viewer.\-h}{p.}{TrackerRawViewer_8h_source} 3394 2012-\/05-\/03 15\-:29\-:53\-Z gaede 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{marlintpc\-::\-Tracker\-Raw\-Viewer@{marlintpc\-::\-Tracker\-Raw\-Viewer}!init@{init}}
\index{init@{init}!marlintpc::TrackerRawViewer@{marlintpc\-::\-Tracker\-Raw\-Viewer}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}virtual void marlintpc\-::\-Tracker\-Raw\-Viewer\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlintpc_1_1TrackerRawViewer_a7205ba0de9999ece1ac4c6b29759a12f}


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 file\-:\begin{DoxyCompactItemize}
\item 
Tracker\-Raw\-Viewer.\-h\end{DoxyCompactItemize}
