|
| TH2D () |
| Constructor.
|
|
| TH2D (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins) |
| Constructor (see TH2::TH2 for explanation of parameters)
|
|
| TH2D (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup) |
| Constructor (see TH2::TH2 for explanation of parameters)
|
|
| TH2D (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins) |
| Constructor (see TH2::TH2 for explanation of parameters)
|
|
| TH2D (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, const Double_t *ybins) |
| Constructor (see TH2::TH2 for explanation of parameters)
|
|
| TH2D (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup) |
| Constructor (see TH2::TH2 for explanation of parameters)
|
|
| TH2D (const TH2D &h2d) |
| Copy constructor.
|
|
| TH2D (const TMatrixDBase &m) |
| Constructor Construct a 2-D histogram from a TMatrixDBase.
|
|
| ~TH2D () override |
| Destructor.
|
|
void | AddBinContent (Int_t bin) override |
| Increment bin content by 1.
|
|
void | AddBinContent (Int_t bin, Double_t w) override |
| Increment bin content by a weight w Passing an out-of-range bin leads to undefined behavior.
|
|
void | AddBinContent (Int_t binx, Int_t biny) override |
| Increment 2D bin content by 1.
|
|
void | AddBinContent (Int_t binx, Int_t biny, Double_t w) override |
| Increment 2D bin content by a weight w.
|
|
void | Copy (TObject &hnew) const override |
| Copy.
|
|
TClass * | IsA () const override |
|
TH2D & | operator= (const TH2D &h1) |
| Operator =.
|
|
void | Reset (Option_t *option="") override |
| Reset this histogram: contents, errors, etc.
|
|
void | SetBinsLength (Int_t n=-1) override |
| Set total number of bins including under/overflow Reallocate bin contents array.
|
|
void | Streamer (TBuffer &) override |
| Stream an object of class TH2D.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| ~TH2 () override |
| Destructor.
|
|
Int_t | BufferEmpty (Int_t action=0) override |
| Fill histogram with all entries in the buffer.
|
|
virtual Int_t | Fill (const char *namex, const char *namey, Double_t w) |
| Increment cell defined by namex,namey by a weight w.
|
|
virtual Int_t | Fill (const char *namex, Double_t y, Double_t w) |
| Increment cell defined by namex,y by a weight w.
|
|
virtual Int_t | Fill (Double_t x, const char *namey, Double_t w) |
| Increment cell defined by x,namey by a weight w.
|
|
Int_t | Fill (Double_t x, Double_t y) override |
| Increment cell defined by x,y by 1.
|
|
virtual Int_t | Fill (Double_t x, Double_t y, Double_t w) |
| Increment cell defined by x,y by a weight w.
|
|
void | FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1) override |
| Fill a 2-D histogram with an array of values and weights.
|
|
void | FillN (Int_t, const Double_t *, const Double_t *, Int_t) override |
| Fill this histogram with an array x and weights w.
|
|
void | FillRandom (const char *fname, Int_t ntimes=5000, TRandom *rng=nullptr) override |
| Fill histogram following distribution in function fname.
|
|
void | FillRandom (TH1 *h, Int_t ntimes=5000, TRandom *rng=nullptr) override |
| Fill histogram following distribution in histogram h.
|
|
virtual void | FitSlicesX (TF1 *f1=nullptr, Int_t firstybin=0, Int_t lastybin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=nullptr) |
| Project slices along X in case of a 2-D histogram, then fit each slice with function f1 and make a histogram for each fit parameter Only bins along Y between firstybin and lastybin are considered.
|
|
virtual void | FitSlicesY (TF1 *f1=nullptr, Int_t firstxbin=0, Int_t lastxbin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=nullptr) |
| Project slices along Y in case of a 2-D histogram, then fit each slice with function f1 and make a histogram for each fit parameter Only bins along X between firstxbin and lastxbin are considered.
|
|
Int_t | GetBin (Int_t binx, Int_t biny, Int_t binz=0) const override |
| Return Global bin number corresponding to binx,y,z.
|
|
virtual Double_t | GetBinContent (Int_t bin) const |
| Return content of bin number bin.
|
|
virtual Double_t | GetBinContent (Int_t bin, Int_t) const |
|
virtual Double_t | GetBinContent (Int_t bin, Int_t, Int_t) const |
|
Double_t | GetBinContent (Int_t binx, Int_t biny) const override |
|
Double_t | GetBinContent (Int_t binx, Int_t biny, Int_t) const override |
|
virtual Double_t | GetBinErrorLow (Int_t bin) const |
| Return lower error associated to bin number bin.
|
|
virtual Double_t | GetBinErrorLow (Int_t binx, Int_t biny) |
|
virtual Double_t | GetBinErrorUp (Int_t bin) const |
| Return upper error associated to bin number bin.
|
|
virtual Double_t | GetBinErrorUp (Int_t binx, Int_t biny) |
|
virtual Double_t | GetBinWithContent2 (Double_t c, Int_t &binx, Int_t &biny, Int_t firstxbin=1, Int_t lastxbin=-1, Int_t firstybin=1, Int_t lastybin=-1, Double_t maxdiff=0) const |
| compute first cell (binx,biny) in the range [firstxbin,lastxbin][firstybin,lastybin] for which diff = abs(cell_content-c) <= maxdiff In case several cells in the specified range with diff=0 are found the first cell found is returned in binx,biny.
|
|
virtual Double_t | GetCorrelationFactor (Int_t axis1=1, Int_t axis2=2) const |
| Return correlation factor between axis1 and axis2.
|
|
virtual Double_t | GetCovariance (Int_t axis1=1, Int_t axis2=2) const |
| Return covariance between axis1 and axis2.
|
|
virtual void | GetRandom2 (Double_t &x, Double_t &y, TRandom *rng=nullptr) |
| Return 2 random numbers along axis x and y distributed according to the cell-contents of this 2-D histogram.
|
|
void | GetStats (Double_t *stats) const override |
| Fill the array stats from the contents of this histogram The array stats must be correctly dimensioned in the calling program.
|
|
virtual Double_t | Integral (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Option_t *option="") const |
| Return integral of bin contents in range [firstxbin,lastxbin],[firstybin,lastybin] for a 2-D histogram By default the integral is computed as the sum of bin contents in the range.
|
|
virtual Double_t | Integral (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Option_t *="") const |
|
Double_t | Integral (Option_t *option="") const override |
| Return integral of bin contents.
|
|
virtual Double_t | IntegralAndError (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Double_t &err, Option_t *option="") const |
| Return integral of bin contents in range [firstxbin,lastxbin],[firstybin,lastybin] for a 2-D histogram.
|
|
Double_t | Interpolate (Double_t x, Double_t y) const override |
| Given a point P(x,y), Interpolate approximates the value via bilinear interpolation based on the four nearest bin centers see Wikipedia, Bilinear Interpolation Andy Mastbaum 10/8/2008 vaguely based on R.Raja 6-Sep-2008.
|
|
Double_t | Interpolate (Double_t x, Double_t y, Double_t z) const override |
| illegal for a TH2
|
|
Double_t | KolmogorovTest (const TH1 *h2, Option_t *option="") const override |
| Statistical test of compatibility in shape between THIS histogram and h2, using Kolmogorov test.
|
|
TProfile * | ProfileX (const char *name="_pfx", Int_t firstybin=1, Int_t lastybin=-1, Option_t *option="") const |
| Project a 2-D histogram into a profile histogram along X.
|
|
TProfile * | ProfileY (const char *name="_pfy", Int_t firstxbin=1, Int_t lastxbin=-1, Option_t *option="") const |
| Project a 2-D histogram into a profile histogram along Y.
|
|
TH1D * | ProjectionX (const char *name="_px", Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const |
| Project a 2-D histogram into a 1-D histogram along X.
|
|
TH1D * | ProjectionY (const char *name="_py", Int_t firstxbin=0, Int_t lastxbin=-1, Option_t *option="") const |
| Project a 2-D histogram into a 1-D histogram along Y.
|
|
void | PutStats (Double_t *stats) override |
| Replace current statistics with the values in array stats.
|
|
TH1D * | QuantilesX (Double_t prob=0.5, const char *name="_qx") const |
| Compute the X distribution of quantiles in the other variable Y name is the name of the returned histogram prob is the probability content for the quantile (0.5 is the default for the median) An approximate error for the quantile is computed assuming that the distribution in the other variable is normal.
|
|
TH1D * | QuantilesY (Double_t prob=0.5, const char *name="_qy") const |
| Compute the Y distribution of quantiles in the other variable X name is the name of the returned histogram prob is the probability content for the quantile (0.5 is the default for the median) An approximate error for the quantile is computed assuming that the distribution in the other variable is normal.
|
|
TH2 * | Rebin (Int_t ngroup=2, const char *newname="", const Double_t *xbins=nullptr) override |
| Override TH1::Rebin as TH2::RebinX Rebinning in variable binning as for TH1 is not allowed If a non-null pointer is given an error is flagged see RebinX and Rebin2D.
|
|
virtual TH2 * | Rebin2D (Int_t nxgroup=2, Int_t nygroup=2, const char *newname="") |
| Rebin this histogram grouping nxgroup/nygroup bins along the xaxis/yaxis together.
|
|
TH2 * | RebinX (Int_t ngroup=2, const char *newname="") override |
| Rebin only the X axis see Rebin2D.
|
|
virtual TH2 * | RebinY (Int_t ngroup=2, const char *newname="") |
| Rebin only the Y axis see Rebin2D.
|
|
void | SetBinContent (Int_t bin, Double_t content) override |
| Set bin content.
|
|
void | SetBinContent (Int_t binx, Int_t biny, Double_t content) override |
|
void | SetBinContent (Int_t binx, Int_t biny, Int_t, Double_t content) override |
|
virtual void | SetShowProjectionX (Int_t nbins=1) |
| When the mouse is moved in a pad containing a 2-d view of this histogram a second canvas shows the projection along X corresponding to the mouse position along Y.
|
|
virtual void | SetShowProjectionXY (Int_t nbinsY=1, Int_t nbinsX=1) |
| When the mouse is moved in a pad containing a 2-d view of this histogram two canvases show the projection along X and Y corresponding to the mouse position along Y and X, respectively.
|
|
virtual void | SetShowProjectionY (Int_t nbins=1) |
| When the mouse is moved in a pad containing a 2-d view of this histogram a second canvas shows the projection along Y corresponding to the mouse position along X.
|
|
TH1 * | ShowBackground (Int_t niter=20, Option_t *option="same") override |
| This function calculates the background spectrum in this histogram.
|
|
Int_t | ShowPeaks (Double_t sigma=2, Option_t *option="", Double_t threshold=0.05) override |
| Interface to TSpectrum2::Search the function finds peaks in this histogram where the width is > sigma and the peak maximum greater than threshold*maximum bin content of this.
|
|
void | Smooth (Int_t ntimes=1, Option_t *option="") override |
| Smooth bin contents of this 2-d histogram using kernel algorithms similar to the ones used in the raster graphics community.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| ~TH1 () override |
| Histogram default destructor.
|
|
virtual Bool_t | Add (const TH1 *h, const TH1 *h2, Double_t c1=1, Double_t c2=1) |
| Replace contents of this histogram by the addition of h1 and h2.
|
|
virtual Bool_t | Add (const TH1 *h1, Double_t c1=1) |
| Performs the operation: this = this + c1*h1 If errors are defined (see TH1::Sumw2), errors are also recalculated.
|
|
virtual Bool_t | Add (TF1 *h1, Double_t c1=1, Option_t *option="") |
| Performs the operation: this = this + c1*f1 if errors are defined (see TH1::Sumw2), errors are also recalculated.
|
|
virtual Double_t | AndersonDarlingTest (const TH1 *h2, Double_t &advalue) const |
| Same function as above but returning also the test statistic value.
|
|
virtual Double_t | AndersonDarlingTest (const TH1 *h2, Option_t *option="") const |
| Statistical test of compatibility in shape between this histogram and h2, using the Anderson-Darling 2 sample test.
|
|
void | Browse (TBrowser *b) override |
| Browse the Histogram object.
|
|
virtual Bool_t | CanExtendAllAxes () const |
| Returns true if all axes are extendable.
|
|
virtual Double_t | Chi2Test (const TH1 *h2, Option_t *option="UU", Double_t *res=nullptr) const |
| \( \chi^{2} \) test for comparing weighted and unweighted histograms.
|
|
virtual Double_t | Chi2TestX (const TH1 *h2, Double_t &chi2, Int_t &ndf, Int_t &igood, Option_t *option="UU", Double_t *res=nullptr) const |
| The computation routine of the Chisquare test.
|
|
virtual Double_t | Chisquare (TF1 *f1, Option_t *option="") const |
| Compute and return the chisquare of this histogram with respect to a function The chisquare is computed by weighting each histogram point by the bin error By default the full range of the histogram is used.
|
|
virtual void | ClearUnderflowAndOverflow () |
| Remove all the content from the underflow and overflow bins, without changing the number of entries After calling this method, every undeflow and overflow bins will have content 0.0 The Sumw2 is also cleared, since there is no more content in the bins.
|
|
TObject * | Clone (const char *newname="") const override |
| Make a complete copy of the underlying object.
|
|
virtual Double_t | ComputeIntegral (Bool_t onlyPositive=false) |
| Compute integral (normalized cumulative sum of bins) w/o under/overflows The result is stored in fIntegral and used by the GetRandom functions.
|
|
virtual void | DirectoryAutoAdd (TDirectory *) |
| Perform the automatic addition of the histogram to the given directory.
|
|
Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
| Compute distance from point px,py to a line.
|
|
virtual Bool_t | Divide (const TH1 *h1) |
| Divide this histogram by h1.
|
|
virtual Bool_t | Divide (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="") |
| Replace contents of this histogram by the division of h1 by h2.
|
|
virtual Bool_t | Divide (TF1 *f1, Double_t c1=1) |
| Performs the operation: this = this/(c1*f1) if errors are defined (see TH1::Sumw2), errors are also recalculated.
|
|
void | Draw (Option_t *option="") override |
| Draw this histogram with options.
|
|
virtual TH1 * | DrawCopy (Option_t *option="", const char *name_postfix="_copy") const |
| Copy this histogram and Draw in the current pad.
|
|
virtual TH1 * | DrawNormalized (Option_t *option="", Double_t norm=1) const |
| Draw a normalized copy of this histogram.
|
|
virtual void | DrawPanel () |
| Display a panel with all histogram drawing options.
|
|
virtual void | Eval (TF1 *f1, Option_t *option="") |
| Evaluate function f1 at the center of bins of this histogram.
|
|
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
| Execute action corresponding to one event.
|
|
virtual void | ExtendAxis (Double_t x, TAxis *axis) |
| Histogram is resized along axis such that x is in the axis range.
|
|
virtual TH1 * | FFT (TH1 *h_output, Option_t *option) |
| This function allows to do discrete Fourier transforms of TH1 and TH2.
|
|
virtual Int_t | FindBin (Double_t x, Double_t y=0, Double_t z=0) |
| Return Global bin number corresponding to x,y,z.
|
|
virtual Int_t | FindFirstBinAbove (Double_t threshold=0, Int_t axis=1, Int_t firstBin=1, Int_t lastBin=-1) const |
| Find first bin with content > threshold for axis (1=x, 2=y, 3=z) if no bins with content > threshold is found the function returns -1.
|
|
virtual Int_t | FindFixBin (Double_t x, Double_t y=0, Double_t z=0) const |
| Return Global bin number corresponding to x,y,z.
|
|
virtual Int_t | FindLastBinAbove (Double_t threshold=0, Int_t axis=1, Int_t firstBin=1, Int_t lastBin=-1) const |
| Find last bin with content > threshold for axis (1=x, 2=y, 3=z) if no bins with content > threshold is found the function returns -1.
|
|
TObject * | FindObject (const char *name) const override |
| Search object named name in the list of functions.
|
|
TObject * | FindObject (const TObject *obj) const override |
| Search object obj in the list of functions.
|
|
virtual TFitResultPtr | Fit (const char *formula, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0) |
| Fit histogram with function fname.
|
|
virtual TFitResultPtr | Fit (TF1 *f1, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0) |
| Fit histogram with the function pointer f1.
|
|
virtual void | FitPanel () |
| Display a panel with all histogram fit options.
|
|
TH1 * | GetAsymmetry (TH1 *h2, Double_t c2=1, Double_t dc2=0) |
| Return a histogram containing the asymmetry of this histogram with h2, where the asymmetry is defined as:
|
|
virtual Color_t | GetAxisColor (Option_t *axis="X") const |
| Return the number of divisions for "axis".
|
|
virtual Float_t | GetBarOffset () const |
|
virtual Float_t | GetBarWidth () const |
|
virtual Double_t | GetBinCenter (Int_t bin) const |
| Return bin center for 1D histogram.
|
|
virtual Double_t | GetBinError (Int_t bin) const |
| Return value of error associated to bin number bin.
|
|
virtual Double_t | GetBinError (Int_t binx, Int_t biny) const |
|
virtual Double_t | GetBinError (Int_t binx, Int_t biny, Int_t binz) const |
|
virtual EBinErrorOpt | GetBinErrorOption () const |
|
virtual Double_t | GetBinLowEdge (Int_t bin) const |
| Return bin lower edge for 1D histogram.
|
|
virtual Double_t | GetBinWidth (Int_t bin) const |
| Return bin width for 1D histogram.
|
|
virtual Double_t | GetBinWithContent (Double_t c, Int_t &binx, Int_t firstx=0, Int_t lastx=0, Double_t maxdiff=0) const |
| Compute first binx in the range [firstx,lastx] for which diff = abs(bin_content-c) <= maxdiff.
|
|
virtual void | GetBinXYZ (Int_t binglobal, Int_t &binx, Int_t &biny, Int_t &binz) const |
| Return binx, biny, binz corresponding to the global bin number globalbin see TH1::GetBin function above.
|
|
const Double_t * | GetBuffer () const |
|
Int_t | GetBufferLength () const |
|
Int_t | GetBufferSize () const |
|
virtual Double_t | GetCellContent (Int_t binx, Int_t biny) const |
|
virtual Double_t | GetCellError (Int_t binx, Int_t biny) const |
|
virtual void | GetCenter (Double_t *center) const |
| Fill array with center of bins for 1D histogram Better to use h1.GetXaxis()->GetCenter(center)
|
|
virtual Int_t | GetContour (Double_t *levels=nullptr) |
| Return contour values into array levels if pointer levels is non zero.
|
|
virtual Double_t | GetContourLevel (Int_t level) const |
| Return value of contour number level.
|
|
virtual Double_t | GetContourLevelPad (Int_t level) const |
| Return the value of contour number "level" in Pad coordinates.
|
|
TH1 * | GetCumulative (Bool_t forward=kTRUE, const char *suffix="_cumulative") const |
| Return a pointer to a histogram containing the cumulative content.
|
|
virtual Int_t | GetDimension () const |
|
TDirectory * | GetDirectory () const |
|
virtual Double_t | GetEffectiveEntries () const |
| Number of effective entries of the histogram.
|
|
virtual Double_t | GetEntries () const |
| Return the current number of entries.
|
|
virtual TF1 * | GetFunction (const char *name) const |
| Return pointer to function with name.
|
|
virtual Double_t * | GetIntegral () |
| Return a pointer to the array of bins integral.
|
|
virtual Double_t | GetKurtosis (Int_t axis=1) const |
|
virtual Color_t | GetLabelColor (Option_t *axis="X") const |
| Return the "axis" label color.
|
|
virtual Style_t | GetLabelFont (Option_t *axis="X") const |
| Return the "axis" label font.
|
|
virtual Float_t | GetLabelOffset (Option_t *axis="X") const |
| Return the "axis" label offset.
|
|
virtual Float_t | GetLabelSize (Option_t *axis="X") const |
| Return the "axis" label size.
|
|
TList * | GetListOfFunctions () const |
|
virtual void | GetLowEdge (Double_t *edge) const |
| Fill array with low edge of bins for 1D histogram Better to use h1.GetXaxis()->GetLowEdge(edge)
|
|
virtual Double_t | GetMaximum (Double_t maxval=FLT_MAX) const |
| Return maximum value smaller than maxval of bins in the range, unless the value has been overridden by TH1::SetMaximum, in which case it returns that value.
|
|
virtual Int_t | GetMaximumBin () const |
| Return location of bin with maximum value in the range.
|
|
virtual Int_t | GetMaximumBin (Int_t &locmax, Int_t &locmay, Int_t &locmaz) const |
| Return location of bin with maximum value in the range.
|
|
virtual Double_t | GetMaximumStored () const |
|
virtual Double_t | GetMean (Int_t axis=1) const |
| For axis = 1,2 or 3 returns the mean value of the histogram along X,Y or Z axis.
|
|
virtual Double_t | GetMeanError (Int_t axis=1) const |
| Return standard error of mean of this histogram along the X axis.
|
|
virtual Double_t | GetMinimum (Double_t minval=-FLT_MAX) const |
| Return minimum value larger than minval of bins in the range, unless the value has been overridden by TH1::SetMinimum, in which case it returns that value.
|
|
virtual void | GetMinimumAndMaximum (Double_t &min, Double_t &max) const |
| Retrieve the minimum and maximum values in the histogram.
|
|
virtual Int_t | GetMinimumBin () const |
| Return location of bin with minimum value in the range.
|
|
virtual Int_t | GetMinimumBin (Int_t &locmix, Int_t &locmiy, Int_t &locmiz) const |
| Return location of bin with minimum value in the range.
|
|
virtual Double_t | GetMinimumStored () const |
|
virtual Int_t | GetNbinsX () const |
|
virtual Int_t | GetNbinsY () const |
|
virtual Int_t | GetNbinsZ () const |
|
virtual Int_t | GetNcells () const |
|
virtual Int_t | GetNdivisions (Option_t *axis="X") const |
| Return the number of divisions for "axis".
|
|
virtual Double_t | GetNormFactor () const |
|
char * | GetObjectInfo (Int_t px, Int_t py) const override |
| Redefines TObject::GetObjectInfo.
|
|
Option_t * | GetOption () const override |
|
TVirtualHistPainter * | GetPainter (Option_t *option="") |
| Return pointer to painter.
|
|
virtual Int_t | GetQuantiles (Int_t n, Double_t *xp, const Double_t *p=nullptr) |
| Compute Quantiles for this histogram Quantile x_p := Q(p) is defined as the value x_p such that the cumulative probability distribution Function F of variable X yields:
|
|
virtual Double_t | GetRandom (TRandom *rng=nullptr) const |
| Return a random number distributed according the histogram bin contents.
|
|
Double_t | GetRMS (Int_t axis=1) const |
| This function returns the Standard Deviation (Sigma) of the distribution not the Root Mean Square (RMS).
|
|
Double_t | GetRMSError (Int_t axis=1) const |
|
virtual Double_t | GetSkewness (Int_t axis=1) const |
|
EStatOverflows | GetStatOverflows () const |
| Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more information.
|
|
virtual Double_t | GetStdDev (Int_t axis=1) const |
| Returns the Standard Deviation (Sigma).
|
|
virtual Double_t | GetStdDevError (Int_t axis=1) const |
| Return error of standard deviation estimation for Normal distribution.
|
|
virtual Double_t | GetSumOfWeights () const |
| Return the sum of weights excluding under/overflows.
|
|
virtual TArrayD * | GetSumw2 () |
|
virtual const TArrayD * | GetSumw2 () const |
|
virtual Int_t | GetSumw2N () const |
|
virtual Float_t | GetTickLength (Option_t *axis="X") const |
| Return the "axis" tick length.
|
|
virtual Style_t | GetTitleFont (Option_t *axis="X") const |
| Return the "axis" title font.
|
|
virtual Float_t | GetTitleOffset (Option_t *axis="X") const |
| Return the "axis" title offset.
|
|
virtual Float_t | GetTitleSize (Option_t *axis="X") const |
| Return the "axis" title size.
|
|
TAxis * | GetXaxis () |
|
const TAxis * | GetXaxis () const |
|
TAxis * | GetYaxis () |
|
const TAxis * | GetYaxis () const |
|
TAxis * | GetZaxis () |
|
const TAxis * | GetZaxis () const |
|
Bool_t | IsBinOverflow (Int_t bin, Int_t axis=0) const |
| Return true if the bin is overflow.
|
|
Bool_t | IsBinUnderflow (Int_t bin, Int_t axis=0) const |
| Return true if the bin is underflow.
|
|
virtual Bool_t | IsHighlight () const |
|
virtual void | LabelsDeflate (Option_t *axis="X") |
| Reduce the number of bins for the axis passed in the option to the number of bins having a label.
|
|
virtual void | LabelsInflate (Option_t *axis="X") |
| Double the number of bins for axis.
|
|
virtual void | LabelsOption (Option_t *option="h", Option_t *axis="X") |
| Sort bins with labels or set option(s) to draw axis with labels.
|
|
virtual Long64_t | Merge (TCollection *list) |
|
Long64_t | Merge (TCollection *list, Option_t *option) |
| Add all histograms in the collection to this histogram.
|
|
virtual Bool_t | Multiply (const TH1 *h1) |
| Multiply this histogram by h1.
|
|
virtual Bool_t | Multiply (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="") |
| Replace contents of this histogram by multiplication of h1 by h2.
|
|
virtual Bool_t | Multiply (TF1 *f1, Double_t c1=1) |
| Performs the operation:
|
|
void | Paint (Option_t *option="") override |
| Control routine to paint any kind of histograms.
|
|
void | Print (Option_t *option="") const override |
| Print some global quantities for this histogram.
|
|
virtual void | RebinAxis (Double_t x, TAxis *axis) |
|
virtual void | Rebuild (Option_t *option="") |
| Using the current bin info, recompute the arrays for contents and errors.
|
|
void | RecursiveRemove (TObject *obj) override |
| Recursively remove object from the list of functions.
|
|
virtual void | ResetStats () |
| Reset the statistics including the number of entries and replace with values calculated from bin content.
|
|
void | SaveAs (const char *filename="hist", Option_t *option="") const override |
| Save the histogram as .csv, .tsv or .txt.
|
|
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
| Save primitive as a C++ statement(s) on output stream out.
|
|
virtual void | Scale (Double_t c1=1, Option_t *option="") |
| Multiply this histogram by a constant c1.
|
|
virtual void | SetAxisColor (Color_t color=1, Option_t *axis="X") |
| Set color to draw the axis line and tick marks.
|
|
virtual void | SetAxisRange (Double_t xmin, Double_t xmax, Option_t *axis="X") |
| Set the "axis" range.
|
|
virtual void | SetBarOffset (Float_t offset=0.25) |
| Set the bar offset as fraction of the bin width for drawing mode "B".
|
|
virtual void | SetBarWidth (Float_t width=0.5) |
| Set the width of bars as fraction of the bin width for drawing mode "B".
|
|
virtual void | SetBinError (Int_t bin, Double_t error) |
| Set the bin Error Note that this resets the bin eror option to be of Normal Type and for the non-empty bin the bin error is set by default to the square root of their content.
|
|
virtual void | SetBinError (Int_t binx, Int_t biny, Double_t error) |
| See convention for numbering bins in TH1::GetBin.
|
|
virtual void | SetBinError (Int_t binx, Int_t biny, Int_t binz, Double_t error) |
| See convention for numbering bins in TH1::GetBin.
|
|
virtual void | SetBinErrorOption (EBinErrorOpt type) |
|
virtual void | SetBins (Int_t nx, const Double_t *xBins) |
| Redefine x axis parameters with variable bin sizes.
|
|
virtual void | SetBins (Int_t nx, const Double_t *xBins, Int_t ny, const Double_t *yBins) |
| Redefine x and y axis parameters with variable bin sizes.
|
|
virtual void | SetBins (Int_t nx, const Double_t *xBins, Int_t ny, const Double_t *yBins, Int_t nz, const Double_t *zBins) |
| Redefine x, y and z axis parameters with variable bin sizes.
|
|
virtual void | SetBins (Int_t nx, Double_t xmin, Double_t xmax) |
| Redefine x axis parameters.
|
|
virtual void | SetBins (Int_t nx, Double_t xmin, Double_t xmax, Int_t ny, Double_t ymin, Double_t ymax) |
| Redefine x and y axis parameters.
|
|
virtual void | SetBins (Int_t nx, Double_t xmin, Double_t xmax, Int_t ny, Double_t ymin, Double_t ymax, Int_t nz, Double_t zmin, Double_t zmax) |
| Redefine x, y and z axis parameters.
|
|
virtual void | SetBuffer (Int_t buffersize, Option_t *option="") |
| Set the maximum number of entries to be kept in the buffer.
|
|
virtual UInt_t | SetCanExtend (UInt_t extendBitMask) |
| Make the histogram axes extendable / not extendable according to the bit mask returns the previous bit mask specifying which axes are extendable.
|
|
virtual void | SetCellContent (Int_t binx, Int_t biny, Double_t content) |
|
virtual void | SetCellError (Int_t binx, Int_t biny, Double_t content) |
|
virtual void | SetColors (Color_t linecolor=-1, Color_t markercolor=-1, Color_t fillcolor=-1) |
| Shortcut to set the three histogram colors with a single call.
|
|
virtual void | SetContent (const Double_t *content) |
| Replace bin contents by the contents of array content.
|
|
virtual void | SetContour (Int_t nlevels, const Double_t *levels=nullptr) |
| Set the number and values of contour levels.
|
|
virtual void | SetContourLevel (Int_t level, Double_t value) |
| Set value for one contour level.
|
|
virtual void | SetDirectory (TDirectory *dir) |
| By default, when a histogram is created, it is added to the list of histogram objects in the current directory in memory.
|
|
virtual void | SetEntries (Double_t n) |
|
virtual void | SetError (const Double_t *error) |
| Replace bin errors by values in array error.
|
|
virtual void | SetHighlight (Bool_t set=kTRUE) |
| Set highlight (enable/disable) mode for the histogram by default highlight mode is disable.
|
|
virtual void | SetLabelColor (Color_t color=1, Option_t *axis="X") |
| Set axis labels color.
|
|
virtual void | SetLabelFont (Style_t font=62, Option_t *axis="X") |
| Set font number used to draw axis labels.
|
|
virtual void | SetLabelOffset (Float_t offset=0.005, Option_t *axis="X") |
| Set offset between axis and axis' labels.
|
|
virtual void | SetLabelSize (Float_t size=0.02, Option_t *axis="X") |
| Set size of axis' labels.
|
|
virtual void | SetMaximum (Double_t maximum=-1111) |
|
virtual void | SetMinimum (Double_t minimum=-1111) |
|
void | SetName (const char *name) override |
| Change the name of this histogram.
|
|
void | SetNameTitle (const char *name, const char *title) override |
| Change the name and title of this histogram.
|
|
virtual void | SetNdivisions (Int_t n=510, Option_t *axis="X") |
| Set the number of divisions to draw an axis.
|
|
virtual void | SetNormFactor (Double_t factor=1) |
|
virtual void | SetOption (Option_t *option=" ") |
|
void | SetStatOverflows (EStatOverflows statOverflows) |
| See GetStatOverflows for more information.
|
|
virtual void | SetStats (Bool_t stats=kTRUE) |
| Set statistics option on/off.
|
|
virtual void | SetTickLength (Float_t length=0.02, Option_t *axis="X") |
| Set the axis' tick marks length.
|
|
void | SetTitle (const char *title) override |
| Change/set the title.
|
|
virtual void | SetTitleFont (Style_t font=62, Option_t *axis="X") |
| Set the axis' title font.
|
|
virtual void | SetTitleOffset (Float_t offset=1, Option_t *axis="X") |
| Specify a parameter offset to control the distance between the axis and the axis' title.
|
|
virtual void | SetTitleSize (Float_t size=0.02, Option_t *axis="X") |
| Set the axis' title size.
|
|
virtual void | SetXTitle (const char *title) |
|
virtual void | SetYTitle (const char *title) |
|
virtual void | SetZTitle (const char *title) |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
virtual void | Sumw2 (Bool_t flag=kTRUE) |
| Create structure to store sum of squares of weights.
|
|
void | UseCurrentStyle () override |
| Copy current attributes from/to current style.
|
|
| TNamed () |
|
| TNamed (const char *name, const char *title) |
|
| TNamed (const TNamed &named) |
| TNamed copy ctor.
|
|
| TNamed (const TString &name, const TString &title) |
|
virtual | ~TNamed () |
| TNamed destructor.
|
|
void | Clear (Option_t *option="") override |
| Set name and title to empty strings ("").
|
|
TObject * | Clone (const char *newname="") const override |
| Make a clone of an object using the Streamer facility.
|
|
Int_t | Compare (const TObject *obj) const override |
| Compare two TNamed objects.
|
|
void | Copy (TObject &named) const override |
| Copy this to obj.
|
|
virtual void | FillBuffer (char *&buffer) |
| Encode TNamed into output buffer.
|
|
const char * | GetName () const override |
| Returns name of object.
|
|
const char * | GetTitle () const override |
| Returns title of object.
|
|
ULong_t | Hash () const override |
| Return hash value for this object.
|
|
TClass * | IsA () const override |
|
Bool_t | IsSortable () const override |
|
void | ls (Option_t *option="") const override |
| List TNamed name and title.
|
|
TNamed & | operator= (const TNamed &rhs) |
| TNamed assignment operator.
|
|
void | Print (Option_t *option="") const override |
| Print TNamed name and title.
|
|
virtual Int_t | Sizeof () const |
| Return size of the TNamed part of the TObject.
|
|
void | Streamer (TBuffer &) override |
| Stream an object of class TObject.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TObject () |
| TObject constructor.
|
|
| TObject (const TObject &object) |
| TObject copy ctor.
|
|
virtual | ~TObject () |
| TObject destructor.
|
|
void | AbstractMethod (const char *method) const |
| Use this method to implement an "abstract" method that you don't want to leave purely abstract.
|
|
virtual void | AppendPad (Option_t *option="") |
| Append graphics object to current pad.
|
|
ULong_t | CheckedHash () |
| Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
|
|
virtual const char * | ClassName () const |
| Returns name of class to which the object belongs.
|
|
virtual void | Delete (Option_t *option="") |
| Delete this object.
|
|
virtual void | DrawClass () const |
| Draw class inheritance tree of the class to which this object belongs.
|
|
virtual TObject * | DrawClone (Option_t *option="") const |
| Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) .
|
|
virtual void | Dump () const |
| Dump contents of object on stdout.
|
|
virtual void | Error (const char *method, const char *msgfmt,...) const |
| Issue error message.
|
|
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| Execute method on this object with the given parameter string, e.g.
|
|
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| Execute method on this object with parameters stored in the TObjArray.
|
|
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| Issue fatal error message.
|
|
virtual Option_t * | GetDrawOption () const |
| Get option used by the graphics system to draw this object.
|
|
virtual const char * | GetIconName () const |
| Returns mime type name of object.
|
|
virtual UInt_t | GetUniqueID () const |
| Return the unique object id.
|
|
virtual Bool_t | HandleTimer (TTimer *timer) |
| Execute action in response of a timer timing out.
|
|
Bool_t | HasInconsistentHash () const |
| Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
|
|
virtual void | Info (const char *method, const char *msgfmt,...) const |
| Issue info message.
|
|
virtual Bool_t | InheritsFrom (const char *classname) const |
| Returns kTRUE if object inherits from class "classname".
|
|
virtual Bool_t | InheritsFrom (const TClass *cl) const |
| Returns kTRUE if object inherits from TClass cl.
|
|
virtual void | Inspect () const |
| Dump contents of this object in a graphics canvas.
|
|
void | InvertBit (UInt_t f) |
|
Bool_t | IsDestructed () const |
| IsDestructed.
|
|
virtual Bool_t | IsEqual (const TObject *obj) const |
| Default equal comparison (objects are equal if they have the same address in memory).
|
|
virtual Bool_t | IsFolder () const |
| Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
|
|
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
|
R__ALWAYS_INLINE Bool_t | IsZombie () const |
|
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 class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
|
|
virtual Bool_t | Notify () |
| This method must be overridden to handle object notification (the base implementation is no-op).
|
|
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| Use this method to declare a method obsolete.
|
|
void | operator delete (void *ptr) |
| Operator delete.
|
|
void | operator delete (void *ptr, void *vp) |
| Only called by placement new when throwing an exception.
|
|
void | operator delete[] (void *ptr) |
| Operator delete [].
|
|
void | operator delete[] (void *ptr, void *vp) |
| Only called by placement new[] when throwing an exception.
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *vp) |
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, void *vp) |
|
TObject & | operator= (const TObject &rhs) |
| TObject assignment operator.
|
|
virtual void | Pop () |
| Pop on object drawn in a pad to the top of the display list.
|
|
virtual Int_t | Read (const char *name) |
| Read contents of object with specified name from the current directory.
|
|
void | ResetBit (UInt_t f) |
|
void | SetBit (UInt_t f) |
|
void | SetBit (UInt_t f, Bool_t set) |
| Set or unset the user status bits as specified in f.
|
|
virtual void | SetDrawOption (Option_t *option="") |
| Set drawing option for object.
|
|
virtual void | SetUniqueID (UInt_t uid) |
| Set the unique object id.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
virtual void | SysError (const char *method, const char *msgfmt,...) const |
| Issue system error message.
|
|
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
|
Int_t | TestBits (UInt_t f) const |
|
virtual void | Warning (const char *method, const char *msgfmt,...) const |
| Issue warning message.
|
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| Write this object to the current directory.
|
|
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
| Write this object to the current directory.
|
|
| TAttLine () |
| AttLine default constructor.
|
|
| TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) |
| AttLine normal constructor.
|
|
virtual | ~TAttLine () |
| AttLine destructor.
|
|
void | Copy (TAttLine &attline) const |
| Copy this line attributes to a new TAttLine.
|
|
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
| Compute distance from point px,py to a line.
|
|
virtual Color_t | GetLineColor () const |
| Return the line color.
|
|
virtual Style_t | GetLineStyle () const |
| Return the line style.
|
|
virtual Width_t | GetLineWidth () const |
| Return the line width.
|
|
virtual void | Modify () |
| Change current line attributes if necessary.
|
|
virtual void | ResetAttLine (Option_t *option="") |
| Reset this line attributes to default values.
|
|
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
| Save line attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetLineAttributes () |
| Invoke the DialogCanvas Line attributes.
|
|
virtual void | SetLineColor (Color_t lcolor) |
| Set the line color.
|
|
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
| Set a transparent line color.
|
|
virtual void | SetLineStyle (Style_t lstyle) |
| Set the line style.
|
|
virtual void | SetLineWidth (Width_t lwidth) |
| Set the line width.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TAttFill () |
| AttFill default constructor.
|
|
| TAttFill (Color_t fcolor, Style_t fstyle) |
| AttFill normal constructor.
|
|
virtual | ~TAttFill () |
| AttFill destructor.
|
|
void | Copy (TAttFill &attfill) const |
| Copy this fill attributes to a new TAttFill.
|
|
virtual Color_t | GetFillColor () const |
| Return the fill area color.
|
|
virtual Style_t | GetFillStyle () const |
| Return the fill area style.
|
|
virtual Bool_t | IsTransparent () const |
|
virtual void | Modify () |
| Change current fill area attributes if necessary.
|
|
virtual void | ResetAttFill (Option_t *option="") |
| Reset this fill attributes to default values.
|
|
virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
| Save fill attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetFillAttributes () |
| Invoke the DialogCanvas Fill attributes.
|
|
virtual void | SetFillColor (Color_t fcolor) |
| Set the fill area color.
|
|
virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
| Set a transparent fill color.
|
|
virtual void | SetFillStyle (Style_t fstyle) |
| Set the fill area style.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TAttMarker () |
| TAttMarker default constructor.
|
|
| TAttMarker (Color_t color, Style_t style, Size_t msize) |
| TAttMarker normal constructor.
|
|
virtual | ~TAttMarker () |
| TAttMarker destructor.
|
|
void | Copy (TAttMarker &attmarker) const |
| Copy this marker attributes to a new TAttMarker.
|
|
virtual Color_t | GetMarkerColor () const |
| Return the marker color.
|
|
virtual Size_t | GetMarkerSize () const |
| Return the marker size.
|
|
virtual Style_t | GetMarkerStyle () const |
| Return the marker style.
|
|
virtual void | Modify () |
| Change current marker attributes if necessary.
|
|
virtual void | ResetAttMarker (Option_t *toption="") |
| Reset this marker attributes to the default values.
|
|
virtual void | SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1) |
| Save line attributes as C++ statement(s) on output stream out.
|
|
virtual void | SetMarkerAttributes () |
| Invoke the DialogCanvas Marker attributes.
|
|
virtual void | SetMarkerColor (Color_t mcolor=1) |
| Set the marker color.
|
|
virtual void | SetMarkerColorAlpha (Color_t mcolor, Float_t malpha) |
| Set a transparent marker color.
|
|
virtual void | SetMarkerSize (Size_t msize=1) |
| Set the marker size.
|
|
virtual void | SetMarkerStyle (Style_t mstyle=1) |
| Set the marker style.
|
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TArrayD () |
| Default TArrayD ctor.
|
|
| TArrayD (const TArrayD &array) |
| Copy constructor.
|
|
| TArrayD (Int_t n) |
| Create TArrayD object and set array size to n doubles.
|
|
| TArrayD (Int_t n, const Double_t *array) |
| Create TArrayD object and initialize it with values of array.
|
|
virtual | ~TArrayD () |
| Delete TArrayD object.
|
|
void | AddAt (Double_t c, Int_t i) |
| Set the double c value at position i in the array.
|
|
void | Adopt (Int_t n, Double_t *array) |
| Adopt array arr into TArrayD, i.e.
|
|
Double_t | At (Int_t i) const |
|
void | Copy (TArrayD &array) const |
|
Double_t * | GetArray () |
|
const Double_t * | GetArray () const |
|
Double_t | GetAt (Int_t i) const override |
|
Stat_t | GetSum () const |
|
TArrayD & | operator= (const TArrayD &rhs) |
| TArrayD assignment operator.
|
|
Double_t & | operator[] (Int_t i) |
|
Double_t | operator[] (Int_t i) const |
|
void | Reset () |
|
void | Reset (Double_t val) |
|
void | Set (Int_t n) override |
| Set size of this array to n doubles.
|
|
void | Set (Int_t n, const Double_t *array) |
| Set size of this array to n doubles and set the contents This function should not be called if the array was declared via Adopt.
|
|
void | SetAt (Double_t v, Int_t i) override |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
| TArray () |
|
| TArray (const TArray &a) |
|
| TArray (Int_t n) |
|
virtual | ~TArray () |
|
Int_t | GetSize () const |
|
TArray & | operator= (const TArray &rhs) |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|