]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/latex/classAliHLTPHOSRawAnalyzerPeakFinder.tex
New documentation
[u/mrichter/AliRoot.git] / HLT / PHOS / latex / classAliHLTPHOSRawAnalyzerPeakFinder.tex
CommitLineData
6ab63b4a 1\section{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder Class Reference}
2\label{classAliHLTPHOSRawAnalyzerPeakFinder}\index{AliHLTPHOSRawAnalyzerPeakFinder@{AliHLTPHOSRawAnalyzerPeakFinder}}
3{\tt \#include $<$Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h$>$}
4
5Inheritance diagram for Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::\begin{figure}[H]
6\begin{center}
7\leavevmode
8\includegraphics[height=2cm]{classAliHLTPHOSRawAnalyzerPeakFinder}
9\end{center}
10\end{figure}
11\subsection*{Public Member Functions}
12\begin{CompactItemize}
13\item
14{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} ()
15\item
16{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} \&)
17\item
18{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder})
19\item
20virtual {\bf $\sim$Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} ()
21\item
b75ae699 22virtual void {\bf Set\-TVector} (Double\_\-t $\ast$t\-Vect, Int\_\-t size)
6ab63b4a 23\item
b75ae699 24virtual void {\bf Set\-AVector} (Double\_\-t $\ast$a\-Vect, Int\_\-t size)
6ab63b4a 25\item
b75ae699 26virtual void {\bf Evaluate} (Int\_\-t start=0, Int\_\-t lenght=100)
631f0149 27\item
28void {\bf Baseline\-Correction} (double $\ast$data\-Ptr, int N)
29\item
30void {\bf Baseline\-Correction} (double $\ast$data\-Ptr, double baseline\-Value)
31\item
32int {\bf Find\-Start\-Index} (double treshold)
33\item
34float {\bf Get\-Timing} ()
35\item
36float {\bf Get\-Energy} ()
37\item
38void {\bf Set\-Data} (double $\ast$data)
39\item
40void {\bf Set\-Sample\-Freq} (double freq)
41\item
b75ae699 42void {\bf Set\-Start\-Index} (int start\-Index)
43\item
631f0149 44void {\bf Make\-Initial\-Guess} ()
45\item
46void {\bf Make\-Initial\-Guess} (int treshold)
b75ae699 47\item
48virtual void {\bf Evaluate} (int start=0, int lenght=100)=0
49\item
50Double\_\-t {\bf Get\-Max\-Value} (Double\_\-t $\ast$dta, Int\_\-t size)
631f0149 51\end{CompactItemize}
52\subsection*{Protected Attributes}
53\begin{CompactItemize}
54\item
b75ae699 55Double\_\-t $\ast$ {\bf f\-Float\-Data\-Ptr}
631f0149 56\item
57double {\bf f\-Sample\-Frequency}
58\item
59double {\bf f\-DTof\-Guess}
60\item
61double {\bf f\-DAmpl\-Guess}
62\item
63double {\bf f\-Tau}
64\item
65double {\bf f\-DTof}
66\item
67double {\bf f\-DAmpl}
68\item
b75ae699 69int {\bf f\-Start\-Index}
6ab63b4a 70\end{CompactItemize}
71\subsection*{Private Attributes}
72\begin{CompactItemize}
73\item
b75ae699 74Double\_\-t $\ast$ {\bf f\-TVector\-Ptr}
75\item
76Double\_\-t $\ast$ {\bf f\-AVector\-Ptr}
77\item
78Int\_\-t {\bf f\-TVector\-Size}
6ab63b4a 79\item
b75ae699 80Int\_\-t {\bf f\-AVector\-Size}
6ab63b4a 81\end{CompactItemize}
82
83
84\subsection{Constructor \& Destructor Documentation}
85\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!AliHLTPHOSRawAnalyzerPeakFinder@{AliHLTPHOSRawAnalyzerPeakFinder}}
86\index{AliHLTPHOSRawAnalyzerPeakFinder@{AliHLTPHOSRawAnalyzerPeakFinder}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
631f0149 87\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder ()}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera0}
88
6ab63b4a 89
631f0149 90The 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.
6ab63b4a 91
b75ae699 92Definition at line 42 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.cxx.
631f0149 93
b75ae699 94\footnotesize\begin{verbatim}42 :AliHLTPHOSRawAnalyzer(), fTVectorPtr(0), fAVectorPtr(0), fTVectorSize(0), fAVectorSize(0)
9543 {
9644 // cout <<"PeakFinder:You cannot invoke the Fitter without arguments"<<endl;;
9745 }
631f0149 98\end{verbatim}\normalsize
99
100
101\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!AliHLTPHOSRawAnalyzerPeakFinder@{AliHLTPHOSRawAnalyzerPeakFinder}}
6ab63b4a 102\index{AliHLTPHOSRawAnalyzerPeakFinder@{AliHLTPHOSRawAnalyzerPeakFinder}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
631f0149 103\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} \&)}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera1}
6ab63b4a 104
105
106\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!~AliHLTPHOSRawAnalyzerPeakFinder@{$\sim$AliHLTPHOSRawAnalyzerPeakFinder}}
107\index{~AliHLTPHOSRawAnalyzerPeakFinder@{$\sim$AliHLTPHOSRawAnalyzerPeakFinder}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
631f0149 108\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::$\sim${\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder} ()\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera3}
109
110
111
112
b75ae699 113Definition at line 49 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.cxx.
631f0149 114
b75ae699 115\footnotesize\begin{verbatim}50 {
11651
11752 } //end AliHLTPHOSRawAnalyzerPeakFinder
631f0149 118\end{verbatim}\normalsize
6ab63b4a 119
120
121
122
123\subsection{Member Function Documentation}
631f0149 124\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!BaselineCorrection@{BaselineCorrection}}
125\index{BaselineCorrection@{BaselineCorrection}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
126\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Baseline\-Correction (double $\ast$ {\em data\-Ptr}, double {\em baseline\-Value})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera8}
127
128
b75ae699 129Shifts the baseline with the amount given by baseline\-Value If pretrigger samples are not present then the basline correction will be incorrect. \begin{Desc}
631f0149 130\item[Parameters:]
131\begin{description}
132\item[{\em data\-Ptr}]array for wich to correct the basline \item[{\em Basline\-Value}]the basline value to subtract.. \end{description}
133\end{Desc}
134
135
b75ae699 136Definition at line 75 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
631f0149 137
138References Ali\-HLTPHOSRaw\-Analyzer::f\-Float\-Data\-Ptr.
139
b75ae699 140\footnotesize\begin{verbatim}76 {
14177 fFloatDataPtr = dataPtr;
14278 printf("\nbaselineValue = %f\n", baselineValue);
14379 cout << "Baseline correction not yet implemeted" << endl;
14480 } //end BaslineCorrection
631f0149 145\end{verbatim}\normalsize
146
147
148\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!BaselineCorrection@{BaselineCorrection}}
149\index{BaselineCorrection@{BaselineCorrection}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
150\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Baseline\-Correction (double $\ast$ {\em data\-Ptr}, int {\em N})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera7}
151
152
153Attemps to level the basline to zero. The baseline will be calculated from the pretrigger samples and subtracted from the data array. If pretrigger samples are not present then the basline correction will be incorrect. \begin{Desc}
154\item[Parameters:]
155\begin{description}
156\item[{\em data\-Ptr}]array for wich to correct the basline \item[{\em N}]the number of pretrigger samples used to calculate the baseline. \end{description}
157\end{Desc}
158
159
b75ae699 160Definition at line 60 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
631f0149 161
b75ae699 162References Ali\-HLTPHOSRaw\-Analyzer::f\-Float\-Data\-Ptr.
631f0149 163
b75ae699 164\footnotesize\begin{verbatim}61 {
16562 fFloatDataPtr = dataPtr;
16663 // n=N;
16764 cout << "Baseline correction not yet implemeted" << endl;
16865 } //end BaselineCorrection
631f0149 169\end{verbatim}\normalsize
170
171
6ab63b4a 172\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!Evaluate@{Evaluate}}
173\index{Evaluate@{Evaluate}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
b75ae699 174\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void Ali\-HLTPHOSRaw\-Analyzer::Evaluate (int {\em start} = {\tt 0}, int {\em lenght} = {\tt 100})\hspace{0.3cm}{\tt [pure virtual, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera17}
6ab63b4a 175
176
6ab63b4a 177
178
b75ae699 179Implemented in {\bf Ali\-HLTPHOSRaw\-Analyzer\-Chi\-Square\-Fit} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzerChiSquareFit_AliHLTPHOSRawAnalyzerChiSquareFita4})}, {\bf Ali\-HLTPHOSRaw\-Analyzer\-Crude} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzerCrude_AliHLTPHOSRawAnalyzerCrudea4})}, {\bf Ali\-HLTPHOSRaw\-Analyzer\-KLevel} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzerKLevel_AliHLTPHOSRawAnalyzerKLevela4})}, and {\bf Ali\-HLTPHOSRaw\-Analyzer\-LMS} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzerLMS_AliHLTPHOSRawAnalyzerLMSa5})}.\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!Evaluate@{Evaluate}}
180\index{Evaluate@{Evaluate}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
181\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::Evaluate (Int\_\-t {\em start} = {\tt 0}, Int\_\-t {\em lenght} = {\tt 100})\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera6}
631f0149 182
631f0149 183
631f0149 184
185
b75ae699 186Referenced by main().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!FindStartIndex@{FindStartIndex}}
631f0149 187\index{FindStartIndex@{FindStartIndex}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
188\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ali\-HLTPHOSRaw\-Analyzer::Find\-Start\-Index (double {\em treshold})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera9}
189
190
191
192
b75ae699 193Definition at line 124 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
631f0149 194
b75ae699 195\footnotesize\begin{verbatim}125 {
196126 printf("\ntreshold = %f \n", treshold);
197127 cout << "Find Start index not yet implemented" << endl;
198128 return 0;
199129 } //end FindStartIndex
631f0149 200\end{verbatim}\normalsize
201
202
203\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!GetEnergy@{GetEnergy}}
204\index{GetEnergy@{GetEnergy}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
205\subsubsection{\setlength{\rightskip}{0pt plus 5cm}float Ali\-HLTPHOSRaw\-Analyzer::Get\-Energy ()\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera11}
206
207
208Gives the time in entities of ADC channels (quantization levels). Absolute enrgy is found by multiplying with offline calibration constants.
209
b75ae699 210Definition at line 99 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
211
212Referenced by main().
213
214\footnotesize\begin{verbatim}100 {
215101 return fDAmpl;
216102 } //end GetEnergy
217\end{verbatim}\normalsize
218
631f0149 219
b75ae699 220\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!GetMaxValue@{GetMaxValue}}
221\index{GetMaxValue@{GetMaxValue}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
222\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Double\_\-t Ali\-HLTPHOSRaw\-Analyzer::Get\-Max\-Value (Double\_\-t $\ast$ {\em dta}, Int\_\-t {\em size})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera18}
223
224
225
226
227Definition at line 176 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
228
229\footnotesize\begin{verbatim}177 {
230178
231179 Double_t tmpMax = 0;
232180
233181 for(int i = 0; i < size; i++)
234182 {
235183 if(dta[i] > tmpMax)
236184 {
237185 tmpMax = dta[i];
238186 }
239187
240188 }
241189
242190 return tmpMax;
243191
244192 }
631f0149 245\end{verbatim}\normalsize
246
247
248\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!GetTiming@{GetTiming}}
249\index{GetTiming@{GetTiming}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
250\subsubsection{\setlength{\rightskip}{0pt plus 5cm}float Ali\-HLTPHOSRaw\-Analyzer::Get\-Timing ()\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera10}
251
252
253Gives the timing in entities of sample indexes Physical time is found by multiplying with the sampling intervall (Ts).
254
b75ae699 255Definition at line 88 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
256
257Referenced by main().
631f0149 258
b75ae699 259\footnotesize\begin{verbatim}89 {
26090 return fDTof;
26191 } //end GetTiming
631f0149 262\end{verbatim}\normalsize
263
264
265\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!MakeInitialGuess@{MakeInitialGuess}}
266\index{MakeInitialGuess@{MakeInitialGuess}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
b75ae699 267\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Make\-Initial\-Guess (int {\em treshold})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera16}
631f0149 268
269
270This function applies only to the Chi and Least mean square fit. An initial guess is made based on the average of the first 5 samples and the first value exeeding threshold + this value. \begin{Desc}
271\item[Parameters:]
272\begin{description}
273\item[{\em treshold}]The index of the first value above treshold is ntaken to be the first value. \end{description}
274\end{Desc}
275
276
b75ae699 277Definition at line 149 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
631f0149 278
b75ae699 279\footnotesize\begin{verbatim}150 {
280151 printf("\ntreshold = %d\n", treshold);
281152 cout << "Make initial guess not yet implemeted" << endl;
282153 }
631f0149 283\end{verbatim}\normalsize
284
285
286\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!MakeInitialGuess@{MakeInitialGuess}}
287\index{MakeInitialGuess@{MakeInitialGuess}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
b75ae699 288\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Make\-Initial\-Guess ()\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera15}
631f0149 289
290
291This function applies only to the Chi and Least mean square fit. An initial guess is made based on the average of the first 5 samples and the first value exeeding this value.
292
b75ae699 293Definition at line 137 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
631f0149 294
b75ae699 295\footnotesize\begin{verbatim}138 {
296139 cout << "Make initial guess not yet implemeted" << endl;
297140 }
631f0149 298\end{verbatim}\normalsize
299
300
301\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!operator=@{operator=}}
6ab63b4a 302\index{operator=@{operator=}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
631f0149 303\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}\& Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::operator= (const {\em Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder})\hspace{0.3cm}{\tt [inline]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera2}
304
305
306
307
b75ae699 308Definition at line 16 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h.
631f0149 309
b75ae699 310\footnotesize\begin{verbatim}17 {
31118 return *this;
31219 }
631f0149 313\end{verbatim}\normalsize
6ab63b4a 314
315
316\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!SetAVector@{SetAVector}}
317\index{SetAVector@{SetAVector}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
b75ae699 318\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::Set\-AVector (Double\_\-t $\ast$ {\em a\-Vect}, Int\_\-t {\em size})\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera5}
319
320
631f0149 321
322
b75ae699 323Reimplemented from {\bf Ali\-HLTPHOSRaw\-Analyzer} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerLMSa17})}.
631f0149 324
b75ae699 325Definition at line 74 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.cxx.
631f0149 326
b75ae699 327References f\-AVector\-Ptr, and f\-AVector\-Size.
631f0149 328
b75ae699 329Referenced by main().
631f0149 330
b75ae699 331\footnotesize\begin{verbatim}75 {
33276
33377 fAVectorSize = size;
33478
33579 if(fAVectorPtr != 0)
33680 {
33781 delete fAVectorPtr;
33882 }
33983
34084 fAVectorPtr = new Double_t[size];
34185
34286 for(int i=0; i< size; i++)
34387 {
34488 fAVectorPtr[i] = aVec[i];
34589 }
34690 }
631f0149 347\end{verbatim}\normalsize
348
349
350\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!SetData@{SetData}}
351\index{SetData@{SetData}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
352\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Set\-Data (double $\ast$ {\em data})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera12}
353
354
355Set data array. Overrides data data array set in the constructor.
356
b75ae699 357Definition at line 109 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
631f0149 358
359References Ali\-HLTPHOSRaw\-Analyzer::f\-Float\-Data\-Ptr.
360
b75ae699 361Referenced by main().
362
363\footnotesize\begin{verbatim}110 {
364111 // double *dta;
365112 // dta = data;
366113 fFloatDataPtr = data;
367114 // cout << "Set data not yet implemented" << endl;
368115 }
631f0149 369\end{verbatim}\normalsize
370
371
372\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!SetSampleFreq@{SetSampleFreq}}
373\index{SetSampleFreq@{SetSampleFreq}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
374\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Set\-Sample\-Freq (double {\em freq})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera13}
375
376
377
378
b75ae699 379Definition at line 118 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
380
381References Ali\-HLTPHOSRaw\-Analyzer::f\-Sample\-Frequency.
631f0149 382
b75ae699 383Referenced by main().
384
385\footnotesize\begin{verbatim}119 {
386120 fSampleFrequency = freq;
387121 }
388\end{verbatim}\normalsize
389
390
391\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!SetStartIndex@{SetStartIndex}}
392\index{SetStartIndex@{SetStartIndex}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
393\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer::Set\-Start\-Index (int {\em start\-Index})\hspace{0.3cm}{\tt [inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFindera14}
394
395
396
397
398Definition at line 156 of file Ali\-HLTPHOSRaw\-Analyzer.cxx.
399
400References Ali\-HLTPHOSRaw\-Analyzer::f\-Start\-Index.
401
402\footnotesize\begin{verbatim}157 {
403158 fStartIndex = index;
404159 }
631f0149 405\end{verbatim}\normalsize
6ab63b4a 406
407
408\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!SetTVector@{SetTVector}}
409\index{SetTVector@{SetTVector}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
b75ae699 410\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::Set\-TVector (Double\_\-t $\ast$ {\em t\-Vect}, Int\_\-t {\em size})\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFindera4}
411
412
631f0149 413
414
b75ae699 415Reimplemented from {\bf Ali\-HLTPHOSRaw\-Analyzer} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerLMSa16})}.
631f0149 416
b75ae699 417Definition at line 55 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.cxx.
631f0149 418
b75ae699 419References f\-TVector\-Ptr, and f\-TVector\-Size.
631f0149 420
b75ae699 421Referenced by main().
631f0149 422
b75ae699 423\footnotesize\begin{verbatim}56 {
42457 fTVectorSize = size;
42558
42659 if(fTVectorPtr != 0)
42760 {
42861 delete fTVectorPtr;
42962 }
43063
43164 fTVectorPtr = new Double_t[size];
43265
43366 for(int i=0; i< size; i++)
43467 {
43568 fTVectorPtr[i] = tVec[i];
43669 }
43770 }
631f0149 438\end{verbatim}\normalsize
6ab63b4a 439
440
441
442
443\subsection{Member Data Documentation}
b75ae699 444\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fAVectorPtr@{fAVectorPtr}}
445\index{fAVectorPtr@{fAVectorPtr}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
446\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Double\_\-t$\ast$ {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::f\-AVector\-Ptr}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFinderr1}
447
631f0149 448
449
631f0149 450
451Definition at line 26 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h.
452
b75ae699 453Referenced by Set\-AVector().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fAVectorSize@{fAVectorSize}}
454\index{fAVectorSize@{fAVectorSize}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
455\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Int\_\-t {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::f\-AVector\-Size}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFinderr3}
456
457
458
459
460Definition at line 28 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h.
461
462Referenced by Set\-AVector().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fDAmpl@{fDAmpl}}
631f0149 463\index{fDAmpl@{fDAmpl}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
464\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-DAmpl}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp6}
465
466
467Amplitude in entities of ADC levels
468
b75ae699 469Definition at line 44 of file Ali\-HLTPHOSRaw\-Analyzer.h.\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fDAmplGuess@{fDAmplGuess}}
631f0149 470\index{fDAmplGuess@{fDAmplGuess}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
471\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-DAmpl\-Guess}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp3}
472
473
474Initial guess for amplitude
475
b75ae699 476Definition at line 41 of file Ali\-HLTPHOSRaw\-Analyzer.h.\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fDTof@{fDTof}}
631f0149 477\index{fDTof@{fDTof}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
478\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-DTof}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp5}
479
480
481Time of flight in entities of sample intervals
482
b75ae699 483Definition at line 43 of file Ali\-HLTPHOSRaw\-Analyzer.h.\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fDTofGuess@{fDTofGuess}}
631f0149 484\index{fDTofGuess@{fDTofGuess}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
485\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-DTof\-Guess}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp2}
6ab63b4a 486
487
631f0149 488Initial guess for t0
489
b75ae699 490Definition at line 40 of file Ali\-HLTPHOSRaw\-Analyzer.h.\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fFloatDataPtr@{fFloatDataPtr}}
631f0149 491\index{fFloatDataPtr@{fFloatDataPtr}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
b75ae699 492\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Double\_\-t$\ast$ {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-Float\-Data\-Ptr}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp0}
631f0149 493
494
495Float representation of data that should be fitted
496
b75ae699 497Definition at line 38 of file Ali\-HLTPHOSRaw\-Analyzer.h.
631f0149 498
499Referenced by Ali\-HLTPHOSRaw\-Analyzer::Ali\-HLTPHOSRaw\-Analyzer(), Ali\-HLTPHOSRaw\-Analyzer::Baseline\-Correction(), and Ali\-HLTPHOSRaw\-Analyzer::Set\-Data().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fSampleFrequency@{fSampleFrequency}}
500\index{fSampleFrequency@{fSampleFrequency}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
501\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-Sample\-Frequency}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp1}
502
503
504The ADC sample frequency in MHz used under data taking
505
b75ae699 506Definition at line 39 of file Ali\-HLTPHOSRaw\-Analyzer.h.
507
508Referenced by Ali\-HLTPHOSRaw\-Analyzer::Ali\-HLTPHOSRaw\-Analyzer(), and Ali\-HLTPHOSRaw\-Analyzer::Set\-Sample\-Freq().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fStartIndex@{fStartIndex}}
509\index{fStartIndex@{fStartIndex}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
510\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-Start\-Index}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp7}
631f0149 511
b75ae699 512
513
514
515Definition at line 46 of file Ali\-HLTPHOSRaw\-Analyzer.h.
516
517Referenced by Ali\-HLTPHOSRaw\-Analyzer::Set\-Start\-Index().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fTau@{fTau}}
631f0149 518\index{fTau@{fTau}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
519\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Ali\-HLTPHOSRaw\-Analyzer::f\-Tau}\hspace{0.3cm}{\tt [protected, inherited]}}\label{classAliHLTPHOSRawAnalyzer_AliHLTPHOSRawAnalyzerPeakFinderp4}
520
521
522The risetime in micro seconds
523
b75ae699 524Definition at line 42 of file Ali\-HLTPHOSRaw\-Analyzer.h.\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fTVectorPtr@{fTVectorPtr}}
525\index{fTVectorPtr@{fTVectorPtr}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
526\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Double\_\-t$\ast$ {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::f\-TVector\-Ptr}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFinderr0}
631f0149 527
528
529
530
b75ae699 531Definition at line 25 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h.
631f0149 532
b75ae699 533Referenced by Set\-TVector().\index{AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}!fTVectorSize@{fTVectorSize}}
534\index{fTVectorSize@{fTVectorSize}!AliHLTPHOSRawAnalyzerPeakFinder@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder}}
535\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Int\_\-t {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder::f\-TVector\-Size}\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinder_AliHLTPHOSRawAnalyzerPeakFinderr2}
6ab63b4a 536
537
6ab63b4a 538
631f0149 539
b75ae699 540Definition at line 27 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h.
541
542Referenced by Set\-TVector().
631f0149 543
6ab63b4a 544The documentation for this class was generated from the following files:\begin{CompactItemize}
545\item
546{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.h}\item
547{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder.cxx}\end{CompactItemize}