AliRoot Core  3dc7879 (3dc7879)
AliCaloRawAnalyzerKStandardFast.h
Go to the documentation of this file.
1 #ifndef ALICALORAWANALYZERKSTANDARDFAST_H
2 #define ALICALORAWANALYZERKSTANDARDFAST_H
3 
4 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 //_________________________________________________________________________
23 
24 //_________________________________________________________________________
25 
27 
28 class TH1;
29 
31 {
32  friend class AliCaloRawAnalyzerFactory; // Factory for creation of raw analyzer (rule checker request)
33 
34  public:
35 
37 
38  virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector,
39  UInt_t altrocfg1,
40  UInt_t altrocfg2 );
41 
42  void FitRaw( Int_t firstTimeBin, Int_t lastTimeBin,
43  Float_t & amp, Float_t & time,
44  Float_t & chi2, Bool_t & fitDone) const ;
45 
46  private:
47 
48  TGraph* fSignal;
49  static Double_t RawResponseFunction(Double_t *x, Double_t *par);
50 
54 
58 
59 };
60 
61 #endif //ALICALORAWANALYZERKSTANDARDFAST_H
Raw data fitting: standard TMinuit fit.
void FitRaw(Int_t firstTimeBin, Int_t lastTimeBin, Float_t &amp, Float_t &time, Float_t &chi2, Bool_t &fitDone) const
Fits the raw signal time distribution.
Container class to hold results from fitting.
TGraph * fSignal
histogram for signal that will be fit
Double_t chi2
Definition: AnalyzeLaser.C:7
Raw data fitters base class.
Raw data fitters handling.
AliCaloRawAnalyzerKStandardFast & operator=(const AliCaloRawAnalyzerKStandardFast &)
static Double_t RawResponseFunction(Double_t *x, Double_t *par)
Approximate response function of the EMCal electronics. Simplified version, adapted from AliEMCALRawR...
virtual AliCaloFitResults Evaluate(const std::vector< AliCaloBunchInfo > &bunchvector, UInt_t altrocfg1, UInt_t altrocfg2)
Evaluation Amplitude and TOF.