12 #ifndef ROOT_TProfile3D
13 #define ROOT_TProfile3D
54 nbins[1], range[2], range[3],
55 nbins[2], range[4], range[5]); };
73 bool originalRange,
bool useUF,
bool useOF)
const;
81 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t"); }
83 {
MayNotUse(
"SetBins(Int_t, const Double_t*"); }
85 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t"); }
87 {
MayNotUse(
"SetBins(Int_t, const Double_t*, Int_t, const Double_t*"); }
114 {
MayNotUse(
"GetBinContent(Int_t, Int_t");
return -1; }
118 {
MayNotUse(
"GetBinError(Int_t, Int_t");
return -1; }
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 -* *-* =============================...
Int_t Fill(const char *, Double_t, const char *, Double_t)
Increment cell defined by namex,y,namez by a weight w.
virtual void SetBinEntries(Int_t bin, Double_t w)
Set the number of entries in bin.
virtual void SetBuffer(Int_t buffersize, Option_t *opt="")
set the buffer size in units of 8 bytes (double)
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this profile2D by a constant c1.
virtual Double_t GetBinError(Int_t, Int_t) const
virtual Int_t BufferFill(Double_t, Double_t, Double_t)
void SetBins(Int_t, const Double_t *, Int_t, const Double_t *)
Redefine x and y axis parameters with variable bin sizes.
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...
virtual ~TProfile3D()
Default destructor for Profile3D histograms.
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...
void SetBins(Int_t, Double_t, Double_t)
Redefine x axis parameters.
virtual Int_t BufferFill(Double_t, Double_t)
accumulate arguments in buffer.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
void BuildOptions(Double_t tmin, Double_t tmax, Option_t *option)
Set Profile3D histogram structure and options.
Int_t Fill(Double_t, Double_t, const char *, Double_t)
Increment cell defined by x,y,namez by a weight w.
Profile3D histograms are used to display the mean value of T and its RMS for each cell in X...
virtual Double_t GetBinEntries(Int_t bin) const
Return bin entries of a Profile3D histogram.
virtual Double_t GetBinErrorSqUnchecked(Int_t bin) const
virtual void GetStats(Double_t *stats) const
fill the array stats from the contents of this profile The array stats must be correctly dimensionned...
Int_t Fill(Double_t, Double_t, Double_t)
Increment cell defined by x,y,z by 1 .
virtual Bool_t Multiply(TF1 *h1, Double_t c1=1)
Performs the operation: this = this*c1*f1.
virtual Int_t BufferFill(Double_t, Double_t, Double_t, Double_t)
accumulate arguments in buffer.
static Bool_t fgApproximate
virtual TProfile2D * Project3DProfile(Option_t *option="xy") const
*-*-*-*-*Project a 3-D profile into a 2D-profile histogram depending on the option parameter option m...
Double_t fTsumwt
True when TProfile3D::Scale is called.
virtual TArrayD * GetBinSumw2()
void SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t)
Redefine x and y axis parameters.
static void Approximate(Bool_t approx=kTRUE)
set the fgApproximate flag.
Class to manage histogram axis.
3-D histogram with a double per channel (see TH1 documentation)}
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual Double_t GetBinError(Int_t bin) const
-*Return bin error of a Profile3D histogram
virtual Double_t GetBinContent(Int_t, Int_t) const
Int_t Fill(const Double_t *v)
Collection abstract base class.
virtual Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="")
Performs the operation: this = this + c1*f1.
virtual const TArrayD * GetBinSumw2() const
Int_t Fill(Double_t)
Invalid Fill method.
virtual Double_t GetTmax() const
virtual Long64_t Merge(TCollection *list)
Merge all histograms in the collection in this histogram.
virtual Double_t GetTmin() const
virtual void SetErrorOption(Option_t *option="")
Set option to compute profile3D errors.
Int_t Fill(Double_t, const char *, const char *, Double_t)
Increment cell defined by x,namey,namezz by a weight w.
virtual Int_t GetBin(Int_t binx, Int_t biny, Int_t binz) const
See comments in TH1::GetBin.
Int_t Fill(Double_t, const char *, Double_t, Double_t)
Increment cell defined by x,namey,z by a weight w.
virtual Double_t GetBinEffectiveEntries(Int_t bin)
Return bin effective entries for a weighted filled Profile histogram.
virtual void PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
void SetBins(const Int_t *nbins, const Double_t *range)
Profile2D histograms are used to display the mean value of Z and its RMS for each cell in X...
Array of doubles (64 bits per element).
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual void Copy(TObject &hnew) const
Copy a Profile3D histogram to a new profile2D histogram.
Mother of all ROOT objects.
virtual Double_t GetBinContent(Int_t binx, Int_t biny, Int_t binz) const
Int_t Fill(const char *, const char *, Double_t, Double_t)
Increment cell defined by namex,namey,z by a weight w.
virtual Double_t RetrieveBinContent(Int_t bin) const
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
virtual Double_t GetBinError(Int_t binx, Int_t biny, Int_t binz) const
virtual void ExtendAxis(Double_t x, TAxis *axis)
Profile histogram is resized along axis such that x is in the axis range.
virtual Double_t GetBinContent(Int_t bin) const
Return bin content of a Profile3D histogram.
void SetBins(Int_t, const Double_t *)
Redefine x axis parameters with variable bin sizes.
Option_t * GetErrorOption() const
-*Return option to compute profile2D errors *-* ========================================= ...
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 called from TH3::Project3DProfile but re-implemented in ca...
virtual Bool_t Divide(TF1 *h1, Double_t c1=1)
Performs the operation: this = this/(c1*f1) This function is not implemented.