00001 #ifndef BINFLUCTUATIONEM_H
00002 #define BINFLUCTUATIONEM_H
00003
00004
00005 #include "TF1.h"
00006
00007 class BinFluctuationEM {
00008
00009 public:
00010
00011 BinFluctuationEM(Double_t inputEnergy = 0);
00012 ~BinFluctuationEM();
00013 void ReInit(Double_t);
00014 double CalcFluctuation(Double_t, Double_t);
00015
00016 private:
00017
00018 TF1 *fPol4a;
00019 TF1 *fPol4b;
00020 Double_t *fUppPars_a;
00021 Double_t *fLowPars_a;
00022 Double_t *fUppPars_b;
00023 Double_t *fLowPars_b;
00024 Double_t fUppEn;
00025 Double_t fLowEn;
00026
00027 Double_t fInputEnergy;
00028
00029 void Init();
00030
00031 };
00032 #endif //BINFLUCTUATIONEM_H