#include <TH3.h>
Inheritance diagram for TH3:
Public Member Functions | |
TH3 (const TH3 &) | |
virtual | ~TH3 () |
virtual Int_t | BufferEmpty (Int_t action=0) |
virtual void | Copy (TObject &hnew) const |
Int_t | Fill (Double_t) |
Int_t | Fill (Double_t, Double_t) |
Int_t | Fill (const char *, Double_t) |
Int_t | Fill (Double_t, const char *, Double_t) |
Int_t | Fill (const char *, Double_t, Double_t) |
Int_t | Fill (const char *, const char *, Double_t) |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t z) |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t z, Double_t w) |
virtual Int_t | Fill (const char *namex, const char *namey, const char *namez, Double_t w) |
virtual Int_t | Fill (const char *namex, Double_t y, const char *namez, Double_t w) |
virtual Int_t | Fill (const char *namex, const char *namey, Double_t z, Double_t w) |
virtual Int_t | Fill (Double_t x, const char *namey, const char *namez, Double_t w) |
virtual Int_t | Fill (Double_t x, const char *namey, Double_t z, Double_t w) |
virtual Int_t | Fill (Double_t x, Double_t y, const char *namez, Double_t w) |
virtual void | FillRandom (const char *fname, Int_t ntimes=5000) |
virtual void | FillRandom (TH1 *h, Int_t ntimes=5000) |
virtual Int_t | FindFirstBinAbove (Double_t threshold=0, Int_t axis=1) const |
virtual Int_t | FindLastBinAbove (Double_t threshold=0, Int_t axis=1) const |
virtual void | FitSlicesZ (TF1 *f1=0, Int_t binminx=1, Int_t binmaxx=0, Int_t binminy=1, Int_t binmaxy=0, Int_t cut=0, Option_t *option="QNR") |
virtual Double_t | GetBinWithContent3 (Double_t c, Int_t &binx, Int_t &biny, Int_t &binz, Int_t firstx=0, Int_t lastx=0, Int_t firsty=0, Int_t lasty=0, Int_t firstz=0, Int_t lastz=0, Double_t maxdiff=0) const |
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 | GetRandom3 (Double_t &x, Double_t &y, Double_t &z) |
virtual void | GetStats (Double_t *stats) const |
virtual Double_t | Integral (Option_t *option="") const |
virtual Double_t | Integral (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Int_t binz1, Int_t binz2, Option_t *option="") const |
virtual Double_t | IntegralAndError (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Int_t binz1, Int_t binz2, Double_t &err, Option_t *option="") const |
virtual Double_t | Interpolate (Double_t x) |
virtual Double_t | Interpolate (Double_t x, Double_t y) |
virtual Double_t | Interpolate (Double_t x, Double_t y, Double_t z) |
virtual Double_t | KolmogorovTest (const TH1 *h2, Option_t *option="") const |
virtual Long64_t | Merge (TCollection *list) |
TH1D * | ProjectionX (const char *name="_px", Int_t firstybin=0, Int_t lastybin=-1, Int_t firstzbin=0, Int_t lastzbin=-1, Option_t *option="") const |
TH1D * | ProjectionY (const char *name="_py", Int_t firstxbin=0, Int_t lastxbin=-1, Int_t firstzbin=0, Int_t lastzbin=-1, Option_t *option="") const |
TH1D * | ProjectionZ (const char *name="_pz", Int_t firstxbin=0, Int_t lastxbin=-1, Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const |
TH1 * | Project3D (Option_t *option="x") const |
TProfile2D * | Project3DProfile (Option_t *option="xy") const |
virtual void | PutStats (Double_t *stats) |
virtual void | Reset (Option_t *option="") |
virtual void | SetShowProjection (const char *option="xy", Int_t nbins=1) |
TH3 (const TH3 &) | |
virtual | ~TH3 () |
virtual Int_t | BufferEmpty (Int_t action=0) |
virtual void | Copy (TObject &hnew) const |
Int_t | Fill (Double_t) |
Int_t | Fill (Double_t, Double_t) |
Int_t | Fill (const char *, Double_t) |
Int_t | Fill (Double_t, const char *, Double_t) |
Int_t | Fill (const char *, Double_t, Double_t) |
Int_t | Fill (const char *, const char *, Double_t) |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t z) |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t z, Double_t w) |
virtual Int_t | Fill (const char *namex, const char *namey, const char *namez, Double_t w) |
virtual Int_t | Fill (const char *namex, Double_t y, const char *namez, Double_t w) |
virtual Int_t | Fill (const char *namex, const char *namey, Double_t z, Double_t w) |
virtual Int_t | Fill (Double_t x, const char *namey, const char *namez, Double_t w) |
virtual Int_t | Fill (Double_t x, const char *namey, Double_t z, Double_t w) |
virtual Int_t | Fill (Double_t x, Double_t y, const char *namez, Double_t w) |
virtual void | FillRandom (const char *fname, Int_t ntimes=5000) |
virtual void | FillRandom (TH1 *h, Int_t ntimes=5000) |
virtual Int_t | FindFirstBinAbove (Double_t threshold=0, Int_t axis=1) const |
virtual Int_t | FindLastBinAbove (Double_t threshold=0, Int_t axis=1) const |
virtual void | FitSlicesZ (TF1 *f1=0, Int_t binminx=1, Int_t binmaxx=0, Int_t binminy=1, Int_t binmaxy=0, Int_t cut=0, Option_t *option="QNR") |
virtual Double_t | GetBinWithContent3 (Double_t c, Int_t &binx, Int_t &biny, Int_t &binz, Int_t firstx=0, Int_t lastx=0, Int_t firsty=0, Int_t lasty=0, Int_t firstz=0, Int_t lastz=0, Double_t maxdiff=0) const |
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 | GetRandom3 (Double_t &x, Double_t &y, Double_t &z) |
virtual void | GetStats (Double_t *stats) const |
virtual Double_t | Integral (Option_t *option="") const |
virtual Double_t | Integral (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Int_t binz1, Int_t binz2, Option_t *option="") const |
virtual Double_t | IntegralAndError (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Int_t binz1, Int_t binz2, Double_t &err, Option_t *option="") const |
virtual Double_t | Interpolate (Double_t x) |
virtual Double_t | Interpolate (Double_t x, Double_t y) |
virtual Double_t | Interpolate (Double_t x, Double_t y, Double_t z) |
virtual Double_t | KolmogorovTest (const TH1 *h2, Option_t *option="") const |
virtual Long64_t | Merge (TCollection *list) |
TH1D * | ProjectionX (const char *name="_px", Int_t firstybin=0, Int_t lastybin=-1, Int_t firstzbin=0, Int_t lastzbin=-1, Option_t *option="") const |
TH1D * | ProjectionY (const char *name="_py", Int_t firstxbin=0, Int_t lastxbin=-1, Int_t firstzbin=0, Int_t lastzbin=-1, Option_t *option="") const |
TH1D * | ProjectionZ (const char *name="_pz", Int_t firstxbin=0, Int_t lastxbin=-1, Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const |
TH1 * | Project3D (Option_t *option="x") const |
TProfile2D * | Project3DProfile (Option_t *option="xy") const |
virtual void | PutStats (Double_t *stats) |
virtual void | Reset (Option_t *option="") |
virtual void | SetShowProjection (const char *option="xy", Int_t nbins=1) |
Protected Member Functions | |
TH3 () | |
TH3 (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup, Int_t nbinsz, Double_t zlow, Double_t zup) | |
TH3 (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins, Int_t nbinsz, const Float_t *zbins) | |
TH3 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins, Int_t nbinsz, const Double_t *zbins) | |
virtual Int_t | BufferFill (Double_t, Double_t) |
virtual Int_t | BufferFill (Double_t, Double_t, Double_t) |
virtual Int_t | BufferFill (Double_t x, Double_t y, Double_t z, Double_t w) |
void | DoFillProfileProjection (TProfile2D *p2, const TAxis &a1, const TAxis &a2, const TAxis &a3, Int_t bin1, Int_t bin2, Int_t bin3, Int_t inBin, Bool_t useWeights) const |
TH1D * | DoProject1D (const char *name, const char *title, TAxis *projX, bool computeErrors, bool originalRange, bool useUF, bool useOF) const |
TH2D * | DoProject2D (const char *name, const char *title, TAxis *projX, TAxis *projY, bool computeErrors, bool originalRange, bool useUF, bool useOF) const |
TProfile2D * | DoProjectProfile2D (const char *name, const char *title, TAxis *projX, TAxis *projY, bool originalRange, bool useUF, bool useOF) const |
TH3 () | |
TH3 (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup, Int_t nbinsz, Double_t zlow, Double_t zup) | |
TH3 (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins, Int_t nbinsz, const Float_t *zbins) | |
TH3 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins, Int_t nbinsz, const Double_t *zbins) | |
virtual Int_t | BufferFill (Double_t, Double_t) |
virtual Int_t | BufferFill (Double_t, Double_t, Double_t) |
virtual Int_t | BufferFill (Double_t x, Double_t y, Double_t z, Double_t w) |
void | DoFillProfileProjection (TProfile2D *p2, const TAxis &a1, const TAxis &a2, const TAxis &a3, Int_t bin1, Int_t bin2, Int_t bin3, Int_t inBin, Bool_t useWeights) const |
TH1D * | DoProject1D (const char *name, const char *title, TAxis *projX, bool computeErrors, bool originalRange, bool useUF, bool useOF) const |
TH2D * | DoProject2D (const char *name, const char *title, TAxis *projX, TAxis *projY, bool computeErrors, bool originalRange, bool useUF, bool useOF) const |
TProfile2D * | DoProjectProfile2D (const char *name, const char *title, TAxis *projX, TAxis *projY, bool originalRange, bool useUF, bool useOF) const |
Protected Attributes | |
Double_t | fTsumwy |
Double_t | fTsumwy2 |
Double_t | fTsumwxy |
Double_t | fTsumwz |
Double_t | fTsumwz2 |
Double_t | fTsumwxz |
Double_t | fTsumwyz |
Definition at line 35 of file TH3.h.
TH3::TH3 | ( | ) | [protected] |
TH3::TH3 | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | nbinsy, | |||
Double_t | ylow, | |||
Double_t | yup, | |||
Int_t | nbinsz, | |||
Double_t | zlow, | |||
Double_t | zup | |||
) | [protected] |
Definition at line 57 of file TH3.cxx.
References TH1::fDimension, TH1::fNcells, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fYaxis, TH1::fZaxis, and TAxis::Set().
TH3::TH3 | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Float_t * | xbins, | |||
Int_t | nbinsy, | |||
const Float_t * | ybins, | |||
Int_t | nbinsz, | |||
const Float_t * | zbins | |||
) | [protected] |
Definition at line 77 of file TH3.cxx.
References TH1::fDimension, TH1::fNcells, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fYaxis, TH1::fZaxis, and TAxis::Set().
TH3::TH3 | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Int_t | nbinsy, | |||
const Double_t * | ybins, | |||
Int_t | nbinsz, | |||
const Double_t * | zbins | |||
) | [protected] |
Definition at line 98 of file TH3.cxx.
References TH1::fDimension, TH1::fNcells, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fYaxis, TH1::fZaxis, and TAxis::Set().
TH3::TH3 | ( | ) | [protected] |
TH3::TH3 | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | nbinsy, | |||
Double_t | ylow, | |||
Double_t | yup, | |||
Int_t | nbinsz, | |||
Double_t | zlow, | |||
Double_t | zup | |||
) | [protected] |
TH3::TH3 | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Float_t * | xbins, | |||
Int_t | nbinsy, | |||
const Float_t * | ybins, | |||
Int_t | nbinsz, | |||
const Float_t * | zbins | |||
) | [protected] |
TH3::TH3 | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Int_t | nbinsy, | |||
const Double_t * | ybins, | |||
Int_t | nbinsz, | |||
const Double_t * | zbins | |||
) | [protected] |
TH3::TH3 | ( | const TH3 & | ) |
virtual TH3::~TH3 | ( | ) | [virtual] |
Definition at line 222 of file TH3.cxx.
References buffer, BufferEmpty(), TH1::fBuffer, TH1::fBufferSize, TH1::fEntries, Fill(), and Reset().
void TH3::DoFillProfileProjection | ( | TProfile2D * | p2, | |
const TAxis & | a1, | |||
const TAxis & | a2, | |||
const TAxis & | a3, | |||
Int_t | bin1, | |||
Int_t | bin2, | |||
Int_t | bin3, | |||
Int_t | inBin, | |||
Bool_t | useWeights | |||
) | const [protected] |
Definition at line 2502 of file TH3.cxx.
References TArrayD::fArray, TArray::fN, TH1::fSumw2, TAxis::GetBinCenter(), TH1::GetBinContent(), p2(), u, and w.
Reimplemented from TH1.
Definition at line 149 of file TH3.cxx.
References buffer, TH1::fBuffer, TH1::fBufferSize, TH1::fEntries, Fill(), THLimitsFinder::FindGoodLimits(), TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, THLimitsFinder::GetLimitsFinder(), TAxis::GetXmax(), TAxis::GetXmin(), i, TH1::kCanRebin, keep, TH1::RebinAxis(), Reset(), TObject::TestBit(), x, xmax, xmin, y, ymax, and ymin.
Referenced by BufferFill(), and Merge().
void TH3::Copy | ( | TObject & | hnew | ) | const [virtual] |
Reimplemented from TH1.
Definition at line 134 of file TH3.cxx.
References TH1::Copy(), fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, and fTsumwz2.
Referenced by TH3I::Copy(), TH3F::Copy(), TH3S::Copy(), TH3D::Copy(), and TH3C::Copy().
Reimplemented from TH1.
Definition at line 67 of file TH3.h.
Referenced by BufferEmpty(), BufferFill(), ProjectionTester::buildHistograms(), ProjectionTester::buildHistogramsWithWeights(), FillRandom(), FitSlicesZ(), Merge(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), testAdd3D1(), testAdd3D2(), testBinDataData3D(), testBinDataData3DInt(), testMerge3D(), testMerge3DDiff(), testMerge3DLabelAll(), testMerge3DLabelAllDiff(), testMerge3DLabelDiff(), testMerge3DLabelSame(), testMul3D1(), testMul3D2(), testSparseData3DFull(), testSparseData3DSparse(), testSphere(), testTH3toTH1(), testTH3toTH2(), and unuranGraf2D().
Definition at line 255 of file TH3.cxx.
References TH1::AddBinContent(), BufferFill(), TArrayD::fArray, TH1::fBuffer, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, and TAxis::GetNbins().
Definition at line 298 of file TH3.cxx.
References TH1::AddBinContent(), BufferFill(), TArrayD::fArray, TH1::fBuffer, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, and TAxis::GetNbins().
Int_t TH3::Fill | ( | const char * | namex, | |
const char * | namey, | |||
const char * | namez, | |||
Double_t | w | |||
) | [virtual] |
Definition at line 344 of file TH3.cxx.
References TH1::AddBinContent(), TArrayD::fArray, TH1::fEntries, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TAxis::GetNbins(), x, and y.
Definition at line 383 of file TH3.cxx.
References TH1::AddBinContent(), TArrayD::fArray, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TAxis::GetNbins(), and x.
Definition at line 423 of file TH3.cxx.
References TH1::AddBinContent(), TArrayD::fArray, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TAxis::GetNbins(), x, and y.
Definition at line 463 of file TH3.cxx.
References TH1::AddBinContent(), TArrayD::fArray, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TAxis::GetNbins(), and y.
Definition at line 503 of file TH3.cxx.
References TH1::AddBinContent(), TArrayD::fArray, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TAxis::GetNbins(), and y.
Definition at line 544 of file TH3.cxx.
References TH1::AddBinContent(), TArrayD::fArray, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), and TAxis::GetNbins().
void TH3::FillRandom | ( | const char * | fname, | |
Int_t | ntimes = 5000 | |||
) | [virtual] |
Reimplemented from TH1.
Definition at line 585 of file TH3.cxx.
References TMath::BinarySearch(), TObject::Error(), TF1::Eval(), TH1::fDimension, Fill(), TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TROOT::GetFunction(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), gRandom, gROOT, nbins, r1, TRandom::Rndm(), x, and y.
Referenced by glbox(), glh3c(), glplot(), glplot_geom(), testConversion3D(), and testH3Integral().
Reimplemented from TH1.
Definition at line 658 of file TH3.cxx.
References TObject::Error(), TH1::fDimension, Fill(), GetRandom3(), h, x, and y.
Reimplemented from TH1.
Definition at line 692 of file TH3.cxx.
References TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TH1::GetBinContent(), TAxis::GetNbins(), and TObject::Warning().
Reimplemented from TH1.
Definition at line 735 of file TH3.cxx.
References TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TH1::GetBinContent(), TAxis::GetNbins(), and TObject::Warning().
void TH3::FitSlicesZ | ( | TF1 * | f1 = 0 , |
|
Int_t | binminx = 1 , |
|||
Int_t | binmaxx = 0 , |
|||
Int_t | binminy = 1 , |
|||
Int_t | binmaxy = 0 , |
|||
Int_t | cut = 0 , |
|||
Option_t * | option = "QNR" | |||
) | [virtual] |
Definition at line 778 of file TH3.cxx.
References TArrayD::fArray, Fill(), TH2::Fill(), TArray::fN, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TH1::GetBin(), TAxis::GetBinCenter(), TH1::GetBinContent(), TH1::GetBinError(), TF1::GetChisquare(), TROOT::GetFunction(), TNamed::GetName(), TAxis::GetNbins(), TFormula::GetNpar(), TF1::GetNumberFitPoints(), TFormula::GetParameter(), TFormula::GetParameters(), TF1::GetParError(), TFormula::GetParName(), TAxis::GetTitle(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), gROOT, name, npfits, TH1::SetCellError(), TFormula::SetParameters(), TF1::SetRange(), TNamed::SetTitle(), snprintf, title, w, x, and y.
Double_t TH3::GetBinWithContent3 | ( | Double_t | c, | |
Int_t & | binx, | |||
Int_t & | biny, | |||
Int_t & | binz, | |||
Int_t | firstx = 0 , |
|||
Int_t | lastx = 0 , |
|||
Int_t | firsty = 0 , |
|||
Int_t | lasty = 0 , |
|||
Int_t | firstz = 0 , |
|||
Int_t | lastz = 0 , |
|||
Double_t | maxdiff = 0 | |||
) | const [virtual] |
Definition at line 892 of file TH3.cxx.
References TMath::Abs(), TObject::Error(), TH1::fDimension, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TH1::GetBinContent(), TAxis::GetNbins(), i, j, and k.
Definition at line 944 of file TH3.cxx.
References TObject::Error(), GetCovariance(), and TH1::GetRMS().
Definition at line 961 of file TH3.cxx.
References TMath::Abs(), TObject::Error(), GetStats(), and TH1::kNstat.
Referenced by GetCorrelationFactor().
Definition at line 1008 of file TH3.cxx.
References TMath::BinarySearch(), TH1::ComputeIntegral(), TH1::fEntries, TH1::fIntegral, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinLowEdge(), TAxis::GetBinWidth(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), gRandom, nbins, r1, and TRandom::Rndm().
Referenced by FillRandom().
void TH3::GetStats | ( | Double_t * | stats | ) | const [virtual] |
Reimplemented from TH1.
Definition at line 1038 of file TH3.cxx.
References TMath::Abs(), TH1::fBuffer, TH1::fEntries, TH1::fgStatOverflows, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TH1::GetBin(), TAxis::GetBinCenter(), TH1::GetBinContent(), TH1::GetBinError(), TAxis::GetFirst(), TAxis::GetLast(), TAxis::GetNbins(), TAxis::kAxisRange, TObject::TestBit(), w, x, and y.
Referenced by DoProject1D(), DoProject2D(), GetCovariance(), and Merge().
Reimplemented from TH1.
Definition at line 1122 of file TH3.cxx.
References TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetFirst(), and TAxis::GetLast().
Referenced by THistPainter::PaintStat3().
Double_t TH3::IntegralAndError | ( | Int_t | binx1, | |
Int_t | binx2, | |||
Int_t | biny1, | |||
Int_t | biny2, | |||
Int_t | binz1, | |||
Int_t | binz2, | |||
Double_t & | err, | |||
Option_t * | option = "" | |||
) | const [virtual] |
Definition at line 1147 of file TH3.cxx.
References TH1::DoIntegral(), and kTRUE.
Referenced by testH3Integral().
Reimplemented from TH1.
Definition at line 1177 of file TH3.cxx.
References TObject::Error(), TAxis::FindBin(), TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TAxis::GetBinCenter(), TH1::GetBinContent(), TAxis::GetNbins(), and result().
Reimplemented from TH1.
Definition at line 1240 of file TH3.cxx.
References TMath::Abs(), TString::Contains(), TObject::Error(), TH1::GetBin(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetDimension(), TNamed::GetName(), TAxis::GetNbins(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), TH1::GetZaxis(), h1, h2, i, j, k, kFALSE, TMath::KolmogorovProb(), kTRUE, TMath::Log(), TMath::Max(), TMath::Mean(), TMath::Permute(), TMath::Prob(), s1, s2, TMath::Sqrt(), TString::ToUpper(), and TObject::Warning().
Long64_t TH3::Merge | ( | TCollection * | list | ) | [virtual] |
Reimplemented from TH1.
Definition at line 1455 of file TH3.cxx.
References TList::Add(), TCollection::AddAll(), TH1::AddBinContent(), BufferEmpty(), TObject::ClassName(), TNamed::Clone(), TObject::Error(), TArrayD::fArray, Fill(), TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TH1::GetEntries(), TAxis::GetNbins(), GetStats(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), h, i, TH1::kCanRebin, kFALSE, TH1::kNstat, kTRUE, list, Long64_t, nentries, o, PutStats(), R__ASSERT, TH1::RecomputeAxisLimits(), TList::Remove(), TIter::Reset(), Reset(), TObject::ResetBit(), TH1::SameLimitsAndNBins(), TAxis::Set(), TH1::SetBins(), TObject::SetBit(), TH1::SetEntries(), and TObject::TestBit().
TH1D * TH3::ProjectionX | ( | const char * | name = "_px" , |
|
Int_t | firstybin = 0 , |
|||
Int_t | lastybin = -1 , |
|||
Int_t | firstzbin = 0 , |
|||
Int_t | lastzbin = -1 , |
|||
Option_t * | option = "" | |||
) | const |
Definition at line 1629 of file TH3.cxx.
References TVirtualPad::cd(), TString::Contains(), DoProject1D(), TH1::Draw(), TString::First(), TAxis::GetFirst(), TAxis::GetLast(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TROOT::GetSelectedPad(), TH1::GetSumw2N(), TNamed::GetTitle(), TH1::GetYaxis(), TH1::GetZaxis(), gPad, gROOT, h1, TAxis::kAxisRange, kFALSE, kTRUE, TH1::Paint(), TString::Remove(), TObject::SetBit(), TAxis::SetRange(), and TString::ToLower().
Referenced by ProjectionTester::compareHistograms(), and testTH3toTH1().
TH1D * TH3::ProjectionY | ( | const char * | name = "_py" , |
|
Int_t | firstxbin = 0 , |
|||
Int_t | lastxbin = -1 , |
|||
Int_t | firstzbin = 0 , |
|||
Int_t | lastzbin = -1 , |
|||
Option_t * | option = "" | |||
) | const |
Definition at line 1707 of file TH3.cxx.
References TVirtualPad::cd(), TString::Contains(), DoProject1D(), TH1::Draw(), TString::First(), TAxis::GetFirst(), TAxis::GetLast(), TH1::GetNbinsX(), TH1::GetNbinsZ(), TROOT::GetSelectedPad(), TH1::GetSumw2N(), TNamed::GetTitle(), TH1::GetXaxis(), TH1::GetZaxis(), gPad, gROOT, h1, TAxis::kAxisRange, kFALSE, kTRUE, TH1::Paint(), TString::Remove(), TObject::SetBit(), TAxis::SetRange(), and TString::ToLower().
Referenced by ProjectionTester::compareHistograms(), and testTH3toTH1().
TH1D * TH3::ProjectionZ | ( | const char * | name = "_pz" , |
|
Int_t | firstxbin = 0 , |
|||
Int_t | lastxbin = -1 , |
|||
Int_t | firstybin = 0 , |
|||
Int_t | lastybin = -1 , |
|||
Option_t * | option = "" | |||
) | const |
Definition at line 1785 of file TH3.cxx.
References TVirtualPad::cd(), TString::Contains(), DoProject1D(), TH1::Draw(), TString::First(), TAxis::GetFirst(), TAxis::GetLast(), TH1::GetNbinsX(), TH1::GetNbinsY(), TROOT::GetSelectedPad(), TH1::GetSumw2N(), TNamed::GetTitle(), TH1::GetXaxis(), TH1::GetYaxis(), gPad, gROOT, h1, TAxis::kAxisRange, kFALSE, kTRUE, TH1::Paint(), TString::Remove(), TObject::SetBit(), TAxis::SetRange(), and TString::ToLower().
Referenced by ProjectionTester::compareHistograms(), and testTH3toTH1().
Definition at line 2326 of file TH3.cxx.
References TVirtualPad::cd(), TString::Contains(), DoProject1D(), DoProject2D(), TObject::Error(), TString::First(), TNamed::GetName(), TROOT::GetSelectedPad(), TH1::GetSumw2N(), TNamed::GetTitle(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), gPad, gROOT, h, TString::Index(), kFALSE, kTRUE, name, TString::Remove(), title, and TString::ToLower().
Referenced by ProjectionTester::compareHistograms(), THistPainter::ShowProjection3(), testTH3toTH1(), testTH3toTH2(), and THStack::THStack().
TProfile2D * TH3::Project3DProfile | ( | Option_t * | option = "xy" |
) | const |
Definition at line 2707 of file TH3.cxx.
References TString::Contains(), DoProjectProfile2D(), TObject::Error(), TString::First(), TNamed::GetName(), TNamed::GetTitle(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), TString::Index(), kFALSE, kTRUE, name, p2(), TString::Remove(), title, and TString::ToLower().
Referenced by ProjectionTester::compareHistograms(), and testTH3toTH2().
void TH3::PutStats | ( | Double_t * | stats | ) | [virtual] |
void TH3::Reset | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TH1.
Definition at line 2840 of file TH3.cxx.
References TString::Contains(), fTsumwxy, fTsumwxz, fTsumwy, fTsumwy2, fTsumwyz, fTsumwz, fTsumwz2, TH1::Reset(), and TString::ToUpper().
Referenced by BufferEmpty(), BufferFill(), Merge(), TH3I::Reset(), TH3F::Reset(), TH3S::Reset(), TH3C::Reset(), and TH3D::Reset().
void TH3::SetShowProjection | ( | const char * | option = "xy" , |
|
Int_t | nbins = 1 | |||
) | [virtual] |
Definition at line 3043 of file TH3.cxx.
References TH1::fPainter, TH1::GetPainter(), and TVirtualHistPainter::SetShowProjection().
TH1D * TH3::DoProject1D | ( | const char * | name, | |
const char * | title, | |||
TAxis * | projX, | |||
bool | computeErrors, | |||
bool | originalRange, | |||
bool | useUF, | |||
bool | useOF | |||
) | const [protected] |
Definition at line 1864 of file TH3.cxx.
References TMath::Abs(), xmlio::Class, TObject::ClassName(), TString::Data(), entries, TObject::Error(), TArrayD::fArray, TH1::fEntries, TH1::FindBin(), TROOT::FindObject(), TMath::Floor(), TArray::fN, TH1::fTsumw, TH1::GetBin(), TAxis::GetBinCenter(), TH1::GetBinContent(), TH1::GetBinError(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TH1::GetEffectiveEntries(), TAxis::GetFirst(), TAxis::GetLabels(), TAxis::GetLast(), TAxis::GetNbins(), TH1::GetNbinsX(), GetStats(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), TH1::GetZaxis(), gROOT, h1, i, TAxis::ImportAttributes(), TObject::InheritsFrom(), TAxis::kAxisRange, TH1::kNstat, kTRUE, TH2::PutStats(), R__ASSERT, TH2D::Reset(), TH1::ResetStats(), TH2D::SetBinContent(), TH1::SetBinError(), TAxis::SetBinLabel(), TH1::SetEntries(), TAttFill::SetFillColor(), TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TMath::Sqrt(), TObjString::String(), TH1::Sumw2(), and TObject::TestBit().
Referenced by Project3D(), ProjectionX(), ProjectionY(), and ProjectionZ().
TH2D * TH3::DoProject2D | ( | const char * | name, | |
const char * | title, | |||
TAxis * | projX, | |||
TAxis * | projY, | |||
bool | computeErrors, | |||
bool | originalRange, | |||
bool | useUF, | |||
bool | useOF | |||
) | const [protected] |
Definition at line 2060 of file TH3.cxx.
References TMath::Abs(), xmlio::Class, TObject::ClassName(), copy(), TString::Data(), entries, TObject::Error(), TArrayD::fArray, TH1::fEntries, TAxis::FindBin(), TROOT::FindObject(), TMath::Floor(), TArray::fN, TH1::fTsumw, TH1::GetBin(), TAxis::GetBinCenter(), TH1::GetBinContent(), TH1::GetBinError(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TH1::GetEffectiveEntries(), TAxis::GetFirst(), TAxis::GetLabels(), TAxis::GetLast(), TAxis::GetNbins(), TH1::GetNbinsX(), TH1::GetNbinsY(), GetStats(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), TH1::GetZaxis(), gROOT, h2, i, TAxis::ImportAttributes(), TObject::InheritsFrom(), TAxis::kAxisRange, TH1::kNstat, kTRUE, labels1(), labels2(), out, TH2::PutStats(), R__ASSERT, TH2D::Reset(), TH1::ResetStats(), TH2D::SetBinContent(), TH1::SetBinError(), TAxis::SetBinLabel(), TH1::SetEntries(), TAttFill::SetFillColor(), TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TMath::Sqrt(), TObjString::String(), TH1::Sumw2(), and TObject::TestBit().
Referenced by Project3D().
TProfile2D * TH3::DoProjectProfile2D | ( | const char * | name, | |
const char * | title, | |||
TAxis * | projX, | |||
TAxis * | projY, | |||
bool | originalRange, | |||
bool | useUF, | |||
bool | useOF | |||
) | const [protected] |
Definition at line 2528 of file TH3.cxx.
References xmlio::Class, TObject::ClassName(), TObject::Dump(), entries, TObject::Error(), TArrayD::fArray, TH1::fEntries, TROOT::FindObject(), TMath::Floor(), TArray::fN, TH1::fSumw2, TH1::GetBin(), TAxis::GetBinCenter(), TH1::GetBinContent(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetFirst(), TAxis::GetLast(), TAxis::GetNbins(), TH1::GetSumw2N(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), TH1::GetZaxis(), gROOT, i, TObject::InheritsFrom(), TAxis::kAxisRange, TH1::kNstat, kTRUE, p2(), R__ASSERT, and TObject::TestBit().
Referenced by Project3DProfile().
virtual Int_t TH3::BufferFill | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | z, | |||
Double_t | w | |||
) | [protected, virtual] |
void TH3::DoFillProfileProjection | ( | TProfile2D * | p2, | |
const TAxis & | a1, | |||
const TAxis & | a2, | |||
const TAxis & | a3, | |||
Int_t | bin1, | |||
Int_t | bin2, | |||
Int_t | bin3, | |||
Int_t | inBin, | |||
Bool_t | useWeights | |||
) | const [protected] |
virtual Int_t TH3::Fill | ( | const char * | namex, | |
const char * | namey, | |||
const char * | namez, | |||
Double_t | w | |||
) | [virtual] |
virtual Int_t TH3::Fill | ( | const char * | namex, | |
Double_t | y, | |||
const char * | namez, | |||
Double_t | w | |||
) | [virtual] |
virtual Int_t TH3::Fill | ( | const char * | namex, | |
const char * | namey, | |||
Double_t | z, | |||
Double_t | w | |||
) | [virtual] |
virtual Int_t TH3::Fill | ( | Double_t | x, | |
const char * | namey, | |||
const char * | namez, | |||
Double_t | w | |||
) | [virtual] |
virtual void TH3::FillRandom | ( | const char * | fname, | |
Int_t | ntimes = 5000 | |||
) | [virtual] |
Reimplemented from TH1.
Reimplemented from TH1.
Reimplemented from TH1.
virtual void TH3::FitSlicesZ | ( | TF1 * | f1 = 0 , |
|
Int_t | binminx = 1 , |
|||
Int_t | binmaxx = 0 , |
|||
Int_t | binminy = 1 , |
|||
Int_t | binmaxy = 0 , |
|||
Int_t | cut = 0 , |
|||
Option_t * | option = "QNR" | |||
) | [virtual] |
virtual Double_t TH3::GetBinWithContent3 | ( | Double_t | c, | |
Int_t & | binx, | |||
Int_t & | biny, | |||
Int_t & | binz, | |||
Int_t | firstx = 0 , |
|||
Int_t | lastx = 0 , |
|||
Int_t | firsty = 0 , |
|||
Int_t | lasty = 0 , |
|||
Int_t | firstz = 0 , |
|||
Int_t | lastz = 0 , |
|||
Double_t | maxdiff = 0 | |||
) | const [virtual] |
virtual Double_t TH3::Integral | ( | Int_t | binx1, | |
Int_t | binx2, | |||
Int_t | biny1, | |||
Int_t | biny2, | |||
Int_t | binz1, | |||
Int_t | binz2, | |||
Option_t * | option = "" | |||
) | const [virtual] |
virtual Double_t TH3::IntegralAndError | ( | Int_t | binx1, | |
Int_t | binx2, | |||
Int_t | biny1, | |||
Int_t | biny2, | |||
Int_t | binz1, | |||
Int_t | binz2, | |||
Double_t & | err, | |||
Option_t * | option = "" | |||
) | const [virtual] |
Reimplemented from TH1.
Reimplemented from TH1.
virtual Long64_t TH3::Merge | ( | TCollection * | list | ) | [virtual] |
Reimplemented from TH1.
TH1D* TH3::ProjectionX | ( | const char * | name = "_px" , |
|
Int_t | firstybin = 0 , |
|||
Int_t | lastybin = -1 , |
|||
Int_t | firstzbin = 0 , |
|||
Int_t | lastzbin = -1 , |
|||
Option_t * | option = "" | |||
) | const |
TH1D* TH3::ProjectionY | ( | const char * | name = "_py" , |
|
Int_t | firstxbin = 0 , |
|||
Int_t | lastxbin = -1 , |
|||
Int_t | firstzbin = 0 , |
|||
Int_t | lastzbin = -1 , |
|||
Option_t * | option = "" | |||
) | const |
TH1D* TH3::ProjectionZ | ( | const char * | name = "_pz" , |
|
Int_t | firstxbin = 0 , |
|||
Int_t | lastxbin = -1 , |
|||
Int_t | firstybin = 0 , |
|||
Int_t | lastybin = -1 , |
|||
Option_t * | option = "" | |||
) | const |
TProfile2D* TH3::Project3DProfile | ( | Option_t * | option = "xy" |
) | const |
virtual void TH3::SetShowProjection | ( | const char * | option = "xy" , |
|
Int_t | nbins = 1 | |||
) | [virtual] |
TH1D* TH3::DoProject1D | ( | const char * | name, | |
const char * | title, | |||
TAxis * | projX, | |||
bool | computeErrors, | |||
bool | originalRange, | |||
bool | useUF, | |||
bool | useOF | |||
) | const [protected] |
TH2D* TH3::DoProject2D | ( | const char * | name, | |
const char * | title, | |||
TAxis * | projX, | |||
TAxis * | projY, | |||
bool | computeErrors, | |||
bool | originalRange, | |||
bool | useUF, | |||
bool | useOF | |||
) | const [protected] |
TProfile2D* TH3::DoProjectProfile2D | ( | const char * | name, | |
const char * | title, | |||
TAxis * | projX, | |||
TAxis * | projY, | |||
bool | originalRange, | |||
bool | useUF, | |||
bool | useOF | |||
) | const [protected] |
Double_t TH3::fTsumwy [protected] |
Definition at line 38 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().
Double_t TH3::fTsumwy2 [protected] |
Definition at line 39 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().
Double_t TH3::fTsumwxy [protected] |
Definition at line 40 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().
Double_t TH3::fTsumwz [protected] |
Definition at line 41 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().
Double_t TH3::fTsumwz2 [protected] |
Definition at line 42 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().
Double_t TH3::fTsumwxz [protected] |
Definition at line 43 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().
Double_t TH3::fTsumwyz [protected] |
Definition at line 44 of file TH3.h.
Referenced by Copy(), TProfile3D::Divide(), Fill(), TProfile3D::Fill(), TProfile3D::GetStats(), GetStats(), PutStats(), Reset(), and TH3().