]>
Commit | Line | Data |
---|---|---|
d655d7dd | 1 | #ifndef ALIEMCALRAWANALYZERLMS_H |
2 | #define ALIEMCALRAWANALYZERLMS_H | |
3 | /************************************************************************** | |
4 | * This file is property of and copyright by * | |
5 | * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 * | |
6 | * * | |
7 | * Primary Author: Per Thomas Hille <p.t.hille@fys.uio.no> * | |
8 | * * | |
9 | * Contributors are mentioned in the code where appropriate. * | |
10 | * Please report bugs to p.t.hille@fys.uio.no * | |
11 | * * | |
12 | * Permission to use, copy, modify and distribute this software and its * | |
13 | * documentation strictly for non-commercial purposes is hereby granted * | |
14 | * without fee, provided that the above copyright notice appears in all * | |
15 | * copies and that both the copyright notice and this permission notice * | |
16 | * appear in the supporting documentation. The authors make no claims * | |
17 | * about the suitability of this software for any purpose. It is * | |
18 | * provided "as is" without express or implied warranty. * | |
19 | **************************************************************************/ | |
20 | ||
21 | ||
22 | // Extraction of amplitude and peak position | |
23 | // FRom EMCAL raw data using | |
24 | // Chi square fit | |
25 | ||
26 | #include "AliEMCALRawAnalyzer.h" | |
27 | ||
28 | ||
29 | class TF1; | |
30 | class TGraph; | |
31 | ||
32 | class AliEMCALRawAnalyzerLMS : public AliEMCALRawAnalyzer | |
33 | { | |
34 | public: | |
35 | AliEMCALRawAnalyzerLMS(); | |
36 | virtual ~AliEMCALRawAnalyzerLMS(); | |
37 | virtual AliEMCALFitResults Evaluate( const vector<AliEMCALBunchInfo> &bunchvector, const UInt_t altrocfg1, const UInt_t altrocfg2 ); | |
38 | void PrintFitResult(const TF1 *f) const; | |
39 | ||
40 | private: | |
41 | AliEMCALRawAnalyzerLMS(const AliEMCALRawAnalyzerLMS & ); | |
42 | AliEMCALRawAnalyzerLMS & operator = (const AliEMCALRawAnalyzerLMS &); | |
43 | ||
44 | double fXaxis[MAXSAMPLES]; //Axis if time bins, ( used by TGraph ) | |
45 | const double fkEulerSquared; //e^2 = 7.389056098930650227 | |
46 | TGraph *fSig; // Signale holding the data to be fitted. | |
47 | TF1 *fTf1; // Analytical formula of the Semi Gaussian to be fitted | |
48 | ||
49 | ||
50 | ||
51 | }; | |
52 | ||
53 | #endif |