JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RFitDataDecay.hh>
Public Member Functions | |
RFitDataDecay () | |
RFitDataDecay (const RFitDataDecay &original) | |
RFitDataDecay & | operator= (const RFitDataDecay &original) |
virtual | ~RFitDataDecay () |
virtual Int_t | GetDecayNumber () const |
virtual Int_t | GetProdNumber () const |
virtual Double_t | GetProdTime () const |
virtual Double_t | GetDecayTime () const |
virtual Int_t | GetBgType () const |
virtual Int_t | GetBgParNumber () const |
virtual Double_t | GetEfficiency (const Int_t n) const |
virtual Int_t | SaveFitData (const string &fname) const |
virtual Int_t | LoadFitData (const string &fname) |
ClassDef (RFitDataDecay, 0) | |
![]() | |
RFitData1D () | |
RFitData1D (const RFitData1D &original) | |
RFitData1D & | operator= (const RFitData1D &original) |
virtual | ~RFitData1D () |
virtual void | SetFitLimits (Double_t x1, Double_t x2) |
virtual void | GetFitLimits (Double_t &x1, Double_t &x2) const |
virtual Double_t | GetFitXmin () const |
virtual Double_t | GetFitXmax () const |
virtual void | SetPlotLimits (Double_t x1, Double_t x2) |
virtual void | GetPlotLimits (Double_t &x1, Double_t &x2) const |
virtual Double_t | GetPlotXmin () const |
virtual Double_t | GetPlotXmax () const |
virtual Bool_t | IsLogX () const |
virtual Bool_t | IsLogY () const |
ClassDef (RFitData1D, 0) | |
![]() | |
RFitDataBase () | |
RFitDataBase (const RFitDataBase &original) | |
RFitDataBase & | operator= (const RFitDataBase &original) |
virtual | ~RFitDataBase () |
virtual void | Reset () |
virtual UInt_t | GetFitOptions () const |
virtual Int_t | GetFitMode () const |
virtual Int_t | GetParNumber () const |
virtual Int_t | GetFixNumber () const |
virtual Double_t | GetParValue (const Int_t p) const |
virtual Double_t | GetParError (const Int_t p) const |
virtual Double_t | GetCovariance (const Int_t p, const Int_t q) const |
virtual bool | IsFixParameter (const Int_t p) const |
virtual Int_t | GetFitResult () const |
virtual Double_t | GetFitChi2 () const |
virtual Int_t | GetFitNDF () const |
virtual Double_t | GetFitFCN () const |
virtual Double_t | GetFitEDM () const |
virtual Double_t | GetFitErrDef () const |
ClassDef (RFitDataBase, 0) | |
Protected Member Functions | |
virtual RFitDataDecay * | ReadFitData (const string &fname) |
![]() | |
virtual Int_t | WriteData (FILE *fp) const |
Protected Attributes | |
Double_t | time_prod |
Production start time (if not defined as parameter) | |
Double_t | time_dec |
Deacy start time (if not defined as parameter) | |
Double_t | rel_eff [3] |
Components relative detection efficiency. | |
Int_t | decay_number |
Number of decay components. | |
Int_t | prod_number |
Number of components with direct production. | |
UInt_t | bg_type |
Background type. | |
![]() | |
Double_t | fit_xmin |
Fit limit. | |
Double_t | fit_xmax |
Fit limit. | |
Double_t | plot_xmin |
Plot limit. | |
Double_t | plot_xmax |
Plot limit. | |
Bool_t | plot_logx |
Log scale for plot. | |
Bool_t | plot_logy |
Log scale for plot. | |
![]() | |
UInt_t | fit_options |
Fit options. | |
Int_t | fit_mode |
Fit mode (Chi2 or Log-likelyhood) | |
Int_t | fit_result |
Fit result. | |
Double_t | fit_chi2 |
Chi2. | |
Int_t | fit_ndf |
Number of degrees of freedom. | |
Double_t | fit_fcn |
Minimized function value (FCN) | |
Double_t | fit_edm |
Estimated distance to minimum. | |
Double_t | fit_err_def |
Error matrix status. | |
Int_t | par_number |
Number of fit parameters (total) | |
Double_t | par_val [50] |
Parameters values. | |
Double_t | par_err [50] |
Uncertainties values. | |
bool | par_fix [50] |
Fix parameters. | |
Double_t | par_cov [50][50] |
Covariance matrix. | |
Private Member Functions | |
GObject (RFitDataDecay) | |
Friends | |
class | RFitDecay |
class | RGFitDecay |
Additional Inherited Members | |
![]() | |
static Int_t | ReadData (FILE *fp, RFitData1D &fdata) |
![]() | |
static Int_t | ReadData (FILE *fp, RFitDataBase &fdata) |
Fit data for decay fit class (RFitDecay).
RFitDataDecay::RFitDataDecay | ( | ) |
Default constructor.
References bg_type, decay_number, prod_number, rel_eff, time_dec, and time_prod.
Referenced by RGFitDecay::CreateFitData(), RFitDecay::CreateFitData(), and ReadFitData().
RFitDataDecay::RFitDataDecay | ( | const RFitDataDecay & | original | ) |
Copy constructor.
original | data to copy |
References bg_type, decay_number, prod_number, rel_eff, time_dec, and time_prod.
|
virtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
RFitDataDecay & RFitDataDecay::operator= | ( | const RFitDataDecay & | original | ) |
Affectation operator.
original | data to copy |
References bg_type, decay_number, prod_number, rel_eff, time_dec, and time_prod.
|
inlinevirtual |
Get the number of decay components.
References decay_number.
|
inlinevirtual |
Get the number of components with direct production.
References prod_number.
|
inlinevirtual |
Get the start time of production phase. This value is either a parameter (options RFitOptions::fitGrowing and RFitOptions::varProdTime), either a static variable if it is not a parameter.
References time_prod.
|
inlinevirtual |
Get the start time of decay phase. This value is either a parameter (options RFitOptions::fitGrowing and RFitOptions::varProdTime), either a static variable if it is not a parameter.
References time_dec.
|
inlinevirtual |
Get the background type.
References bg_type.
|
virtual |
Get the number of background parameters.
Reimplemented in RFitDecay.
References bg_type, and RFitDecay::GetBgParNumber().
|
inlinevirtual |
Get the relative detection efficiency (with respect to decay component 0). This is a scale factor for amplitudes of the component.
n | component number: 1 ou 2 (0 excluded) |
References rel_eff.
Referenced by RGFitDecay::ParamToWidgetDecays().
|
virtual |
Save fit data to file. The function returns 0 if no error occured.
fname | file name |
Implements RFitDataBase.
References bg_type, decay_number, prod_number, rel_eff, time_dec, time_prod, and RFitData1D::WriteData().
|
virtual |
Load fit data from a file. The function returns 0 if no error occured.
fname | file name |
Implements RFitDataBase.
Reimplemented in RFitDecay.
References ReadFitData().
|
protectedvirtual |
Create a fit data object from a file. The function returns the pointer to the allocated object, or NULL in case of error.
fname | file name |
Implements RFitData1D.
References bg_type, decay_number, prod_number, RFitData1D::ReadData(), rel_eff, RFitDataDecay(), time_dec, and time_prod.
Referenced by LoadFitData(), and RFitDecay::LoadFitData().
RFitDataDecay::ClassDef | ( | RFitDataDecay | , |
0 | |||
) |
For ROOT dictionary.