#include <TProfile.h>
Inheritance diagram for TProfile:
Public Member Functions | |
TProfile () | |
TProfile (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Double_t ylow, Double_t yup, Option_t *option="") | |
TProfile (const TProfile &profile) | |
virtual | ~TProfile () |
virtual void | Add (TF1 *h1, Double_t c1=1, Option_t *option="") |
virtual void | Add (const TH1 *h1, Double_t c1=1) |
virtual void | Add (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1) |
virtual Int_t | BufferEmpty (Int_t action=0) |
void | BuildOptions (Double_t ymin, Double_t ymax, Option_t *option) |
virtual void | Copy (TObject &hnew) const |
virtual void | Divide (TF1 *h1, Double_t c1=1) |
virtual void | Divide (const TH1 *h1) |
virtual void | Divide (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="") |
virtual TH1 * | DrawCopy (Option_t *option="") const |
virtual Int_t | Fill (Double_t x, Double_t y) |
virtual Int_t | Fill (const char *namex, Double_t y) |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t w) |
virtual Int_t | Fill (const char *namex, Double_t y, Double_t w) |
virtual void | FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1) |
virtual Double_t | GetBinContent (Int_t bin) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t, Int_t) const |
virtual Double_t | GetBinError (Int_t bin) const |
virtual Double_t | GetBinError (Int_t bin, Int_t) const |
virtual Double_t | GetBinError (Int_t bin, Int_t, Int_t) const |
virtual Double_t | GetBinEntries (Int_t bin) const |
virtual Double_t | GetBinEffectiveEntries (Int_t bin) const |
virtual TArrayD * | GetBinSumw2 () |
virtual const TArrayD * | GetBinSumw2 () const |
Option_t * | GetErrorOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual void | GetStats (Double_t *stats) const |
virtual Double_t | GetYmin () const |
virtual Double_t | GetYmax () const |
virtual void | LabelsDeflate (Option_t *axis="X") |
virtual void | LabelsInflate (Option_t *axis="X") |
virtual void | LabelsOption (Option_t *option="h", Option_t *axis="X") |
virtual Long64_t | Merge (TCollection *list) |
virtual void | Multiply (TF1 *h1, Double_t c1=1) |
virtual void | Multiply (const TH1 *h1) |
virtual void | Multiply (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="") |
TH1D * | ProjectionX (const char *name="_px", Option_t *option="e") const |
virtual void | PutStats (Double_t *stats) |
TH1 * | Rebin (Int_t ngroup=2, const char *newname="", const Double_t *xbins=0) |
virtual void | RebinAxis (Double_t x, TAxis *axis) |
virtual void | Reset (Option_t *option="") |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | Scale (Double_t c1=1, Option_t *option="") |
virtual void | SetBinEntries (Int_t bin, Double_t w) |
virtual void | SetBins (Int_t nbins, Double_t xmin, Double_t xmax) |
virtual void | SetBins (Int_t nx, const Double_t *xbins) |
virtual void | SetBuffer (Int_t buffersize, Option_t *option="") |
virtual void | SetErrorOption (Option_t *option="") |
virtual void | Sumw2 () |
TProfile () | |
TProfile (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Option_t *option="") | |
TProfile (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Double_t ylow, Double_t yup, Option_t *option="") | |
TProfile (const TProfile &profile) | |
virtual | ~TProfile () |
virtual void | Add (TF1 *h1, Double_t c1=1, Option_t *option="") |
virtual void | Add (const TH1 *h1, Double_t c1=1) |
virtual void | Add (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1) |
virtual Int_t | BufferEmpty (Int_t action=0) |
void | BuildOptions (Double_t ymin, Double_t ymax, Option_t *option) |
virtual void | Copy (TObject &hnew) const |
virtual void | Divide (TF1 *h1, Double_t c1=1) |
virtual void | Divide (const TH1 *h1) |
virtual void | Divide (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="") |
virtual TH1 * | DrawCopy (Option_t *option="") const |
virtual Int_t | Fill (Double_t x, Double_t y) |
virtual Int_t | Fill (const char *namex, Double_t y) |
virtual Int_t | Fill (Double_t x, Double_t y, Double_t w) |
virtual Int_t | Fill (const char *namex, Double_t y, Double_t w) |
virtual void | FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1) |
virtual Double_t | GetBinContent (Int_t bin) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t, Int_t) const |
virtual Double_t | GetBinError (Int_t bin) const |
virtual Double_t | GetBinError (Int_t bin, Int_t) const |
virtual Double_t | GetBinError (Int_t bin, Int_t, Int_t) const |
virtual Double_t | GetBinEntries (Int_t bin) const |
virtual Double_t | GetBinEffectiveEntries (Int_t bin) const |
virtual TArrayD * | GetBinSumw2 () |
virtual const TArrayD * | GetBinSumw2 () const |
Option_t * | GetErrorOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual void | GetStats (Double_t *stats) const |
virtual Double_t | GetYmin () const |
virtual Double_t | GetYmax () const |
virtual void | LabelsDeflate (Option_t *axis="X") |
virtual void | LabelsInflate (Option_t *axis="X") |
virtual void | LabelsOption (Option_t *option="h", Option_t *axis="X") |
virtual Long64_t | Merge (TCollection *list) |
virtual void | Multiply (TF1 *h1, Double_t c1=1) |
virtual void | Multiply (const TH1 *h1) |
virtual void | Multiply (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="") |
TH1D * | ProjectionX (const char *name="_px", Option_t *option="e") const |
virtual void | PutStats (Double_t *stats) |
TH1 * | Rebin (Int_t ngroup=2, const char *newname="", const Double_t *xbins=0) |
virtual void | RebinAxis (Double_t x, TAxis *axis) |
virtual void | Reset (Option_t *option="") |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | Scale (Double_t c1=1, Option_t *option="") |
virtual void | SetBinEntries (Int_t bin, Double_t w) |
virtual void | SetBins (Int_t nbins, Double_t xmin, Double_t xmax) |
virtual void | SetBins (Int_t nx, const Double_t *xbins) |
virtual void | SetBuffer (Int_t buffersize, Option_t *option="") |
virtual void | SetErrorOption (Option_t *option="") |
virtual void | Sumw2 () |
Static Public Member Functions | |
static void | Approximate (Bool_t approx=kTRUE) |
static void | Approximate (Bool_t approx=kTRUE) |
Protected Member Functions | |
virtual Int_t | BufferFill (Double_t, Double_t) |
virtual Int_t | BufferFill (Double_t x, Double_t y, Double_t w) |
void | SetBins (const Int_t *nbins, const Double_t *range) |
Int_t | Fill (const Double_t *v) |
virtual Int_t | BufferFill (Double_t, Double_t) |
virtual Int_t | BufferFill (Double_t x, Double_t y, Double_t w) |
void | SetBins (const Int_t *nbins, const Double_t *range) |
Int_t | Fill (const Double_t *v) |
Protected Attributes | |
TArrayD | fBinEntries |
EErrorType | fErrorMode |
Double_t | fYmin |
Double_t | fYmax |
Bool_t | fScaling |
Double_t | fTsumwy |
True when TProfile::Scale is called. | |
Double_t | fTsumwy2 |
TArrayD | fBinSumw2 |
Static Protected Attributes | |
static Bool_t | fgApproximate |
Private Member Functions | |
Int_t | Fill (Double_t) |
void | FillN (Int_t, const Double_t *, const Double_t *, Int_t) |
Double_t * | GetB () |
Double_t * | GetB2 () |
Double_t * | GetW () |
Double_t * | GetW2 () |
void | SetBins (Int_t, Double_t, Double_t, Int_t, Double_t, Double_t) |
void | SetBins (Int_t, const Double_t *, Int_t, const Double_t *) |
void | SetBins (Int_t, Double_t, Double_t, Int_t, Double_t, Double_t, Int_t, Double_t, Double_t) |
void | SetBins (Int_t, const Double_t *, Int_t, const Double_t *, Int_t, const Double_t *) |
Int_t | Fill (Double_t) |
void | FillN (Int_t, const Double_t *, const Double_t *, Int_t) |
Double_t * | GetB () |
Double_t * | GetB2 () |
Double_t * | GetW () |
Double_t * | GetW2 () |
void | SetBins (Int_t, Double_t, Double_t, Int_t, Double_t, Double_t) |
void | SetBins (Int_t, const Double_t *, Int_t, const Double_t *) |
void | SetBins (Int_t, Double_t, Double_t, Int_t, Double_t, Double_t, Int_t, Double_t, Double_t) |
void | SetBins (Int_t, const Double_t *, Int_t, const Double_t *, Int_t, const Double_t *) |
Friends | |
class | TProfileHelper |
Definition at line 34 of file TProfile.h.
TProfile::TProfile | ( | ) |
TProfile::TProfile | ( | const TProfile & | profile | ) |
TProfile::~TProfile | ( | ) | [virtual] |
Definition at line 82 of file TProfile.cxx.
TProfile::TProfile | ( | ) |
TProfile::TProfile | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Option_t * | option = "" | |||
) |
TProfile::TProfile | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Double_t | ylow, | |||
Double_t | yup, | |||
Option_t * | option = "" | |||
) |
TProfile::TProfile | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Float_t * | xbins, | |||
Option_t * | option = "" | |||
) |
TProfile::TProfile | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Option_t * | option = "" | |||
) |
TProfile::TProfile | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Double_t | ylow, | |||
Double_t | yup, | |||
Option_t * | option = "" | |||
) |
TProfile::TProfile | ( | const TProfile & | profile | ) |
virtual TProfile::~TProfile | ( | ) | [virtual] |
Definition at line 382 of file TProfile.cxx.
References buffer, BufferEmpty(), TH1::fBuffer, TH1::fBufferSize, TH1::fEntries, Fill(), and TArrayD::Reset().
Definition at line 56 of file TProfile.h.
Referenced by BufferEmpty(), BufferFill(), ProjectionTester::buildHistograms(), ProjectionTester::buildHistogramsWithWeights(), TProofDrawProfile::DoFill(), Fill(), hsimple(), htw(), SpyServ::SpyServ(), testAddProfile2(), and testTH2toTH1().
Double_t* TProfile::GetB | ( | ) | [inline, private] |
Definition at line 61 of file TProfile.h.
References TArrayD::fArray, and fBinEntries.
Referenced by Rebin().
Double_t* TProfile::GetB2 | ( | ) | [inline, private] |
Definition at line 62 of file TProfile.h.
References TArrayD::fArray, fBinSumw2, and TArray::fN.
Referenced by Rebin().
Double_t* TProfile::GetW | ( | ) | [inline, private] |
Double_t* TProfile::GetW2 | ( | ) | [inline, private] |
Definition at line 64 of file TProfile.h.
References TArrayD::fArray, and TH1::fSumw2.
Referenced by Rebin().
Reimplemented from TH1.
Definition at line 254 of file TProfile.cxx.
References TObject::Error().
Referenced by testAddProfile2(), and testAddVarProf2().
Reimplemented from TH1.
Definition at line 264 of file TProfile.cxx.
References TProfileHelper::Add(), xmlio::Class, TObject::Error(), h1, and TObject::InheritsFrom().
Reimplemented from TH1.
Definition at line 281 of file TProfile.cxx.
References TProfileHelper::Add(), xmlio::Class, TObject::Error(), h1, h2, and TObject::InheritsFrom().
Definition at line 309 of file TProfile.cxx.
References fgApproximate.
Referenced by G__G__Hist_295_0_25(), G__setup_memfuncTProfile(), stress16(), and stressHistogram().
Reimplemented from TH1.
Definition at line 324 of file TProfile.cxx.
References buffer, TH1::fBuffer, TH1::fBufferSize, TH1::fEntries, Fill(), THLimitsFinder::FindGoodLimits(), TH1::fXaxis, THLimitsFinder::GetLimitsFinder(), TAxis::GetXmax(), TAxis::GetXmin(), i, TH1::kCanRebin, keep, RebinAxis(), TArrayD::Reset(), TObject::TestBit(), x, xmax, and xmin.
Referenced by BufferFill(), and SetBuffer().
Definition at line 180 of file TProfile.cxx.
References fBinEntries, TH1::fgDefaultSumw2, TH1::fNcells, fScaling, fTsumwy, fTsumwy2, fYmax, fYmin, kFALSE, TArrayD::Set(), SetErrorOption(), TH1::Sumw2(), and Sumw2().
Referenced by TProfile().
void TProfile::Copy | ( | TObject & | hnew | ) | const [virtual] |
Reimplemented from TH1D.
Definition at line 413 of file TProfile.cxx.
References TArrayD::Copy(), TH1D::Copy(), TArrayD::fArray, fBinEntries, fBinSumw2, fErrorMode, TH1::fNcells, fScaling, TH1::fSumw2, fTsumwy, fTsumwy2, fYmax, and fYmin.
void TProfile::Divide | ( | const TH1 * | h1 | ) | [virtual] |
Reimplemented from TH1.
Definition at line 445 of file TProfile.cxx.
References TMath::Abs(), c1, xmlio::Class, TObject::Error(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fEntries, TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, TAxis::GetBinCenter(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), h1, TObject::InheritsFrom(), p1(), TArrayD::TArrayD(), w, TObject::Warning(), and x.
void TProfile::Divide | ( | const TH1 * | h1, | |
const TH1 * | h2, | |||
Double_t | c1 = 1 , |
|||
Double_t | c2 = 1 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
Definition at line 521 of file TProfile.cxx.
References TMath::Abs(), binomial(), xmlio::Class, TString::Contains(), TObject::Error(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fEntries, TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, TH1::fXaxis, TAxis::GetBinCenter(), TH1::GetNbinsX(), h1, h2, TObject::InheritsFrom(), kFALSE, kTRUE, p1(), p2(), TArrayD::TArrayD(), TString::ToLower(), w, TObject::Warning(), and x.
Reimplemented from TH1D.
Definition at line 624 of file TProfile.cxx.
References TObject::AppendPad(), TNamed::Clone(), TString::Contains(), gPad, TObject::kCanDelete, TObject::SetBit(), TH1::SetDirectory(), and TString::ToLower().
Reimplemented from TH1.
Definition at line 639 of file TProfile.cxx.
References TH1D::AddBinContent(), BufferFill(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fBuffer, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, fYmax, fYmin, and TAxis::GetNbins().
Reimplemented from TH1.
Definition at line 670 of file TProfile.cxx.
References TH1D::AddBinContent(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, fYmax, fYmin, TAxis::GetBinCenter(), TAxis::GetNbins(), and x.
Definition at line 699 of file TProfile.cxx.
References TH1D::AddBinContent(), BufferFill(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fBuffer, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, fYmax, fYmin, TAxis::GetNbins(), and u.
Definition at line 731 of file TProfile.cxx.
References TH1D::AddBinContent(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, fYmax, fYmin, TAxis::GetBinCenter(), TAxis::GetNbins(), u, and x.
void TProfile::FillN | ( | Int_t | ntimes, | |
const Double_t * | x, | |||
const Double_t * | y, | |||
const Double_t * | w, | |||
Int_t | stride = 1 | |||
) | [virtual] |
Reimplemented from TH1.
Definition at line 763 of file TProfile.cxx.
References TH1D::AddBinContent(), TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, fYmax, fYmin, TAxis::GetNbins(), i, and u.
Reimplemented from TH1D.
Definition at line 794 of file TProfile.cxx.
References TArrayD::fArray, fBinEntries, TH1::fBuffer, and TH1::fNcells.
Referenced by GetBinContent(), GetObjectInfo(), and ProjectionX().
Reimplemented from TH1.
Definition at line 835 of file TProfile.cxx.
References TProfileHelper::GetBinError().
Referenced by GetBinError(), GetObjectInfo(), and ProjectionX().
Definition at line 808 of file TProfile.cxx.
References TArrayD::fArray, fBinEntries, TH1::fBuffer, and TH1::fNcells.
Referenced by GetObjectInfo(), ProjectionX(), and SavePrimitive().
virtual TArrayD* TProfile::GetBinSumw2 | ( | ) | [inline, virtual] |
virtual const TArrayD* TProfile::GetBinSumw2 | ( | ) | const [inline, virtual] |
Option_t * TProfile::GetErrorOption | ( | ) | const |
Definition at line 870 of file TProfile.cxx.
References fErrorMode, kERRORSPREAD, kERRORSPREADG, and kERRORSPREADI.
Referenced by SavePrimitive().
Reimplemented from TH1.
Definition at line 882 of file TProfile.cxx.
References TAxis::FindFixBin(), GetBinContent(), GetBinEntries(), GetBinError(), TH1::GetXaxis(), gPad, info, snprintf, x, and y.
void TProfile::GetStats | ( | Double_t * | stats | ) | const [virtual] |
Reimplemented from TH1.
Definition at line 898 of file TProfile.cxx.
References TArrayD::fArray, fBinEntries, fBinSumw2, TH1::fBuffer, TH1::fgStatOverflows, TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, fTsumwy2, TH1::fXaxis, TAxis::GetBinCenter(), TAxis::GetFirst(), TAxis::GetLast(), TAxis::GetNbins(), TAxis::kAxisRange, p, TObject::TestBit(), w, and x.
virtual Double_t TProfile::GetYmin | ( | ) | const [inline, virtual] |
virtual Double_t TProfile::GetYmax | ( | ) | const [inline, virtual] |
void TProfile::LabelsDeflate | ( | Option_t * | axis = "X" |
) | [virtual] |
Reimplemented from TH1.
Definition at line 958 of file TProfile.cxx.
References TProfileHelper::LabelsDeflate().
void TProfile::LabelsInflate | ( | Option_t * | axis = "X" |
) | [virtual] |
Reimplemented from TH1.
Definition at line 966 of file TProfile.cxx.
References TProfileHelper::LabelsInflate().
Reimplemented from TH1.
Definition at line 976 of file TProfile.cxx.
References a, TList::Add(), TList::At(), THashList::Clear(), TString::Contains(), errors, TArrayD::fArray, fBinEntries, TH1::fSumw2, TH1::fXaxis, TAxis::GetLabels(), TAxis::GetNbins(), TCollection::GetSize(), i, j, kFALSE, TAxis::kLabelsDown, TAxis::kLabelsHori, TAxis::kLabelsUp, TAxis::kLabelsVert, kTRUE, TMath::Min(), n, TObject::ResetBit(), TObject::SetBit(), TObject::SetUniqueID(), sort(), TMath::Sort(), TString::ToLower(), and TObject::Warning().
Long64_t TProfile::Merge | ( | TCollection * | list | ) | [virtual] |
Reimplemented from TH1.
Definition at line 1109 of file TProfile.cxx.
References TProfileHelper::Merge().
Reimplemented from TH1.
Definition at line 1129 of file TProfile.cxx.
References TMath::Abs(), TObject::Error(), TF1::EvalPar(), TArrayD::fArray, TH1::fSumw2, TH1::fXaxis, TAxis::GetBinCenter(), TH1::GetNbinsX(), i, TF1::IsInside(), kFALSE, PutStats(), TF1::RejectedPoint(), TF1::RejectPoint(), s1, TH1::SetMaximum(), and TH1::SetMinimum().
void TProfile::Multiply | ( | const TH1 * | h1 | ) | [virtual] |
Definition at line 1191 of file TProfile.cxx.
References TString::Contains(), TString::Data(), TArrayD::fArray, fBinSumw2, TH1::fEntries, TArray::fN, TH1::fSumw2, TH1::fXaxis, GetBinContent(), GetBinEntries(), GetBinError(), TAxis::GetLabels(), TNamed::GetName(), TAxis::GetNbins(), TH1::GetSumw2(), TNamed::GetTitle(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), h1, i, TAxis::ImportAttributes(), kFALSE, kTRUE, TH2D::SetBinContent(), TH1::SetBinError(), TAxis::SetBinLabel(), TH1::SetEntries(), TMath::Sqrt(), TObjString::String(), TH1::Sumw2(), TH1D::TH1D(), and TString::ToLower().
void TProfile::PutStats | ( | Double_t * | stats | ) | [virtual] |
Reimplemented from TH1.
Definition at line 1289 of file TProfile.cxx.
References TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, fTsumwy, and fTsumwy2.
Referenced by Multiply().
TH1 * TProfile::Rebin | ( | Int_t | ngroup = 2 , |
|
const char * | newname = "" , |
|||
const Double_t * | xbins = 0 | |||
) | [virtual] |
Reimplemented from TH1.
Definition at line 1302 of file TProfile.cxx.
References TNamed::Clone(), TObject::Error(), TArrayD::fArray, fBinEntries, fBinSumw2, TArray::fN, TH1::fSumw2, TH1::fTsumw, TH1::fXaxis, GetB(), GetB2(), TAxis::GetBinCenter(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetNbins(), TArray::GetSize(), GetW(), GetW2(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), i, if(), nbins, SetBins(), Sumw2(), TObject::Warning(), xmax, and xmin.
Reimplemented from TH1.
Definition at line 1500 of file TProfile.cxx.
References axis, fTsumwy, fTsumwy2, and TProfileHelper::RebinAxis().
Referenced by BufferEmpty().
void TProfile::Reset | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TH1D.
Definition at line 1521 of file TProfile.cxx.
References TString::Contains(), fBinEntries, fBinSumw2, fTsumwy, fTsumwy2, TArrayD::Reset(), and TString::ToUpper().
void TProfile::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
Definition at line 1536 of file TProfile.cxx.
References TObject::ClassName(), TString::Data(), TArrayD::fArray, TH1::fDirectory, TArray::fN, TH1::fNcells, for(), TH1::fSumw2, GetBinEntries(), GetErrorOption(), TNamed::GetName(), TAxis::GetNbins(), TNamed::GetTitle(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), i, if(), kFALSE, kTRUE, and TMath::Sqrt().
Reimplemented from TH1.
Definition at line 1612 of file TProfile.cxx.
References TProfileHelper::Scale().
Definition at line 1626 of file TProfile.cxx.
References TArrayD::fArray, fBinEntries, and TH1::fNcells.
Reimplemented from TH1.
Definition at line 1636 of file TProfile.cxx.
References fBinEntries, fBinSumw2, TArray::fN, TH1::fNcells, TH1::fSumw2, TH1::fXaxis, TAxis::Set(), TArrayD::Set(), and TH1D::SetBinsLength().
Reimplemented from TH1.
Definition at line 1650 of file TProfile.cxx.
References fBinEntries, fBinSumw2, TArray::fN, TH1::fNcells, TH1::fSumw2, TH1::fXaxis, TAxis::Set(), TArrayD::Set(), and TH1D::SetBinsLength().
Reimplemented from TH1.
Definition at line 1665 of file TProfile.cxx.
References BufferEmpty(), TH1::fBuffer, and TH1::fBufferSize.
Referenced by TProofDrawProfile::SlaveBegin().
void TProfile::SetErrorOption | ( | Option_t * | option = "" |
) | [virtual] |
Definition at line 1685 of file TProfile.cxx.
References TString::Contains(), fErrorMode, kERRORMEAN, kERRORSPREAD, kERRORSPREADG, kERRORSPREADI, and TString::ToLower().
Referenced by BuildOptions().
void TProfile::Sumw2 | ( | ) | [virtual] |
Reimplemented from TH1.
Definition at line 1751 of file TProfile.cxx.
References TProfileHelper::Sumw2().
Referenced by BuildOptions(), Rebin(), and testAddVarProf2().
Double_t* TProfile::GetB | ( | ) | [inline, private] |
Double_t* TProfile::GetB2 | ( | ) | [inline, private] |
Double_t* TProfile::GetW | ( | ) | [inline, private] |
Double_t* TProfile::GetW2 | ( | ) | [inline, private] |
Reimplemented from TH1.
virtual void TProfile::Add | ( | const TH1 * | h1, | |
const TH1 * | h2, | |||
Double_t | c1 = 1 , |
|||
Double_t | c2 = 1 | |||
) | [virtual] |
Reimplemented from TH1.
virtual void TProfile::Divide | ( | const TH1 * | h1, | |
const TH1 * | h2, | |||
Double_t | c1 = 1 , |
|||
Double_t | c2 = 1 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
virtual void TProfile::FillN | ( | Int_t | ntimes, | |
const Double_t * | x, | |||
const Double_t * | y, | |||
const Double_t * | w, | |||
Int_t | stride = 1 | |||
) | [virtual] |
Reimplemented from TH1.
virtual TArrayD* TProfile::GetBinSumw2 | ( | ) | [inline, virtual] |
virtual const TArrayD* TProfile::GetBinSumw2 | ( | ) | const [inline, virtual] |
Option_t* TProfile::GetErrorOption | ( | ) | const |
Reimplemented from TH1.
virtual Double_t TProfile::GetYmin | ( | ) | const [inline, virtual] |
virtual Double_t TProfile::GetYmax | ( | ) | const [inline, virtual] |
Reimplemented from TH1.
virtual Long64_t TProfile::Merge | ( | TCollection * | list | ) | [virtual] |
Reimplemented from TH1.
virtual void TProfile::Multiply | ( | const TH1 * | h1, | |
const TH1 * | h2, | |||
Double_t | c1 = 1 , |
|||
Double_t | c2 = 1 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
TH1* TProfile::Rebin | ( | Int_t | ngroup = 2 , |
|
const char * | newname = "" , |
|||
const Double_t * | xbins = 0 | |||
) | [virtual] |
Reimplemented from TH1.
virtual void TProfile::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
Reimplemented from TH1.
Reimplemented from TH1.
Reimplemented from TH1.
Reimplemented from TH1.
virtual void TProfile::SetErrorOption | ( | Option_t * | option = "" |
) | [virtual] |
virtual void TProfile::Sumw2 | ( | ) | [virtual] |
Reimplemented from TH1.
TProfileHelper [friend] |
Definition at line 37 of file TProfile.h.
TArrayD TProfile::fBinEntries [protected] |
Definition at line 40 of file TProfile.h.
Referenced by BuildOptions(), Copy(), Divide(), Fill(), FillN(), GetB(), GetBinContent(), GetBinEntries(), GetStats(), LabelsOption(), Rebin(), Reset(), SetBinEntries(), and SetBins().
EErrorType TProfile::fErrorMode [protected] |
Definition at line 41 of file TProfile.h.
Referenced by Copy(), GetErrorOption(), and SetErrorOption().
Double_t TProfile::fYmin [protected] |
Definition at line 42 of file TProfile.h.
Referenced by BuildOptions(), Copy(), Fill(), FillN(), and GetYmin().
Double_t TProfile::fYmax [protected] |
Definition at line 43 of file TProfile.h.
Referenced by BuildOptions(), Copy(), Fill(), FillN(), and GetYmax().
Bool_t TProfile::fScaling [protected] |
Double_t TProfile::fTsumwy [protected] |
True when TProfile::Scale is called.
Definition at line 45 of file TProfile.h.
Referenced by BuildOptions(), Copy(), Divide(), Fill(), FillN(), GetStats(), PutStats(), RebinAxis(), and Reset().
Double_t TProfile::fTsumwy2 [protected] |
Definition at line 46 of file TProfile.h.
Referenced by BuildOptions(), Copy(), Divide(), Fill(), FillN(), GetStats(), PutStats(), RebinAxis(), and Reset().
TArrayD TProfile::fBinSumw2 [protected] |
Definition at line 47 of file TProfile.h.
Referenced by Copy(), Divide(), Fill(), FillN(), GetB2(), GetBinSumw2(), GetStats(), ProjectionX(), Rebin(), Reset(), and SetBins().
static Bool_t TProfile::fgApproximate [static, protected] |