<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{marlin\-:\-:Simple\-Track\-Smearer Class Reference}
\label{classmarlin_1_1SimpleTrackSmearer}\index{marlin\-::\-Simple\-Track\-Smearer@{marlin\-::\-Simple\-Track\-Smearer}}


Smears the four vectors of charged tracks according to d\-P/\-P = r for a given range of the polar angle.  




{\ttfamily \#include $&lt;$Simple\-Track\-Smearer.\-h$&gt;$}

Inheritance diagram for marlin\-:\-:Simple\-Track\-Smearer\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlin_1_1SimpleTrackSmearer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Simple\-Track\-Smearer} (const std\-::vector$&lt;$ float $&gt;$ \&amp;res\-Vec)\label{classmarlin_1_1SimpleTrackSmearer_a5557fac9950d4b0c513e4a66211a4f49}

\item 
virtual {\bf $\sim$\-Simple\-Track\-Smearer} ()
\begin{DoxyCompactList}\small\item\em Virtual d'tor. \end{DoxyCompactList}\item 
virtual Hep\-Lorentz\-Vector {\bf smeared\-Four\-Vector} (const Hep\-Lorentz\-Vector \&amp;v, int pdg\-Code)
\begin{DoxyCompactList}\small\item\em Smears the given four vector according to the resolution for the polar angle of the track. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
Res\-Vec {\bfseries \-\_\-res\-Vec}\label{classmarlin_1_1SimpleTrackSmearer_a638f0c417236014ccc38e02532a5a39d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Smears the four vectors of charged tracks according to d\-P/\-P = r for a given range of the polar angle. 

The resolutions r are given in the constructor as a vector holding triplets of\-: r0, th\-\_\-min0, th\-\_\-max0, r1, th\-\_\-min1, th\-\_\-max1, ...\par
 Perfect electron and muon I\-D is assumed to set the particle energy ( mass ) -\/ all other particles are assumed to be pions. 

\subsection{Constructor \&amp; Destructor Documentation}
\index{marlin\-::\-Simple\-Track\-Smearer@{marlin\-::\-Simple\-Track\-Smearer}!$\sim$\-Simple\-Track\-Smearer@{$\sim$\-Simple\-Track\-Smearer}}
\index{$\sim$\-Simple\-Track\-Smearer@{$\sim$\-Simple\-Track\-Smearer}!marlin::SimpleTrackSmearer@{marlin\-::\-Simple\-Track\-Smearer}}
\subsubsection[{$\sim$\-Simple\-Track\-Smearer}]{\setlength{\rightskip}{0pt plus 5cm}virtual marlin\-::\-Simple\-Track\-Smearer\-::$\sim$\-Simple\-Track\-Smearer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classmarlin_1_1SimpleTrackSmearer_ab0e607ceaac220f67917c8a83cf8dcc6}


Virtual d'tor. 



\subsection{Member Function Documentation}
\index{marlin\-::\-Simple\-Track\-Smearer@{marlin\-::\-Simple\-Track\-Smearer}!smeared\-Four\-Vector@{smeared\-Four\-Vector}}
\index{smeared\-Four\-Vector@{smeared\-Four\-Vector}!marlin::SimpleTrackSmearer@{marlin\-::\-Simple\-Track\-Smearer}}
\subsubsection[{smeared\-Four\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}Hep\-Lorentz\-Vector marlin\-::\-Simple\-Track\-Smearer\-::smeared\-Four\-Vector (
\begin{DoxyParamCaption}
\item[{const Hep\-Lorentz\-Vector \&amp;}]{v, }
\item[{int}]{pdg\-Code}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classmarlin_1_1SimpleTrackSmearer_aa1bf44adef72e627f19dc09a9a9a838f}


Smears the given four vector according to the resolution for the polar angle of the track. 

Returns a vector with all elements 0. if no resolution is defined. 

Implements {\bf marlin\-::\-I\-Four\-Vector\-Smearer} \doxyref{}{p.}{classmarlin_1_1IFourVectorSmearer_a69a3ece59f66350310e1eb1c696464ce}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Simple\-Track\-Smearer.\-h\item 
Simple\-Track\-Smearer.\-cc\end{DoxyCompactItemize}
</pre></body></html>