\section{marlintpc\-:\-:Triplet\-Calculation\-Tool Class Reference}
\label{classmarlintpc_1_1TripletCalculationTool}\index{marlintpc\-::\-Triplet\-Calculation\-Tool@{marlintpc\-::\-Triplet\-Calculation\-Tool}}


A collection of tools to evaluate the width of a distribution in a histogram.  




{\ttfamily \#include $<$Triplet\-Calculation\-Tool.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Triplet\-Calculation\-Tool} (const gear\-::\-T\-P\-C\-Parameters $\ast$tpc\-Parameters, E\-V\-E\-N\-T\-::\-Tracker\-Hit $\ast$current\-Hit, E\-V\-E\-N\-T\-::\-Tracker\-Hit $\ast$previous\-Hit, E\-V\-E\-N\-T\-::\-Tracker\-Hit $\ast$next\-Hit, int method=0)
\begin{DoxyCompactList}\small\item\em Constructor with histogram to be evaluated and chosen method. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Triplet\-Calculation\-Tool} ()\label{classmarlintpc_1_1TripletCalculationTool_a8ad5b69ed2a42386b483dbbe9de16b55}

\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
double {\bf get\-Z\-Triplet} ()
\begin{DoxyCompactList}\small\item\em Function giving back the resolution from rms90. \end{DoxyCompactList}\item 
double {\bfseries get\-X\-Y\-Triplet} ()\label{classmarlintpc_1_1TripletCalculationTool_a18e9cfec00dfc5e9ef02f91317368197}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
A collection of tools to evaluate the width of a distribution in a histogram. 

Available methods\-:
\begin{DoxyEnumerate}
\item R\-M\-S90
\item Gaussian fit within range of 3 sigma
\item rms after 5 sigma iterative cut of tails 
\end{DoxyEnumerate}

\subsection{Constructor \& Destructor Documentation}
\index{marlintpc\-::\-Triplet\-Calculation\-Tool@{marlintpc\-::\-Triplet\-Calculation\-Tool}!Triplet\-Calculation\-Tool@{Triplet\-Calculation\-Tool}}
\index{Triplet\-Calculation\-Tool@{Triplet\-Calculation\-Tool}!marlintpc::TripletCalculationTool@{marlintpc\-::\-Triplet\-Calculation\-Tool}}
\subsubsection[{Triplet\-Calculation\-Tool}]{\setlength{\rightskip}{0pt plus 5cm}marlintpc\-::\-Triplet\-Calculation\-Tool\-::\-Triplet\-Calculation\-Tool (
\begin{DoxyParamCaption}
\item[{const gear\-::\-T\-P\-C\-Parameters $\ast$}]{tpc\-Parameters, }
\item[{E\-V\-E\-N\-T\-::\-Tracker\-Hit $\ast$}]{current\-Hit, }
\item[{E\-V\-E\-N\-T\-::\-Tracker\-Hit $\ast$}]{previous\-Hit, }
\item[{E\-V\-E\-N\-T\-::\-Tracker\-Hit $\ast$}]{next\-Hit, }
\item[{int}]{method = {\ttfamily 0}}
\end{DoxyParamCaption}
)}\label{classmarlintpc_1_1TripletCalculationTool_a62b6e3b09b71dc6aa68e1f1fd310acdb}


Constructor with histogram to be evaluated and chosen method. 

In case of method=0 all methods are evaluated. method=1\-: R\-M\-S90 method=2\-: Gaussian fit within range of 3 sigma method 3\-: rms after 5 sigma iterative cut of tails 

\subsection{Member Function Documentation}
\index{marlintpc\-::\-Triplet\-Calculation\-Tool@{marlintpc\-::\-Triplet\-Calculation\-Tool}!get\-Z\-Triplet@{get\-Z\-Triplet}}
\index{get\-Z\-Triplet@{get\-Z\-Triplet}!marlintpc::TripletCalculationTool@{marlintpc\-::\-Triplet\-Calculation\-Tool}}
\subsubsection[{get\-Z\-Triplet}]{\setlength{\rightskip}{0pt plus 5cm}double marlintpc\-::\-Triplet\-Calculation\-Tool\-::get\-Z\-Triplet (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classmarlintpc_1_1TripletCalculationTool_a6d7c747320f632774f8ebf5b8d4712b9}


Function giving back the resolution from rms90. 

The factor 0.\-8 compensates the difference between the rms90 and a sigma of a gaussian distribution which is the value needed for a resolution. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Triplet\-Calculation\-Tool.\-h\item 
Triplet\-Calculation\-Tool.\-cc\end{DoxyCompactItemize}
