|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TProfile3D
13 #define ROOT_TProfile3D
51 nbins[1], range[2], range[3],
52 nbins[2], range[4], range[5]); };
70 bool originalRange,
bool useUF,
bool useOF)
const;
78 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t"); }
80 {
MayNotUse(
"SetBins(Int_t, const Double_t*"); }
82 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t"); }
84 {
MayNotUse(
"SetBins(Int_t, const Double_t*, Int_t, const Double_t*"); }
112 {
MayNotUse(
"GetBinContent(Int_t, Int_t");
return -1; }
116 {
MayNotUse(
"GetBinError(Int_t, Int_t");
return -1; }
Int_t Fill(const Double_t *v)
Class to manage histogram axis.
void BuildOptions(Double_t tmin, Double_t tmax, Option_t *option)
Set Profile3D histogram structure and options.
virtual Double_t GetBinContent(Int_t bin) const
Return bin content of a Profile3D histogram.
virtual TProfile2D * Project3DProfile(Option_t *option="xy") const
Project a 3-D profile into a 2D-profile histogram depending on the option parameter.
virtual TProfile2D * DoProjectProfile2D(const char *name, const char *title, const TAxis *projX, const TAxis *projY, bool originalRange, bool useUF, bool useOF) const
Internal method to project to a 2D Profile.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Int_t Fill(const char *, const char *, const char *, Double_t)
Increment cell defined by namex,namey,namez by a weight w.
virtual TH3D * ProjectionXYZ(const char *name="_pxyz", Option_t *option="e") const
Project this profile3D into a 3-D histogram along X,Y,Z.
virtual ~TProfile3D()
Default destructor for Profile3D histograms.
virtual Int_t GetBin(Int_t binx, Int_t biny, Int_t binz) const
See comments in TH1::GetBin.
3-D histogram with a double per channel (see TH1 documentation)}
virtual Double_t RetrieveBinContent(Int_t bin) const
Raw retrieval of bin content on internal data structure see convention for numbering bins in TH1::Get...
virtual Double_t GetBinEntries(Int_t bin) const
Return bin entries of a Profile3D histogram.
virtual void ExtendAxis(Double_t x, TAxis *axis)
Profile histogram is resized along axis such that x is in the axis range.
Int_t Fill(Double_t, Double_t, const char *, Double_t)
Increment cell defined by x,y,namez by a weight w.
virtual void LabelsInflate(Option_t *axis="X")
Double the number of bins for axis.
Double_t fTsumwt
True when TProfile3D::Scale is called.
virtual Double_t GetBinError(Int_t binx, Int_t biny, Int_t binz) const
Profile2D histograms are used to display the mean value of Z and its error for each cell in X,...
virtual Double_t GetBinContent(Int_t binx, Int_t biny, Int_t binz) const
virtual Int_t BufferFill(Double_t, Double_t)
accumulate arguments in buffer.
virtual void LabelsDeflate(Option_t *axis="X")
Reduce the number of bins for this axis to the number of bins having a label.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this profile2D by a constant c1.
virtual Long64_t Merge(TCollection *list)
Merge all histograms in the collection in this histogram.
virtual void SetBinEntries(Int_t bin, Double_t w)
Set the number of entries in bin.
void MayNotUse(const char *method) const
Use this method to signal that a method (defined in a base class) may not be called in a derived clas...
Int_t Fill(Double_t, const char *, Double_t, Double_t)
Increment cell defined by x,namey,z by a weight w.
void SetBins(Int_t, Double_t, Double_t)
Redefine x axis parameters.
void SetBins(const Int_t *nbins, const Double_t *range)
virtual Int_t BufferFill(Double_t, Double_t, Double_t)
virtual const TArrayD * GetBinSumw2() const
virtual void SetBuffer(Int_t buffersize, Option_t *opt="")
Set the buffer size in units of 8 bytes (double).
virtual Double_t GetBinError(Int_t, Int_t) const
void SetBins(Int_t, const Double_t *, Int_t, const Double_t *)
Redefine x and y axis parameters with variable bin sizes.
virtual void GetStats(Double_t *stats) const
fill the array stats from the contents of this profile.
virtual Bool_t Divide(TF1 *h1, Double_t c1=1)
Performs the operation: this = this/(c1*f1) .
void SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t)
Redefine x and y axis parameters.
virtual void PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
virtual Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="")
Performs the operation: this = this + c1*f1 .
Int_t Fill(Double_t)
Invalid Fill method.
virtual Int_t BufferFill(Double_t, Double_t, Double_t, Double_t)
accumulate arguments in buffer.
Int_t Fill(Double_t, Double_t, Double_t)
Increment cell defined by x,y,z by 1 .
Int_t Fill(const char *, const char *, Double_t, Double_t)
Increment cell defined by namex,namey,z by a weight w.
Int_t Fill(Double_t, const char *, const char *, Double_t)
Increment cell defined by x,namey,namez by a weight w.
virtual Double_t GetBinError(Int_t bin) const
Return bin error of a Profile3D histogram.
virtual void SetErrorOption(Option_t *option="")
Set option to compute profile3D errors.
Profile3D histograms are used to display the mean value of T and its RMS for each cell in X,...
Int_t Fill(const char *, Double_t, const char *, Double_t)
Increment cell defined by namex,y,namez by a weight w.
virtual Double_t GetBinEffectiveEntries(Int_t bin)
Return bin effective entries for a weighted filled Profile histogram.
TProfile3D & operator=(const TProfile3D &profile)
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow.
virtual TArrayD * GetBinSumw2()
TArrayD fSumw2
Array of sum of squares of weights.
Mother of all ROOT objects.
#define ClassDef(name, id)
TH1 is the base class of all histogram classes in ROOT.
Int_t Fill(Double_t)
Invalid Fill method.
virtual Double_t GetBinContent(Int_t, Int_t) const
TProfile3D()
Default constructor for Profile3D histograms.
virtual void Copy(TObject &hnew) const
Copy a Profile3D histogram to a new profile2D histogram.
virtual Double_t GetTmax() const
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
Collection abstract base class.
void SetBins(Int_t, const Double_t *)
Redefine x axis parameters with variable bin sizes.
static void Approximate(Bool_t approx=kTRUE)
Set the fgApproximate flag.
Array of doubles (64 bits per element).
virtual Double_t GetBinErrorSqUnchecked(Int_t bin) const
virtual Double_t GetTmin() const
virtual Bool_t Multiply(TF1 *h1, Double_t c1=1)
Performs the operation: this = this*c1*f1 .
virtual void Sumw2(Bool_t flag=kTRUE)
Create/Delete structure to store sum of squares of weights per bin This is needed to compute the corr...
Option_t * GetErrorOption() const
Return option to compute profile2D errors.
const double xbins[xbins_n]
virtual void LabelsOption(Option_t *option="h", Option_t *axis="X")
Set option(s) to draw axis with labels.
static Bool_t fgApproximate