12 #ifndef ROOT_TProfile2D 13 #define ROOT_TProfile2D 53 nbins[1], range[2], range[3]); };
71 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t"); }
73 {
MayNotUse(
"SetBins(Int_t, const Double_t*"); }
75 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t, Int_t, Double_t, Double_t"); }
77 {
MayNotUse(
"SetBins(Int_t, const Double_t*, Int_t, const Double_t*, Int_t, const Double_t*"); }
virtual Long64_t Merge(TCollection *list)
Merge all histograms in the collection in this histogram.
virtual Double_t GetBinEntries(Int_t bin) const
Return bin entries of a Profile2D histogram.
virtual Double_t GetBinError(Int_t binx, Int_t biny) const
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 Double_t GetBinError(Int_t bin) const
-*Return bin error of a Profile2D histogram
virtual void ExtendAxis(Double_t x, TAxis *axis)
Profile histogram is resized along axis such that x is in the axis range.
TProfile * ProfileY(const char *name="_pfy", Int_t firstxbin=0, Int_t lastxbin=-1, Option_t *option="") const
*-*Project a 2-D histogram into a profile histogram along X *-* =====================================...
Option_t * GetErrorOption() const
-*Return option to compute profile2D errors *-* ========================================= ...
virtual TProfile2D * RebinY(Int_t ngroup=2, const char *newname="")
Rebin only the Y axis see Rebin2D.
virtual TProfile2D * Rebin2D(Int_t nxgroup=2, Int_t nygroup=2, const char *newname="")
Rebin this histogram grouping nxgroup/nygroup bins along the xaxis/yaxis together.
TArrayD fSumw2
Array of sum of squares of weights.
virtual ~TProfile2D()
Default destructor for Profile2D histograms.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual Double_t GetZmax() const
virtual Bool_t Multiply(TF1 *h1, Double_t c1=1)
Performs the operation: this = this*c1*f1.
static Bool_t fgApproximate
Int_t Fill(Double_t, Double_t)
Increment cell defined by x,y by 1.
Int_t Fill(const Double_t *v)
virtual Bool_t Divide(TF1 *h1, Double_t c1=1)
Performs the operation: this = this/(c1*f1) This function is not implemented.
#define ClassDef(name, id)
void BuildOptions(Double_t zmin, Double_t zmax, Option_t *option)
Set Profile2D histogram structure and options.
virtual Double_t GetBinContent(Int_t bin) const
Return bin content of a Profile2D histogram.
virtual void SetErrorOption(Option_t *option="")
Set option to compute profile2D errors The computation of the bin errors is based on the parameter op...
static void Approximate(Bool_t approx=kTRUE)
static function set the fgApproximate flag.
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...
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 SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this profile2D by a constant c1.
virtual Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="")
Performs the operation: this = this + c1*f1.
Class to manage histogram axis.
TH2D * ProjectionXY(const char *name="_pxy", Option_t *option="e") const
*-*Project this profile2D into a 2-D histogram along X,Y -* *-* =====================================...
void SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t, Int_t, Double_t, Double_t)
Redefine x, y and z axis parameters.
virtual Double_t GetBinError(Int_t binx, Int_t biny, Int_t) const
virtual Int_t BufferFill(Double_t, Double_t, Double_t)
accumulate arguments in buffer.
Collection abstract base class.
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
virtual void Copy(TObject &hnew) const
Copy a Profile2D histogram to a new profile2D histogram*.
virtual void GetStats(Double_t *stats) const
fill the array stats from the contents of this profile The array stats must be correctly dimensionned...
virtual void PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
virtual TProfile2D * RebinX(Int_t ngroup=2, const char *newname="")
Rebin only the X axis see Rebin2D.
virtual void LabelsOption(Option_t *option="h", Option_t *axis="X")
Set option(s) to draw axis with labels option = "a" sort by alphabetic order = ">" sort by decreasing...
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
set the buffer size in units of 8 bytes (double)
virtual void LabelsInflate(Option_t *axis="X")
Double the number of bins for axis.
virtual Double_t GetBinContent(Int_t binx, Int_t biny) const
TProfile2D()
Default constructor for Profile2D histograms.
TProfile * ProfileX(const char *name="_pfx", Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const
*-*Project a 2-D histogram into a profile histogram along X *-* =====================================...
virtual Int_t BufferFill(Double_t, Double_t)
accumulate arguments in buffer.
void SetBins(Int_t, const Double_t *, Int_t, const Double_t *, Int_t, const Double_t *)
Redefine x, y and z axis parameters with variable bin sizes.
virtual Double_t GetBinEffectiveEntries(Int_t bin)
Return bin effective entries for a weighted filled Profile histogram.
virtual void SetBinEntries(Int_t bin, Double_t w)
Set the number of entries in bin -.
virtual Double_t GetBinErrorSqUnchecked(Int_t bin) const
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 Double_t GetBinContent(Int_t binx, Int_t biny, Int_t) const
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
void SetBins(Int_t, Double_t, Double_t)
Redefine x axis parameters.
virtual Double_t GetZmin() const
virtual Int_t GetBin(Int_t binx, Int_t biny, Int_t binz=0) const
Return Global bin number corresponding to binx,y,z.
Int_t Fill(Double_t)
Invalid Fill method.
void SetBins(const Int_t *nbins, const Double_t *range)
virtual const TArrayD * GetBinSumw2() const
virtual TProfile * DoProfile(bool onX, const char *name, Int_t firstbin, Int_t lastbin, Option_t *option) const
implementation of ProfileX or ProfileY for a TProfile2D Do correctly the combination of the bin avera...
Double_t fTsumwz
True when TProfile2D::Scale is called.
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...
tomato 2-D histogram with a double per channel (see TH1 documentation)}
void SetBins(Int_t, const Double_t *)
Redefine x axis parameters with variable bin sizes.
virtual TArrayD * GetBinSumw2()