\section{V\-T\-X\-Noise\-Clusters Class Reference}
\label{classVTXNoiseClusters}\index{V\-T\-X\-Noise\-Clusters@{V\-T\-X\-Noise\-Clusters}}


======= \doxyref{V\-T\-X\-Noise\-Clusters}{p.}{classVTXNoiseClusters} ========== \par
 Adds random noise hits to collection of Sim\-Tracker\-Hits of the vertex detector.  




{\ttfamily \#include $<$V\-T\-X\-Noise\-Clusters.\-h$>$}

Inheritance diagram for V\-T\-X\-Noise\-Clusters\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classVTXNoiseClusters}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classVTXNoiseClusters_a9c69ccb5ce0007cf57304f3bf131d514}

\item 
virtual const std\-::string \& {\bfseries name} () const \label{classVTXNoiseClusters_aa12b8fa1b8268ce0dc9a50ad518f3326}

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

\begin{DoxyCompactList}\small\item\em Called for every run. \end{DoxyCompactList}\item 
void {\bf modify\-Event} (L\-C\-Event $\ast$evt)\label{classVTXNoiseClusters_a33e466fe01f0ded9ce81dbb81c66adf3}

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

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

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bfseries \-\_\-col\-Name\-V\-T\-X}\label{classVTXNoiseClusters_aa7cb249dd627df81871521129ee10e6f}

\item 
Float\-Vec {\bfseries \-\_\-densities}\label{classVTXNoiseClusters_a265be0a3ce126b26522153ba9cce9f82}

\item 
String\-Vec {\bfseries \-\_\-root\-Names}\label{classVTXNoiseClusters_a9ddaa9adb2707c5512a46915cf3f0884}

\item 
int {\bfseries \-\_\-ran\-Seed}\label{classVTXNoiseClusters_adce3c6d7eb6ee65c27ebf7e1c5392657}

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

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

\item 
gsl\-\_\-rng $\ast$ {\bfseries \-\_\-rng}\label{classVTXNoiseClusters_aa81995e93390dce9fc48ff6c502c9ece}

\item 
{\bf V\-X\-D\-Geometry} $\ast$ {\bfseries \-\_\-vxd\-Geo}\label{classVTXNoiseClusters_a8c7dcad2bb9309ce981c4e7b3d46bc39}

\item 
std\-::vector$<$ T\-H2\-F $\ast$ $>$ {\bfseries \-\_\-hist}\label{classVTXNoiseClusters_a0f5cad54e38e16db92421fd7bf6a5149}

\item 
T\-File $\ast$ {\bfseries \-\_\-hfile}\label{classVTXNoiseClusters_ace2d698586db5484bb6b69ea6a976016}

\item 
Hist1\-D\-Vec {\bfseries \-\_\-hist1\-D\-Vec}\label{classVTXNoiseClusters_a5726920c16f19536ede659df3db56b91}

\item 
Hist2\-D\-Vec {\bfseries \-\_\-hist2\-D\-Vec}\label{classVTXNoiseClusters_a9a00f38ae91a2f27be8e78ce6d899cb7}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
======= \doxyref{V\-T\-X\-Noise\-Clusters}{p.}{classVTXNoiseClusters} ========== \par
 Adds random noise hits to collection of Sim\-Tracker\-Hits of the vertex detector. 

The number of noise hits are given by the parameter Hit\-Density\-Per\-Layer (hits/cm$^\wedge$2). The noise hits are created with a uniform distribution over the ladder surface. An object of type \doxyref{V\-X\-D\-Cluster\-Parameters}{p.}{classVXDClusterParameters} is added to every hit to describe the extension of the cluster on the ladder surface. The distribution of the cluster sizes is read from R\-O\-O\-T histograms -\/ one per layer.


\begin{DoxyParams}{Parameters}
{\em Root\-Histograms} & root file name and histogram names (one per layer) \\
\hline
{\em Hit\-Density\-Per\-Layer} & hit densities (hits/cm$^\wedge$2) per V\-X\-D layer \\
\hline
{\em V\-T\-X\-Collection\-Name} & collection of V\-X\-D Sim\-Trackerhits \\
\hline
{\em Random\-Seed} & random number seed\\
\hline
\end{DoxyParams}
\par
 \begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{V\-T\-X\-Noise\-Clusters.\-h}{p.}{VTXNoiseClusters_8h_source} 2553 2011-\/09-\/20 14\-:50\-:20\-Z gaede 
\end{DoxyParagraph}
\begin{DoxyAuthor}{Author}
F.\-Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{V\-T\-X\-Noise\-Clusters@{V\-T\-X\-Noise\-Clusters}!init@{init}}
\index{init@{init}!VTXNoiseClusters@{V\-T\-X\-Noise\-Clusters}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}virtual void V\-T\-X\-Noise\-Clusters\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classVTXNoiseClusters_a47d61be00cb3a590d9f34dcf5abfce71}


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 
V\-T\-X\-Noise\-Clusters.\-h\end{DoxyCompactItemize}
