\section{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit Class Reference}
\label{classAliHLTPHOSRawAnalyzerChiSquareFit}\index{AliHLTPHOSRawAnalyzerChiSquareFit@{AliHLTPHOSRawAnalyzerChiSquareFit}}
{\tt \#include $<$Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.h$>$}

Inheritance diagram for Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classAliHLTPHOSRawAnalyzerChiSquareFit}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} ()
\item 
{\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} \&)
\item 
{\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit})
\item 
virtual {\bf $\sim$Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} ()
\item 
virtual void {\bf Evaluate} (int start=0, int lenght=100)
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}!AliHLTPHOSRawAnalyzerChiSquareFit@{AliHLTPHOSRawAnalyzerChiSquareFit}}
\index{AliHLTPHOSRawAnalyzerChiSquareFit@{AliHLTPHOSRawAnalyzerChiSquareFit}!AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit::Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit ()}\label{classAliHLTPHOSRawAnalyzerChiSquareFit_a0}


The Ali\-HLTPHOSPeakfinder class is the class for extracting the basic signal parameters \char`\"{}timing\char`\"{} and \char`\"{}energy\char`\"{} from the PHOS raw data. Physical data will for a given readout channel be a sequense of ADC digitized 10 bit integer values, however for performance reasons all values used in calculation is of type double. 

Definition at line 36 of file Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.cxx.

\footnotesize\begin{verbatim}36                                                                     :AliHLTPHOSRawAnalyzer()
37 {
38   cout <<"You cannot invoke the Fitter without arguments"<<endl;;
39 }
\end{verbatim}\normalsize 


\index{AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}!AliHLTPHOSRawAnalyzerChiSquareFit@{AliHLTPHOSRawAnalyzerChiSquareFit}}
\index{AliHLTPHOSRawAnalyzerChiSquareFit@{AliHLTPHOSRawAnalyzerChiSquareFit}!AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit::Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} \&)}\label{classAliHLTPHOSRawAnalyzerChiSquareFit_a1}


\index{AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}!~AliHLTPHOSRawAnalyzerChiSquareFit@{$\sim$AliHLTPHOSRawAnalyzerChiSquareFit}}
\index{~AliHLTPHOSRawAnalyzerChiSquareFit@{$\sim$AliHLTPHOSRawAnalyzerChiSquareFit}!AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit::$\sim${\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRawAnalyzerChiSquareFit_a3}




Definition at line 42 of file Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.cxx.

\footnotesize\begin{verbatim}43 {
44 
45 } //end AliHLTPHOSRawAnalyzerChiSquareFit
\end{verbatim}\normalsize 




\subsection{Member Function Documentation}
\index{AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}!Evaluate@{Evaluate}}
\index{Evaluate@{Evaluate}!AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit::Evaluate (int {\em start} = {\tt 0}, int {\em length} = {\tt 100})\hspace{0.3cm}{\tt  [virtual]}}\label{classAliHLTPHOSRawAnalyzerChiSquareFit_a4}


Extraction of timing and energy using the Peakfinde Algorithm. The. The parameters \char`\"{}start\char`\"{} and \char`\"{}length\char`\"{} defines a sub array of the data array that will be used for the the fit. If start+length must not exeed the total length of the Data array. \char`\"{}start\char`\"{} must be chosen as close as possible to t0. The baseline must also be subtracted. The length of \char`\"{}t\-Vector\char`\"{} and \char`\"{}a\-Vector\char`\"{} mus be equal to length. \char`\"{}index + length\char`\"{} must not exeed the length of the data array set in the constructor. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em start}]the start index of the subarray of the data array. \item[{\em length}]the number of samples to use starting from index \end{description}
\end{Desc}


Definition at line 60 of file Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.cxx.

\footnotesize\begin{verbatim}61 {
62   /*
63 
64   */
65 
66   //thats all for the moment 
67 } //end FitChiSquareFit
\end{verbatim}\normalsize 


\index{AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}!operator=@{operator=}}
\index{operator=@{operator=}!AliHLTPHOSRawAnalyzerChiSquareFit@{Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit}\& Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit::operator= (const  {\em Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit})\hspace{0.3cm}{\tt  [inline]}}\label{classAliHLTPHOSRawAnalyzerChiSquareFit_a2}




Definition at line 17 of file Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.h.

\footnotesize\begin{verbatim}18     {
19       return *this; 
20     }
\end{verbatim}\normalsize 




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.h}\item 
{\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit.cxx}\end{CompactItemize}
