|
JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RFitDataGaus2D.hh>
Public Member Functions | |
| RFitDataGaus2D () | |
| RFitDataGaus2D (const RFitDataGaus2D &original) | |
| RFitDataGaus2D & | operator= (const RFitDataGaus2D &original) |
| virtual | ~RFitDataGaus2D () |
| virtual Int_t | GetComponentNumber () const |
| virtual Int_t | GetBgType () const |
| virtual Int_t | GetBgParNumber () const |
| virtual Int_t | SaveFitData (const string &fname) const |
| virtual Int_t | LoadFitData (const string &fname) |
| ClassDef (RFitDataGaus2D, 0) | |
Public Member Functions inherited from RFitData2D | |
| RFitData2D () | |
| RFitData2D (const RFitData2D &original) | |
| RFitData2D & | operator= (const RFitData2D &original) |
| virtual | ~RFitData2D () |
| virtual void | SetFitLimits (const Double_t x1, const Double_t x2, const Double_t y1, const Double_t y2) |
| virtual void | GetFitLimits (Double_t &x1, Double_t &x2, Double_t &y1, Double_t &y2) const |
| virtual Double_t | GetFitYmin () const |
| virtual Double_t | GetFitYmax () const |
| virtual void | SetPlotLimits (const Double_t x1, const Double_t x2, const Double_t y1, const Double_t y2) |
| virtual void | GetPlotLimits (Double_t &x1, Double_t &x2, Double_t &y1, Double_t &y2) const |
| virtual Double_t | GetPlotYmin () const |
| virtual Double_t | GetPlotYmax () const |
| virtual Bool_t | IsLogZ () const |
| ClassDef (RFitData2D, 0) | |
Public Member Functions inherited from RFitData1D | |
| 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) | |
Public Member Functions inherited from RFitDataBase | |
| 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 RFitDataGaus2D * | ReadFitData (const string &fname) |
Protected Member Functions inherited from RFitData2D | |
| virtual Int_t | WriteData (FILE *fp) const |
Protected Attributes | |
| Int_t | comp_number |
| Number of peaks. | |
| UInt_t | bg_type |
| Background type. | |
| Int_t | rel_ctr [5] |
| Array of relative centers identifiers. | |
| Int_t | rel_fact [5] |
| Array of relative constants (amplitude or integral) identifiers. | |
| Int_t | rel_sig [5] |
| Array of relative width (sigma) identifiers. | |
Protected Attributes inherited from RFitData2D | |
| Double_t | fit_ymin |
| Fit limit. | |
| Double_t | fit_ymax |
| Fit limit. | |
| Double_t | plot_ymin |
| Plot limit. | |
| Double_t | plot_ymax |
| Plot limit. | |
| Bool_t | plot_logz |
| Log scale for plot. | |
Protected Attributes inherited from RFitData1D | |
| 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. | |
Protected Attributes inherited from RFitDataBase | |
| 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 (RFitDataGaus2D) | |
Friends | |
| class | RFitGaus2D |
| class | RGFitGaus2D |
Additional Inherited Members | |
Static Protected Member Functions inherited from RFitData2D | |
| static Int_t | ReadData (FILE *fp, RFitData2D &fdata) |
Static Protected Member Functions inherited from RFitData1D | |
| static Int_t | ReadData (FILE *fp, RFitData1D &fdata) |
Static Protected Member Functions inherited from RFitDataBase | |
| static Int_t | ReadData (FILE *fp, RFitDataBase &fdata) |
Fit data for 2D Gauss peaks fit class (RFitGauss2D).
| RFitDataGaus2D::RFitDataGaus2D | ( | ) |
Default constructor.
References bg_type, comp_number, rel_ctr, rel_fact, rel_sig, and RGAUS2D_MAX.
Referenced by RGFitGaus2D::CreateFitData(), RFitGaus2D::CreateFitData(), and ReadFitData().
| RFitDataGaus2D::RFitDataGaus2D | ( | const RFitDataGaus2D & | original | ) |
Copy constructor.
| original | data to copy |
References bg_type, comp_number, rel_ctr, rel_fact, rel_sig, and RGAUS2D_MAX.
|
virtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
| RFitDataGaus2D & RFitDataGaus2D::operator= | ( | const RFitDataGaus2D & | original | ) |
Affectation operator.
| original | data to copy |
References bg_type, comp_number, rel_ctr, rel_fact, rel_sig, and RGAUS2D_MAX.
|
inlinevirtual |
Get the number of peaks.
References comp_number.
|
inlinevirtual |
Get the background type.
References bg_type.
|
virtual |
Get the number of background parameters.
Reimplemented in RFitGaus2D.
References bg_type, and RFitGaus2D::GetBgParNumber().
|
virtual |
Save fit data to file. The function returns 0 if no error occured.
| fname | file name |
Implements RFitDataBase.
References bg_type, comp_number, rel_ctr, rel_fact, rel_sig, and RFitData2D::WriteData().
|
virtual |
Load fit data from a file. The function returns 0 if no error occured.
| fname | file name |
Implements RFitDataBase.
Reimplemented in RFitGaus2D.
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 RFitData2D.
References bg_type, comp_number, RFitData2D::ReadData(), rel_ctr, rel_fact, rel_sig, and RFitDataGaus2D().
Referenced by LoadFitData(), and RFitGaus2D::LoadFitData().
| RFitDataGaus2D::ClassDef | ( | RFitDataGaus2D | , |
| 0 | |||
| ) |
For ROOT dictionary.