GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
Public Member Functions | |
GGaus () | |
GGaus (const GGaus &) | |
GGaus (Double_t xlow, Double_t xhigh, Option_t *opt="gsc") | |
GGaus (Double_t xlow, Double_t xhigh, TF1 *bg, Option_t *opt="gsc") | |
GGaus (GGaus &&) noexcept=default | |
~GGaus ()=default | |
TF1 * | Background (Option_t *="TF1") |
void | Clear (Option_t *opt="") override |
void | Copy (TObject &) const override |
void | DrawResiduals (TH1 *) const |
bool | Fit (TH1 *, Option_t *opt="") |
Double_t | GetArea () const |
Double_t | GetAreaErr () const |
Double_t | GetCentroid () const |
Double_t | GetCentroidErr () const |
Double_t | GetFWHM () const |
Double_t | GetFWHMErr () const |
Double_t | GetSum () const |
Double_t | GetSumErr () const |
void | InitNames () |
bool | InitParams (TH1 *fithist=nullptr) |
GGaus & | operator= (const GGaus &)=default |
GGaus & | operator= (GGaus &&) noexcept=default |
void | Print (Option_t *opt="") const override |
Static Public Member Functions | |
static Bool_t | CompareArea (const GGaus &lhs, const GGaus &rhs) |
static Bool_t | CompareEnergy (const GGaus &lhs, const GGaus &rhs) |
Protected Member Functions | |
void | SetArea (Double_t a) |
void | SetArea (Double_t a, Double_t dA) |
void | SetAreaErr (Double_t d_a) |
void | SetChi2 (Double_t chi2) |
void | SetNdf (Double_t Ndf) |
void | SetSum (Double_t a) |
void | SetSumErr (Double_t d_a) |
Private Member Functions | |
Bool_t | IsInitialized () const |
void | SetInitialized (Bool_t flag=true) |
Private Attributes | |
double | fArea {0.} |
TF1 | fBGFit |
TF1 | fBGHist |
double | fChi2 {0.} |
double | fDArea {0.} |
double | fDSum {0.} |
bool | fInitFlag {false} |
double | fNdf {0.} |
double | fSum {0.} |
GGaus::GGaus | ( | ) |
Definition at line 53 of file GGaus.cxx.
References Clear(), fBGFit, and InitNames().
GGaus::GGaus | ( | Double_t | xlow, |
Double_t | xhigh, | ||
Option_t * | opt = "gsc" ) |
Definition at line 11 of file GGaus.cxx.
References Clear(), fBGFit, and InitNames().
GGaus::GGaus | ( | Double_t | xlow, |
Double_t | xhigh, | ||
TF1 * | bg, | ||
Option_t * | opt = "gsc" ) |
Definition at line 30 of file GGaus.cxx.
References Clear(), fBGFit, and InitNames().
|
defaultnoexcept |
|
default |
|
inline |
|
override |
Definition at line 46 of file GGaus.h.
References GetCentroid().
|
override |
void GGaus::DrawResiduals | ( | TH1 * | hist | ) | const |
Bool_t GGaus::Fit | ( | TH1 * | fithist, |
Option_t * | opt = "" ) |
Definition at line 151 of file GGaus.cxx.
References Copy(), DGREEN, DRED, fArea, fBGFit, fDSum, fSum, InitParams(), IsInitialized(), Print(), RED, and RESET_COLOR.
|
inline |
|
inline |
|
inline |
Definition at line 33 of file GGaus.h.
Referenced by CompareEnergy().
|
inline |
|
inline |
void GGaus::InitNames | ( | ) |
bool GGaus::InitParams | ( | TH1 * | fithist = nullptr | ) |
|
inlineprivate |
|
override |
|
inlineprotected |
|
inlineprotected |
Definition at line 54 of file GGaus.h.
References SetArea(), and SetAreaErr().
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
private |
|
private |
|
private |
|
private |
Definition at line 64 of file GGaus.h.
Referenced by Clear(), Copy(), GetAreaErr(), Print(), and SetAreaErr().
|
private |
Definition at line 69 of file GGaus.h.
Referenced by Clear(), Copy(), Fit(), GetSumErr(), Print(), and SetSumErr().
|
private |
Definition at line 73 of file GGaus.h.
Referenced by Clear(), Copy(), IsInitialized(), and SetInitialized().
|
private |