AliRoot Core  edcc906 (edcc906)
AliCaloRawAnalyzerFitter.h
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 
3 #ifndef ALICALORAWANALYZERFITTER_H
4 #define ALICALORAWANALYZERFITTER_H
5 
6 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
7  * See cxx source for full Copyright notice */
8 
9 //_________________________________________________________________________
17 //_________________________________________________________________________
18 
19 #include "AliCaloRawAnalyzer.h"
20 #include "AliCaloConstants.h"
21 
22 using namespace ALTRO;
23 using namespace EMCAL;
24 
25 class TF1;
26 class TGraph;
27 
29 {
30 
31 public:
32 
33  AliCaloRawAnalyzerFitter( const char *name, const char *nameshort );
34 
35  virtual ~AliCaloRawAnalyzerFitter();
36 
37  TF1 * GetFit() const { return fTf1; };
38 
39  void PrintFitResult(const TF1 *f) const;
40 
41 protected:
42 
43  const double fkEulerSquared;
44  TF1 * fTf1;
45  double fXaxis[ALTROMAXSAMPLES];
46 
47 private:
48 
50  AliCaloRawAnalyzerFitter & operator = (const AliCaloRawAnalyzerFitter & );
52 
53 };
54 
55 #endif //ALICALORAWANALYZERFITTER_H
Base class for extraction of signal amplitude and peak position.
const double fkEulerSquared
e^2 = 7.389056098930650227
Raw data fitters base class.
const int ALTROMAXSAMPLES
The maximum number of samples of the ALTRO.
TF1 * f
Definition: interpolTest.C:21
TF1 * fTf1
Analytical formula of the Semi Gaussian to be fitted.