69 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t"); }
71 {
MayNotUse(
"SetBins(Int_t, const Double_t*, Int_t, const Double_t*"); }
73 {
MayNotUse(
"SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t, Int_t, Double_t, Double_t"); }
75 {
MayNotUse(
"SetBins(Int_t, const Double_t*, Int_t, const Double_t*, Int_t, const Double_t*"); }
#define ClassDefOverride(name, id)
Array of doubles (64 bits per element).
Class to manage histogram axis.
Collection abstract base class.
1-D histogram with a double per channel (see TH1 documentation)}
TH1 is the base class of all histogram classes in ROOT.
TArrayD fSumw2
Array of sum of squares of weights.
Mother of all ROOT objects.
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...
Double_t GetBinContent(Int_t bin) const override
Return bin content of a Profile histogram.
virtual Double_t GetBinEffectiveEntries(Int_t bin) const
Return bin effective entries for a weighted filled Profile histogram.
virtual TArrayD * GetBinSumw2()
Bool_t Divide(TF1 *h1, Double_t c1=1) override
Performs the operation: this = this/(c1*f1).
TH1 * Rebin(Int_t ngroup=2, const char *newname="", const Double_t *xbins=nullptr) override
Rebin this profile grouping ngroup bins together.
static Bool_t fgApproximate
bin error approximation option
void ExtendAxis(Double_t x, TAxis *axis) override
Profile histogram is resized along x axis such that x is in the axis range.
Double_t GetBinContent(Int_t bin, Int_t, Int_t) const override
void PutStats(Double_t *stats) override
Replace current statistics with the values in array stats.
void BuildOptions(Double_t ymin, Double_t ymax, Option_t *option)
Set Profile histogram structure and options.
void SetBins(Int_t, const Double_t *, Int_t, const Double_t *, Int_t, const Double_t *) override
Redefine x, y and z axis parameters with variable bin sizes.
EErrorType fErrorMode
Option to compute errors.
Long64_t Merge(TCollection *list) override
Merge all histograms in the collection in this histogram.
Int_t Fill(Double_t) override
Increment bin with abscissa X by 1.
virtual Double_t GetYmax() const
void Copy(TObject &hnew) const override
Copy a Profile histogram to a new profile histogram.
virtual Double_t GetYmin() const
void SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t) override
Redefine x and y axis parameters.
void SetBins(Int_t, const Double_t *, Int_t, const Double_t *) override
Redefine x and y axis parameters with variable bin sizes.
virtual const TArrayD * GetBinSumw2() const
Double_t fYmax
Upper limit in Y (if set)
virtual void SetBinEntries(Int_t bin, Double_t w)
Set the number of entries in bin.
TH1D * ProjectionX(const char *name="_px", Option_t *option="e") const
Project this profile into a 1-D histogram along X.
virtual void SetErrorOption(Option_t *option="")
Set option to compute profile errors.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
virtual Double_t GetBinEntries(Int_t bin) const
Return bin entries of a Profile histogram.
void LabelsDeflate(Option_t *axis="X") override
Reduce the number of bins for this axis to the number of bins having a label.
void SetBinsLength(Int_t n=-1) override
Set total number of bins including under/overflow.
void Scale(Double_t c1=1, Option_t *option="") override
Multiply this profile by a constant c1.
TProfile()
Default constructor for Profile histograms.
Int_t BufferEmpty(Int_t action=0) override
Fill histogram with all entries in the buffer.
Double_t GetBinErrorSqUnchecked(Int_t bin) const override
void SetBuffer(Int_t buffersize, Option_t *option="") override
Set the buffer size in units of 8 bytes (double).
void FillN(Int_t, const Double_t *, const Double_t *, Int_t) override
Fill this histogram with an array x and weights w.
TProfile & operator=(const TProfile &profile)
void Sumw2(Bool_t flag=kTRUE) override
Create/delete structure to store sum of squares of weights per bin.
void LabelsInflate(Option_t *axis="X") override
Double the number of bins for axis.
Double_t fTsumwy2
Total Sum of weight*Y*Y.
void SetBins(Int_t, Double_t, Double_t, Int_t, Double_t, Double_t, Int_t, Double_t, Double_t) override
Redefine x, y and z axis parameters.
Double_t RetrieveBinContent(Int_t bin) const override
Raw retrieval of bin content on internal data structure see convention for numbering bins in TH1::Get...
Double_t GetBinContent(Int_t bin, Int_t) const override
Bool_t Multiply(TF1 *h1, Double_t c1=1) override
Performs the operation: this = this*c1*f1.
TArrayD fBinSumw2
Array of sum of squares of weights per bin.
Double_t GetBinError(Int_t bin) const override
Return bin error of a Profile histogram.
Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="") override
Performs the operation: this = this + c1*f1.
Double_t GetBinError(Int_t bin, Int_t, Int_t) const override
Int_t Fill(const Double_t *v)
Double_t fTsumwy
Total Sum of weight*Y.
Int_t BufferFill(Double_t, Double_t) override
accumulate arguments in buffer.
~TProfile() override
Default destructor for Profile histograms.
void SetBins(const Int_t *nbins, const Double_t *range)
Double_t fYmin
Lower limit in Y (if set)
TArrayD fBinEntries
number of entries per bin
Double_t GetBinError(Int_t bin, Int_t) const override
static void Approximate(Bool_t approx=kTRUE)
Static function to set the fgApproximate flag.
Bool_t fScaling
! True when TProfile::Scale is called
void GetStats(Double_t *stats) const override
fill the array stats from the contents of this profile.
Option_t * GetErrorOption() const
Return option to compute profile errors.
void LabelsOption(Option_t *option="h", Option_t *axis="X") override
Set option(s) to draw axis with labels.