]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSPhysicsAnalyzerPeakFitter.h
New component for writing calibration data to fxs (Oystein)
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSPhysicsAnalyzerPeakFitter.h
1 #ifndef ALIHLTPHOSPHYSICSANALYZERPEAKFITTER_H
2 #define ALIHLTPHOSPHYSICSANALYZERPEAKFITTER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7
8 #include "Rtypes.h"
9 #include "AliHLTPHOSClusterDataStruct.h"
10 #include "AliHLTDataTypes.h"
11 #include "TH1F.h"
12 #include "TMath.h"
13
14
15 class AliHLTPHOSPhysicsAnalyzerPeakFitter
16 {
17
18  public:
19
20   AliHLTPHOSPhysicsAnalyzerPeakFitter();
21   virtual ~AliHLTPHOSPhysicsAnalyzerPeakFitter();
22   AliHLTPHOSPhysicsAnalyzerPeakFitter(const AliHLTPHOSPhysicsAnalyzerPeakFitter &);
23   AliHLTPHOSPhysicsAnalyzerPeakFitter & operator = (const AliHLTPHOSPhysicsAnalyzerPeakFitter &) {return *this;}
24
25   void    SetHistogram(TH1F* histPtr)            { fRootHistPtr = histPtr; }
26
27   Int_t   FitGaussian();
28   Int_t   FitLorentzian();
29   
30
31  private:
32   
33   Float_t fGainLow;
34   Float_t fGainHigh;
35   TH1F* fRootHistPtr;
36  
37   ClassDef(AliHLTPHOSPhysicsAnalyzerPeakFitter, 1);
38
39 };
40
41
42
43
44
45
46 #endif