15 #include "TVirtualFitter.h"
23 FitSpectra(TString type =
"Dino", TString source =
"60Co");
24 FitSpectra(TH1 *hist, TString type =
"Dino", TString source =
"60Co");
79 void SetPersoBackground(
int NumberIterations = 100,
int Direction = TSpectrum::kBackDecreasingWindow,
int FilterOrder = TSpectrum::kBackOrder8,
bool Smoothing =
true,
int smoothingWindow = TSpectrum::kBackSmoothing3,
bool Compton =
false);
94 double MyGaus(
double *xx,
double *par);
95 double fnc_dscb(
double *xx,
double *pp);
96 double DinoFct(
double*xx,
double*pp);
136 #endif // FITSPECTRA_H
std::vector< double > fEcal
std::vector< double > GetRightTailProp()
std::vector< double > GetSigma()
void SetHistogram(TH1 *h)
double BGPlusCBDS(double *xx, double *par)
std::vector< double > fMean
void UnsetPersoBackground()
void SetThreshold(double t)
std::vector< double > GetFWHMCal()
std::vector< double > fFWHMCal
void SetSource(TString source)
FitSpectra(TString type="Dino", TString source="60Co")
std::vector< double > GetFWHM_10Cal()
std::vector< double > fLeftTailProp
void InitSourceProperties()
std::vector< double > GetMean()
double BGPlusDinoFct(double *xx, double *par)
std::vector< double > fFWHM_10Cal
std::vector< double > GetArea()
std::vector< double > GetEPeaks()
std::vector< double > GetLeftTailProp()
double MyGaus(double *xx, double *par)
std::vector< double > fEPeaks
double BGPlusGaus(double *xx, double *par)
void SetPersoBackground(int NumberIterations=100, int Direction=TSpectrum::kBackDecreasingWindow, int FilterOrder=TSpectrum::kBackOrder8, bool Smoothing=true, int smoothingWindow=TSpectrum::kBackSmoothing3, bool Compton=false)
std::vector< double > fSigma
std::vector< double > GetECal()
std::vector< double > GetFWHM_10()
std::vector< float > fYPeaks
double fnc_dscb(double *xx, double *pp)
void GetCurrentHistogram()
std::vector< double > GetFWHM()
std::vector< double > fRightTailProp
std::vector< float > fXPeaks
std::vector< double > fFWHM
bool fDefinePersoBackground
std::vector< double > fArea
void SetType(TString type)
std::vector< double > fFWHM_10
double DinoFct(double *xx, double *pp)