

Public Member Functions | |
| 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 (const GGaus &) | |
| GGaus () | |
| ~GGaus () override | |
| 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) |
| 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.} |
| double | fNdf {0.} |
| double | fSum {0.} |
| bool | init_flag {false} |
#include <GGaus.h>
Inheritance diagram for GGaus:
Collaboration diagram for GGaus:| GGaus::GGaus | ( | Double_t | xlow, |
| Double_t | xhigh, | ||
| Option_t * | opt = "gsc" |
||
| ) |
| GGaus::GGaus | ( | Double_t | xlow, |
| Double_t | xhigh, | ||
| TF1 * | bg, | ||
| Option_t * | opt = "gsc" |
||
| ) |
Definition at line 32 of file GGaus.cxx.
References Clear(), fBGFit, and InitNames().
| GGaus::GGaus | ( | ) |
Definition at line 55 of file GGaus.cxx.
References Clear(), fBGFit, and InitNames().
|
inline |
|
override |
Definition at line 60 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 156 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 31 of file GGaus.h.
Referenced by CompareEnergy().
|
inline |
|
inline |
| bool GGaus::InitParams | ( | TH1 * | fithist = nullptr | ) |
|
inlineprivate |
|
override |
|
inlineprotected |
|
inlineprotected |
Definition at line 49 of file GGaus.h.
References SetArea(), and SetAreaErr().
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
private |
|
private |
|
private |
|
private |
Definition at line 65 of file GGaus.h.
Referenced by Clear(), Copy(), GetAreaErr(), Print(), and SetAreaErr().
|
private |
Definition at line 70 of file GGaus.h.
Referenced by Clear(), Copy(), Fit(), GetSumErr(), Print(), and SetSumErr().
|
private |
|
private |
|
private |
Definition at line 74 of file GGaus.h.
Referenced by Clear(), Copy(), IsInitialized(), and SetInitialized().