Public Member Functions | |
GHSym () | |
GHSym (const char *name, const char *title, Int_t nbins, Double_t low, Double_t up) | |
GHSym (const char *name, const char *title, Int_t nbins, const Double_t *bins) | |
GHSym (const char *name, const char *title, Int_t nbins, const Float_t *bins) | |
~GHSym () override | |
Int_t | BufferEmpty (Int_t action=0) override |
Int_t | BufferFill (Double_t, Double_t) override |
virtual Int_t | BufferFill (Double_t x, Double_t y, Double_t w) |
void | Copy (TObject &obj) const override |
Int_t | Fill (Double_t) override |
Int_t | Fill (const char *, Double_t) override |
Int_t | Fill (Double_t x, Double_t y) override |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t w) |
virtual Int_t | Fill (const char *namex, const char *namey, Double_t w) |
void | FillN (Int_t, const Double_t *, const Double_t *, Int_t) override |
void | FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1) override |
void | FillRandom (const char *fname, Int_t ntimes=5000, TRandom *rng=nullptr) override |
void | FillRandom (TH1 *h, Int_t ntimes=5000, TRandom *rng=nullptr) override |
Int_t | FindFirstBinAbove (Double_t threshold=0, Int_t axis=1, Int_t firstBin=1, Int_t lastBin=-1) const override |
Int_t | FindLastBinAbove (Double_t threshold=0, Int_t axis=1, Int_t firstBin=1, Int_t lastBin=-1) const override |
virtual void | FitSlices (TF1 *f1=nullptr, Int_t firstbin=0, Int_t lastbin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=nullptr) |
Int_t | GetBin (Int_t binx, Int_t biny=0, Int_t binz=0) const override |
virtual Double_t | GetBinWithContent2 (Double_t c, Int_t &binx, Int_t &biny, Int_t firstxbin=1, Int_t lastxbin=-1, Int_t firstybin=1, Int_t lastybin=-1, Double_t maxdiff=0) const |
Double_t | GetCellContent (Int_t binx, Int_t biny) const override |
Double_t | GetCellError (Int_t binx, Int_t biny) const override |
virtual Double_t | GetCorrelationFactor (Int_t axis1=1, Int_t axis2=2) const |
virtual Double_t | GetCovariance (Int_t axis1=1, Int_t axis2=2) const |
virtual void | GetRandom2 (Double_t &x, Double_t &y) |
void | GetStats (Double_t *stats) const override |
Double_t | Integral (Option_t *option="") const override |
virtual Double_t | Integral (Int_t firstxbin, Int_t lastxbin, Int_t firstybin, Int_t lastybin, Option_t *option="") const |
virtual Double_t | Integral (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Option_t *="") const |
virtual Double_t | IntegralAndError (Int_t firstxbin, Int_t lastxbin, Int_t firstybin, Int_t lastybin, Double_t &error, Option_t *option="") const |
Double_t | Interpolate (Double_t) const override |
Double_t | Interpolate (Double_t, Double_t) const override |
Double_t | Interpolate (Double_t, Double_t, Double_t) const override |
Double_t | KolmogorovTest (const TH1 *h2, Option_t *option="") const override |
Long64_t | Merge (TCollection *list) override |
virtual TProfile * | Profile (const char *name="_pf", Int_t firstbin=1, Int_t lastbin=-1, Option_t *option="") const |
virtual TH1D * | Projection (const char *name="_pr", Int_t firstBin=0, Int_t lastBin=-1, Option_t *option="") const |
void | PutStats (Double_t *stats) override |
virtual GHSym * | Rebin2D (Int_t ngroup=2, const char *newname="") |
void | Reset (Option_t *option="") override |
void | SetCellContent (Int_t binx, Int_t biny, Double_t content) override |
void | SetCellError (Int_t binx, Int_t biny, Double_t content) override |
virtual void | SetShowProjectionX (Int_t nbins=1) |
virtual void | SetShowProjectionY (Int_t nbins=1) |
TH1 * | ShowBackground (Int_t niter=20, Option_t *option="same") override |
Int_t | ShowPeaks (Double_t sigma=2, Option_t *option="", Double_t threshold=0.05) override |
void | Smooth (Int_t ntimes=1, Option_t *option="") override |
Protected Member Functions | |
virtual Double_t | DoIntegral (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Double_t &error, Option_t *option, Bool_t doError=kFALSE) const |
Protected Attributes | |
TH2 * | fMatrix {nullptr} |
Double_t | fTsumwxy {0.} |
Double_t | fTsumwy {0.} |
Double_t | fTsumwy2 {0.} |
Private Member Functions | |
GHSym (const GHSym &) | |
ClassDefOverride (GHSym, 1) | |
GHSym & | operator= (const GHSym &) |
#include <GHSym.h>
GHSym::GHSym | ( | const char * | name, |
const char * | title, | ||
Int_t | nbins, | ||
Double_t | low, | ||
Double_t | up | ||
) |
GHSym::GHSym | ( | const char * | name, |
const char * | title, | ||
Int_t | nbins, | ||
const Double_t * | bins | ||
) |
GHSym::GHSym | ( | const char * | name, |
const char * | title, | ||
Int_t | nbins, | ||
const Float_t * | bins | ||
) |
|
overridedefault |
|
private |
|
override |
Fill histogram with all entries in the buffer. action = -1 histogram is reset and refilled from the buffer (called by THistPainter::Paint) action = 0 histogram is filled from the buffer action = 1 histogram is filled and buffer is deleted The buffer is automatically deleted when the number of entries in the buffer is greater than the number of entries in the histogram
Definition at line 92 of file GHSym.cxx.
References pygui.grut-view::action, Fill(), and Reset().
Referenced by BufferFill(), GHSymF::GetBinContent(), GHSymD::GetBinContent(), GetStats(), and Merge().
|
inlineoverride |
|
virtual |
Definition at line 189 of file GHSym.cxx.
References BufferEmpty(), Fill(), and Reset().
|
private |
|
override |
Definition at line 218 of file GHSym.cxx.
References fMatrix, fTsumwxy, fTsumwy, and fTsumwy2.
Referenced by GHSymF::Copy(), GHSymD::Copy(), GHSym(), and Merge().
|
protectedvirtual |
Definition at line 229 of file GHSym.cxx.
References GetBin().
Referenced by Integral(), and IntegralAndError().
|
override |
Definition at line 297 of file GHSym.cxx.
Referenced by BufferEmpty(), BufferFill(), FillN(), FillRandom(), and Merge().
|
inlineoverride |
|
override |
|
virtual |
|
virtual |
|
inlineoverride |
|
override |
|
override |
|
override |
|
override |
|
override |
|
virtual |
Definition at line 658 of file GHSym.cxx.
References Projection().
|
override |
Definition at line 833 of file GHSym.cxx.
Referenced by DoIntegral(), GHSymF::GetBinContent(), GHSymD::GetBinContent(), GetCellContent(), GetCellError(), GetStats(), Merge(), Profile(), Rebin2D(), GHSymF::SetBinContent(), GHSymD::SetBinContent(), SetCellContent(), SetCellError(), and Smooth().
|
virtual |
|
override |
|
override |
|
virtual |
Definition at line 921 of file GHSym.cxx.
References GetCovariance().
|
virtual |
Definition at line 943 of file GHSym.cxx.
References GetStats().
Referenced by GetCorrelationFactor().
|
virtual |
|
override |
Definition at line 1017 of file GHSym.cxx.
References BufferEmpty(), fTsumwxy, fTsumwy, fTsumwy2, and GetBin().
Referenced by GetCovariance(), Merge(), Projection(), and Rebin2D().
|
override |
|
virtual |
Definition at line 1113 of file GHSym.cxx.
References DoIntegral().
|
inlinevirtual |
|
virtual |
Definition at line 1124 of file GHSym.cxx.
References DoIntegral().
|
override |
|
override |
|
override |
|
override |
Definition at line 1469 of file GHSym.cxx.
References BufferEmpty(), Copy(), Fill(), GetBin(), GetStats(), PutStats(), and Reset().
|
virtual |
|
virtual |
method for performing projection
Definition at line 1979 of file GHSym.cxx.
References GetCellContent(), GetCellError(), and GetStats().
Referenced by FitSlices().
|
override |
|
virtual |
Definition at line 2230 of file GHSym.cxx.
References GetBin(), GetStats(), and PutStats().
|
override |
Definition at line 2543 of file GHSym.cxx.
References fMatrix, fTsumwxy, fTsumwy, and fTsumwy2.
Referenced by BufferEmpty(), BufferFill(), Merge(), GHSymF::Reset(), and GHSymD::Reset().
|
override |
|
override |
|
virtual |
|
virtual |
|
override |
|
override |
|
override |
|
protected |
! Transient pointer to the 2D-Matrix used in Draw() or GetMatrix()
Definition at line 101 of file GHSym.h.
Referenced by Copy(), GHSymF::GetMatrix(), GHSymD::GetMatrix(), GHSym(), and Reset().
|
protected |
Total Sum of weight*X*Y.
Definition at line 100 of file GHSym.h.
Referenced by Copy(), Fill(), GetStats(), GHSym(), PutStats(), and Reset().
|
protected |
Total Sum of weight*Y.
Definition at line 98 of file GHSym.h.
Referenced by Copy(), Fill(), GetStats(), GHSym(), PutStats(), and Reset().
|
protected |
Total Sum of weight*Y*Y.
Definition at line 99 of file GHSym.h.
Referenced by Copy(), Fill(), GetStats(), GHSym(), PutStats(), and Reset().