GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FitSpectra Class Reference

#include <FitSpectra.h>

Public Member Functions

double BGPlusCBDS (double *xx, double *par)
 
double BGPlusDinoFct (double *xx, double *par)
 
double BGPlusGaus (double *xx, double *par)
 
void Calib ()
 
double DinoFct (double *xx, double *pp)
 
void Fit ()
 
 FitSpectra (TString type="Dino", TString source="60Co")
 
 FitSpectra (TH1 *hist, TString type="Dino", TString source="60Co")
 
double fnc_dscb (double *xx, double *pp)
 
std::vector< double > GetArea ()
 
double GetCalibOffset ()
 
double GetCalibSlope ()
 
void GetCurrentHistogram ()
 
std::vector< double > GetECal ()
 
std::vector< double > GetEPeaks ()
 
int GetFitStatus ()
 
std::vector< double > GetFWHM ()
 
std::vector< double > GetFWHM_10 ()
 
std::vector< double > GetFWHM_10Cal ()
 
std::vector< double > GetFWHMCal ()
 
TString GetHistName ()
 
TH1 * GetHistogram ()
 
std::vector< double > GetLeftTailProp ()
 
std::vector< double > GetMean ()
 
std::vector< double > GetRightTailProp ()
 
std::vector< double > GetSigma ()
 
void InitSourceProperties ()
 
double MyGaus (double *xx, double *par)
 
void ReduceListOfPeak ()
 
void SetHistogram (TH1 *h)
 
void SetHistogram (TString HistName)
 
void SetPersoBackground (int NumberIterations=100, int Direction=TSpectrum::kBackDecreasingWindow, int FilterOrder=TSpectrum::kBackOrder8, bool Smoothing=true, int smoothingWindow=TSpectrum::kBackSmoothing3, bool Compton=false)
 
void SetSource (TString source)
 
void SetThreshold (double t)
 
void SetType (TString type)
 
void SetWidth (double w)
 
void SetXmax (double x)
 
void SetXmin (double x)
 
void UnsetPersoBackground ()
 
void UseOffset (bool off)
 
 ~FitSpectra ()
 

Public Attributes

TH1F * BackGroundHist
 
TF1 * BGFct
 
TVirtualPad * CurrentPad
 
std::vector< double > fArea
 
TString fBackGroundName
 
double fCalibOffset
 
double fCalibSlope
 
bool fCompton
 
bool fDefinePersoBackground
 
int fDirection
 
std::vector< double > fEcal
 
std::vector< double > fEPeaks
 
int fFilterOrder
 
TF1 * fFitFct
 
TString fFitFctName
 
TString fFitType
 
std::vector< double > fFWHM
 
std::vector< double > fFWHM_10
 
std::vector< double > fFWHM_10Cal
 
std::vector< double > fFWHMCal
 
TString fHistName
 
TH1 * fHistToFit
 
int FitStatus
 
std::vector< double > fLeftTailProp
 
std::vector< double > fMean
 
int fNFound
 
int fNPeaksToFit
 
int fNumberIterations
 
std::vector< double > fRightTailProp
 
std::vector< double > fSigma
 
bool fSmoothing
 
int fsmoothingWindow
 
TString fSourceName
 
double fThreshold
 
bool fUseOffset
 
double fWidth
 
double fxmax
 
double fxmin
 
std::vector< float > fXPeaks
 
std::vector< float > fYPeaks
 
TF1 * GausFct
 

Detailed Description

Definition at line 20 of file FitSpectra.h.


The documentation for this class was generated from the following files: