\section{marlintpc\-:\-:Pixel\-Spectrum\-Processor Class Reference}
\label{classmarlintpc_1_1PixelSpectrumProcessor}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}


Pixel\-Clock\-Finder\-Processor creates a To\-T or To\-A spectrum of all pixels on the chip and two occupancy plots\-: One for all pixel above a given threshold and one for all pixel below.  




{\ttfamily \#include $<$Pixel\-Spectrum\-Processor.\-h$>$}

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

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

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

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

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

\item 
virtual void {\bfseries end} ()\label{classmarlintpc_1_1PixelSpectrumProcessor_a22e9c36755a0b51dd2e27e700207dfeb}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-Col\-Name}
\item 
std\-::string {\bf \-\_\-mode\-Map\-Col\-Name}
\item 
std\-::string {\bf \-\_\-mode\-Map\-Corr\-Name}
\item 
std\-::string {\bf \-\_\-mode}
\item 
std\-::string {\bf \-\_\-log\-File}\label{classmarlintpc_1_1PixelSpectrumProcessor_a2ea0853f123a365b0ec0d806cf58e866}

\begin{DoxyCompactList}\small\item\em -\/positon of logfile \end{DoxyCompactList}\item 
tpcconddata\-::\-Time\-Pix\-Map $\ast$ {\bfseries \-\_\-time\-Pix\-Map}\label{classmarlintpc_1_1PixelSpectrumProcessor_af377b18b64355b4b60e7d83622d5f464}

\item 
A\-I\-D\-A\-::\-I\-Histogram1\-D $\ast$ {\bf \-\_\-my\-Spectrum\-Histo}
\item 
A\-I\-D\-A\-::\-I\-Histogram2\-D $\ast$ {\bfseries \-\_\-my\-Pixel\-Above\-T\-H\-\_\-\-Location2d\-Histo}\label{classmarlintpc_1_1PixelSpectrumProcessor_ad5a2fb795cbb777674675034fd151792}

\item 
A\-I\-D\-A\-::\-I\-Histogram2\-D $\ast$ {\bfseries \-\_\-my\-Pixel\-Below\-T\-H\-\_\-\-Location2d\-Histo}\label{classmarlintpc_1_1PixelSpectrumProcessor_ab7e800ce1405326f611bc4bf6d3e4b18}

\item 
double {\bf \-\_\-shutter}
\item 
double {\bf \-\_\-readout\-Frequency}
\item 
bool {\bf \-\_\-multi\-Shutter}
\item 
int {\bf \-\_\-n\-Bins}
\item 
int {\bf \-\_\-\-High\-T\-H}
\item 
int {\bf \-\_\-\-Low\-T\-H}
\item 
float {\bf \-\_\-min\-\_\-clock}
\item 
float {\bf \-\_\-max\-\_\-clock}
\item 
int {\bfseries \-\_\-lower\-Bad\-Counts\-Limit}\label{classmarlintpc_1_1PixelSpectrumProcessor_a819e78c84d3147187fd9a51400c96cf6}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Pixel\-Clock\-Finder\-Processor creates a To\-T or To\-A spectrum of all pixels on the chip and two occupancy plots\-: One for all pixel above a given threshold and one for all pixel below. 

The processor also creates a eventdisplay of events with bad counts (counts in a given range)

\subparagraph*{Input -\/ Prerequisites}

a collection of Tracker\-Data objects, zeros suppreed

\subparagraph*{Output}


\begin{DoxyParams}{Parameters}
{\em Input\-Collection\-Name} & Name of input collection, Tracker\-Data (defualt\-: Time\-Pix\-Zero\-Suppressed\-Data) \\
\hline
{\em Mode} & mode that should be plotted (T\-O\-T, T\-I\-M\-E\-P\-I\-X, M\-E\-D\-I\-P\-I\-X, O\-N\-E\-H\-I\-T or A\-N\-Y), (default\-: A\-N\-Y) \\
\hline
{\em Minclock} & Minimum z value of lowest bin in case of z binning (default\-: 2500) \\
\hline
{\em Maxclock} & Maximum z value of highest bin in case of z binning (default\-: 4000) \\
\hline
{\em n\-Bins} & Number ob bins in z, 0 means one Histo without z cut (default\-: 100) \\
\hline
{\em Log\-File} & Position of logfile \\
\hline
{\em High\-T\-H} & High threshold from wich pixel are collected in \-\_\-my\-Bad\-Pixel\-Location2d\-Histo (default\-: 1800) \\
\hline
{\em Low\-T\-H} & Low threshold from wich pixel are collected in \-\_\-my\-Bad\-Pixel\-Location2d\-Histo (default\-: 285) \\
\hline
{\em Lower\-Bad\-Counts\-Limit} & Minimal Number of Pixels with Bad Counts to create Event Display (default\-: 0)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Martin Schultens (started the processor) \& C. Brezina (changed a lot) (R\-F\-W\-University of Bonn) 
\end{DoxyAuthor}


\subsection{Member Data Documentation}
\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-\-High\-T\-H@{\-\_\-\-High\-T\-H}}
\index{\-\_\-\-High\-T\-H@{\-\_\-\-High\-T\-H}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-\-High\-T\-H}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-\-High\-T\-H\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a755284f489597e0d98a7c5434581203d}

\begin{DoxyItemize}
\item High Threshold from which Pixels are collected in \-\_\-my\-Bad\-Pixel\-Location2d\-Histo 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}}
\index{\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-input\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-input\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_ac242993c45362c3fd2ff6bb855ac32a7}

\begin{DoxyItemize}
\item the name of the input collection 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-\-Low\-T\-H@{\-\_\-\-Low\-T\-H}}
\index{\-\_\-\-Low\-T\-H@{\-\_\-\-Low\-T\-H}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-\-Low\-T\-H}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-\-Low\-T\-H\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a9367ba7c9138d5d57aeceb88589a9ad6}

\begin{DoxyItemize}
\item Low Threshold from which Pixels are collected in \-\_\-my\-Bad\-Pixel\-Location2d\-Histo 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-max\-\_\-clock@{\-\_\-max\-\_\-clock}}
\index{\-\_\-max\-\_\-clock@{\-\_\-max\-\_\-clock}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-max\-\_\-clock}]{\setlength{\rightskip}{0pt plus 5cm}float marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-max\-\_\-clock\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a1a39e457f7047963d847926f7590df38}

\begin{DoxyItemize}
\item Maximum z value of highest bin in case of z binning 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-min\-\_\-clock@{\-\_\-min\-\_\-clock}}
\index{\-\_\-min\-\_\-clock@{\-\_\-min\-\_\-clock}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-min\-\_\-clock}]{\setlength{\rightskip}{0pt plus 5cm}float marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-min\-\_\-clock\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_aff5ef76b7c85ebdef517cecebf38001f}

\begin{DoxyItemize}
\item Minimum z value of lowest bin in case of z binning 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-mode@{\-\_\-mode}}
\index{\-\_\-mode@{\-\_\-mode}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-mode}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-mode\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a0a3474d7b4b9966e85dde6bacb43c365}

\begin{DoxyItemize}
\item the mode that should be plottet 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-mode\-Map\-Col\-Name@{\-\_\-mode\-Map\-Col\-Name}}
\index{\-\_\-mode\-Map\-Col\-Name@{\-\_\-mode\-Map\-Col\-Name}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-mode\-Map\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-mode\-Map\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a438fa3c74a6ad03a46e884d7b98a3e05}

\begin{DoxyItemize}
\item the name of the mode map collection 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-mode\-Map\-Corr\-Name@{\-\_\-mode\-Map\-Corr\-Name}}
\index{\-\_\-mode\-Map\-Corr\-Name@{\-\_\-mode\-Map\-Corr\-Name}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-mode\-Map\-Corr\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-mode\-Map\-Corr\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a8e676a4f6251b74226aed18508dbf0e6}

\begin{DoxyItemize}
\item the name of the correction to mode map collection 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-multi\-Shutter@{\-\_\-multi\-Shutter}}
\index{\-\_\-multi\-Shutter@{\-\_\-multi\-Shutter}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-multi\-Shutter}]{\setlength{\rightskip}{0pt plus 5cm}bool marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-multi\-Shutter\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a428cf3b2d3b3aca8d220a888af86353a}

\begin{DoxyItemize}
\item true if multiple shutters are allowed during acquisition 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-my\-Spectrum\-Histo@{\-\_\-my\-Spectrum\-Histo}}
\index{\-\_\-my\-Spectrum\-Histo@{\-\_\-my\-Spectrum\-Histo}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-my\-Spectrum\-Histo}]{\setlength{\rightskip}{0pt plus 5cm}A\-I\-D\-A\-::\-I\-Histogram1\-D$\ast$ marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-my\-Spectrum\-Histo\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a87d13ba4cb68aa5ed4ebd0e9e26d7d4d}

\begin{DoxyItemize}
\item Histo used to create a To\-T or To\-A spectrum of the chip 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-n\-Bins@{\-\_\-n\-Bins}}
\index{\-\_\-n\-Bins@{\-\_\-n\-Bins}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-n\-Bins}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-n\-Bins\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_ab1b6bad116515d690c0d5e853f690c8a}

\begin{DoxyItemize}
\item Number of z bins 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-readout\-Frequency@{\-\_\-readout\-Frequency}}
\index{\-\_\-readout\-Frequency@{\-\_\-readout\-Frequency}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-readout\-Frequency}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-readout\-Frequency\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_a2ee3c6ca440db57b44de8a5fe56c2d35}

\begin{DoxyItemize}
\item readout frequency of Time\-Pix chip in M\-Hz, optional, should come from gear 
\end{DoxyItemize}\index{marlintpc\-::\-Pixel\-Spectrum\-Processor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}!\-\_\-shutter@{\-\_\-shutter}}
\index{\-\_\-shutter@{\-\_\-shutter}!marlintpc::PixelSpectrumProcessor@{marlintpc\-::\-Pixel\-Spectrum\-Processor}}
\subsubsection[{\-\_\-shutter}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Pixel\-Spectrum\-Processor\-::\-\_\-shutter\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1PixelSpectrumProcessor_aa86e2a5398898345211f142e5d667b9b}

\begin{DoxyItemize}
\item length of shutter signal in us 
\end{DoxyItemize}

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