1 \section{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component Class Reference}
2 \label{classAliHLTPHOSRawAnalyzerPeakFinderComponent}\index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{AliHLTPHOSRawAnalyzerPeakFinderComponent}}
3 {\tt \#include $<$Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.h$>$}
5 Inheritance diagram for Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::\begin{figure}[H]
8 \includegraphics[height=5cm]{classAliHLTPHOSRawAnalyzerPeakFinderComponent}
11 \subsection*{Public Member Functions}
12 \begin{CompactItemize}
14 {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} ()
16 {\bf $\sim$Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} ()
18 virtual const char $\ast$ {\bf Get\-Component\-ID} ()
20 virtual {\bf Ali\-HLTComponent} $\ast$ {\bf Spawn} ()
22 \subsection*{Private Member Functions}
23 \begin{CompactItemize}
25 Bool\_\-t {\bf Load\-PFVector} ()
27 Bool\_\-t {\bf Load\-PFVector} (int startindex, int Nsamples, int tau, int fs)
29 {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} \&)
31 {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} \& {\bf operator=} (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component})
35 \subsection{Constructor \& Destructor Documentation}
36 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{AliHLTPHOSRawAnalyzerPeakFinderComponent}}
37 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{AliHLTPHOSRawAnalyzerPeakFinderComponent}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
38 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component ()}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_a0}
43 Definition at line 26 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
45 References Load\-PFVector().
47 \footnotesize\begin{verbatim}26 :AliHLTPHOSRawAnalyzerComponent()
49 28 fAnalyzerPtr = new AliHLTPHOSRawAnalyzerPeakFinder();
51 30 if(LoadPFVector() == kFALSE)
53 32 // cout << "Warning, could not load PF vectors" << endl;
57 36 // cout << "Loaded PF vectors" << endl;
60 \end{verbatim}\normalsize
63 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!~AliHLTPHOSRawAnalyzerPeakFinderComponent@{$\sim$AliHLTPHOSRawAnalyzerPeakFinderComponent}}
64 \index{~AliHLTPHOSRawAnalyzerPeakFinderComponent@{$\sim$AliHLTPHOSRawAnalyzerPeakFinderComponent}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
65 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::$\sim${\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} ()}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_a1}
70 Definition at line 41 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
72 \footnotesize\begin{verbatim}42 {
75 \end{verbatim}\normalsize
78 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{AliHLTPHOSRawAnalyzerPeakFinderComponent}}
79 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{AliHLTPHOSRawAnalyzerPeakFinderComponent}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
80 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component (const {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component} \&)\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_d2}
85 Definition at line 47 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
87 \footnotesize\begin{verbatim}47 : AliHLTPHOSRawAnalyzerComponent()
91 \end{verbatim}\normalsize
96 \subsection{Member Function Documentation}
97 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!GetComponentID@{GetComponentID}}
98 \index{GetComponentID@{GetComponentID}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
99 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::Get\-Component\-ID ()\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_a2}
102 Returns the component ID
104 Implements {\bf Ali\-HLTPHOSRaw\-Analyzer\-Component} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzerComponent_a12})}.
106 Definition at line 54 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
108 \footnotesize\begin{verbatim}55 {
109 56 return "PhosRawPeakFinder";
111 \end{verbatim}\normalsize
114 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!LoadPFVector@{LoadPFVector}}
115 \index{LoadPFVector@{LoadPFVector}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
116 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Bool\_\-t Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::Load\-PFVector (int {\em startindex}, int {\em Nsamples}, int {\em tau}, int {\em fs})\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_d1}
121 Definition at line 67 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
123 References HLTFatal, PF\_\-VECTOR\_\-DIR, Ali\-HLTPHOSRaw\-Analyzer::Set\-AVector(), and Ali\-HLTPHOSRaw\-Analyzer::Set\-TVector().
125 \footnotesize\begin{verbatim}68 {
126 69 char tmpPFPath[PF_MAX_PATH_LENGTH];
127 70 Double_t tmpAVector[nSamples];
128 71 Double_t tmpTVector[nSamples];
129 72 sprintf(tmpPFPath,"%s%s/start%dN%dtau%dfs%d.txt", getenv("ALICE_ROOT"), PF_VECTOR_DIR, startIndex, nSamples, tau, fs);
131 74 fp = fopen(tmpPFPath, "r");
135 78 for(int i=0; i < nSamples; i++)
137 80 fscanf(fp, "%lf", &tmpAVector[i]);
142 85 for(int i=0; i < nSamples; i++)
144 87 fscanf(fp, "%lf", &tmpTVector[i]);
146 89 fAnalyzerPtr->SetAVector(tmpAVector, nSamples);
147 90 fAnalyzerPtr->SetTVector(tmpTVector, nSamples);
154 97 HLTFatal("ERROR: could not open PF vector file");
158 \end{verbatim}\normalsize
161 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!LoadPFVector@{LoadPFVector}}
162 \index{LoadPFVector@{LoadPFVector}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
163 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Bool\_\-t Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::Load\-PFVector ()\hspace{0.3cm}{\tt [private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_d0}
168 Definition at line 60 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
170 References DEFAULT\_\-FS, DEFAULT\_\-TAU, PF\_\-DEFAULT\_\-N\_\-SAMPLES, and PF\_\-DEFAULT\_\-STARTINDEX.
172 Referenced by Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component().
174 \footnotesize\begin{verbatim}61 {
175 62 return LoadPFVector(PF_DEFAULT_STARTINDEX, PF_DEFAULT_N_SAMPLES, DEFAULT_TAU, DEFAULT_FS );
177 \end{verbatim}\normalsize
180 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!operator=@{operator=}}
181 \index{operator=@{operator=}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
182 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}\& Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::operator= (const {\em Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component})\hspace{0.3cm}{\tt [inline, private]}}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_d3}
187 Definition at line 22 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.h.
189 \footnotesize\begin{verbatim}23 {
192 \end{verbatim}\normalsize
195 \index{AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}!Spawn@{Spawn}}
196 \index{Spawn@{Spawn}!AliHLTPHOSRawAnalyzerPeakFinderComponent@{Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component}}
197 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ali\-HLTComponent} $\ast$ Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component::Spawn ()\hspace{0.3cm}{\tt [virtual]}}\label{classAliHLTPHOSRawAnalyzerPeakFinderComponent_a3}
200 Spawn function. Each component must implement a spawn function to create a new instance of the class. Basically the function must return {\em new {\bf my\_\-class\_\-name}\/}. \begin{Desc}
201 \item[Returns:]new class instance \end{Desc}
204 Implements {\bf Ali\-HLTPHOSRaw\-Analyzer\-Component} {\rm (p.\,\pageref{classAliHLTPHOSRawAnalyzerComponent_a16})}.
206 Definition at line 104 of file Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx.
208 \footnotesize\begin{verbatim}105 {
209 106 return new AliHLTPHOSRawAnalyzerPeakFinderComponent;
211 \end{verbatim}\normalsize
216 The documentation for this class was generated from the following files:\begin{CompactItemize}
218 {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.h}\item
219 {\bf Ali\-HLTPHOSRaw\-Analyzer\-Peak\-Finder\-Component.cxx}\end{CompactItemize}