36 #ifndef ROOT_TAttMarker
57 #ifndef ROOT_TVectorFfwd
60 #ifndef ROOT_TVectorDfwd
64 #ifndef ROOT_TFitResultPtr
407 virtual void SetTitle(
const char *title);
655 extern TH1 *
R__H(
const char *hname);
static void StatOverflows(Bool_t flag=kTRUE)
if flag=kTRUE, underflows and overflows are used by the Fill functions in the computation of statisti...
virtual void Browse(TBrowser *b)
Browe the Histogram object.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void SetZTitle(const char *title)
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual void SetNameTitle(const char *name, const char *title)
Change the name and title of this histogram.
ClassDef(TH1F, 2) friend TH1F operator*(Double_t c1
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 void SetBarOffset(Float_t offset=0.25)
virtual void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual Int_t ShowPeaks(Double_t sigma=2, Option_t *option="", Double_t threshold=0.05)
Interface to TSpectrum::Search.
virtual Double_t GetBinErrorLow(Int_t bin) const
Return lower error associated to bin number bin.
TList * GetListOfFunctions() const
TH1D & operator=(const TH1D &h1)
Operator =.
virtual void Paint(Option_t *option="")
Control routine to paint any kind of histograms.
virtual Double_t GetBinError(Int_t binx, Int_t biny, Int_t binz) const
virtual Float_t GetTickLength(Option_t *axis="X") const
Return the "axis" tick length.
virtual TH1 * DrawNormalized(Option_t *option="", Double_t norm=1) const
Draw a normalized copy of this histogram.
virtual void SetTitleFont(Style_t font=62, Option_t *axis="X")
The the axis' title font.
Int_t AxisChoice(Option_t *axis) const
Choose an axis according to "axis".
virtual ~TH1I()
Destructor.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual Double_t GetBinError(Int_t binx, Int_t biny) const
Bool_t IsBinOverflow(Int_t bin) const
virtual void SetMaximum(Double_t maximum=-1111)
void UseCurrentStyle()
Copy current attributes from/to current style.
virtual void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
virtual void LabelsOption(Option_t *option="h", Option_t *axis="X")
Set option(s) to draw axis with labels.
virtual Double_t Chi2TestX(const TH1 *h2, Double_t &chi2, Int_t &ndf, Int_t &igood, Option_t *option="UU", Double_t *res=0) const
The computation routine of the Chisquare test.
virtual Int_t FindLastBinAbove(Double_t threshold=0, Int_t axis=1) const
Find last bin with content > threshold for axis (1=x, 2=y, 3=z) if no bins with content > threshold i...
const TAxis * GetXaxis() const
static Bool_t fgDefaultSumw2
flag to use under/overflows in statistics
TVirtualHistPainter * GetPainter(Option_t *option="")
return pointer to painter if painter does not exist, it is created
virtual void FitPanel()
Display a panel with all histogram fit options.
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
virtual void GetStats(Double_t *stats) const
fill the array stats from the contents of this histogram The array stats must be correctly dimensione...
virtual Int_t GetMaximumBin() const
Return location of bin with maximum value in the range.
virtual void SetError(const Double_t *error)
Replace bin errors by values in array error.
Bool_t IsBinUnderflow(Int_t bin) const
virtual Int_t BufferFill(Double_t x, Double_t w)
accumulate arguments in buffer.
virtual void SetContour(Int_t nlevels, const Double_t *levels=0)
Set the number and values of contour levels.
virtual void PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
virtual Int_t GetDimension() const
Double_t GetRMSError(Int_t axis=1) const
R__EXTERN Foption_t Foption
virtual void SetBins(Int_t nx, Double_t xmin, Double_t xmax)
Redefine x axis parameters.
virtual Double_t RetrieveBinContent(Int_t bin) const
TH1 * GetAsymmetry(TH1 *h2, Double_t c2=1, Double_t dc2=0)
Return an histogram containing the asymmetry of this histogram with h2, where the asymmetry is define...
static Bool_t fgStatOverflows
flag to add histograms to the directory
static Bool_t SameLimitsAndNBins(const TAxis &axis1, const TAxis &axis2)
Same limits and bins.
virtual ~TH1F()
Destructor.
void Build()
Creates histogram basic data structure.
virtual void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
virtual void AddBinContent(Int_t bin, Double_t w)
Increment bin content by a weight w.
virtual Int_t GetQuantiles(Int_t nprobSum, Double_t *q, const Double_t *probSum=0)
Compute Quantiles for this histogram Quantile x_q of a probability distribution Function F is defined...
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void Reset(Option_t *option="")
Reset.
static bool CheckAxisLimits(const TAxis *a1, const TAxis *a2)
Check that the axis limits of the histograms are the same if a first and last bin is passed the axis ...
virtual void Copy(TObject &hnew) const
Copy this to newth1.
virtual void Copy(TObject &hnew) const
Copy this to newth1.
virtual void SetMinimum(Double_t minimum=-1111)
TH1 & operator=(const TH1 &)
virtual void SetLabelSize(Float_t size=0.02, Option_t *axis="X")
Set size of axis' labels.
static Bool_t AddDirectoryStatus()
static function: cannot be inlined on Windows/NT
1-D histogram with a float per channel (see TH1 documentation)}
virtual Float_t GetLabelOffset(Option_t *axis="X") const
Return the "axis" label offset.
1-D histogram with a short per channel (see TH1 documentation)
virtual Color_t GetAxisColor(Option_t *axis="X") const
Return the number of divisions for "axis".
Array of floats (32 bits per element).
virtual Double_t GetNormFactor() const
TH1 * GetCumulative(Bool_t forward=kTRUE, const char *suffix="_cumulative") const
Return a pointer to an histogram containing the cumulative The cumulative can be computed both in the...
virtual void SetYTitle(const char *title)
virtual void Smooth(Int_t ntimes=1, Option_t *option="")
Smooth bin contents of this histogram.
virtual Double_t GetStdDevError(Int_t axis=1) const
Return error of standard deviation estimation for Normal distribution.
virtual Int_t GetNbinsX() const
virtual Float_t GetLabelSize(Option_t *axis="X") const
Return the "axis" label size.
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 void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Set the "axis" range.
TDirectory * GetDirectory() const
static Bool_t RecomputeAxisLimits(TAxis &destAxis, const TAxis &anAxis)
Finds new limits for the axis for the Merge function.
virtual Double_t GetEntries() const
return the current number of entries
virtual Bool_t Multiply(TF1 *h1, Double_t c1=1)
Performs the operation: this = this*c1*f1 if errors are defined (see TH1::Sumw2), errors are also rec...
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
TH1 * R__H(Int_t hid)
return pointer to histogram with name hid if id >=0 h_id if id <0
virtual void GetCenter(Double_t *center) const
Fill array with center of bins for 1D histogram Better to use h1.GetXaxis().GetCenter(center) ...
virtual Double_t GetCellContent(Int_t binx, Int_t biny) const
static bool CheckBinLimits(const TAxis *a1, const TAxis *a2)
Array of integers (32 bits per element).
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
set the maximum number of entries to be kept in the buffer
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
static void AddDirectory(Bool_t add=kTRUE)
Sets the flag controlling the automatic add of histograms in memory.
TObject * Clone(const char *newname=0) const
Make a complete copy of the underlying object.
virtual void SetBarWidth(Float_t width=0.5)
static void SetDefaultSumw2(Bool_t sumw2=kTRUE)
static function.
virtual Double_t GetBinWidth(Int_t bin) const
return bin width for 1D historam Better to use h1.GetXaxis().GetBinWidth(bin)
const char * Data() const
virtual void SetCellError(Int_t binx, Int_t biny, Double_t content)
virtual Double_t GetSkewness(Int_t axis=1) const
For axis = 1, 2 or 3 returns skewness of the histogram along x, y or z axis.
ClassDef(TH1D, 2) friend TH1D operator*(Double_t c1
static bool CheckConsistentSubAxes(const TAxis *a1, Int_t firstBin1, Int_t lastBin1, const TAxis *a2, Int_t firstBin2=0, Int_t lastBin2=0)
Check that two sub axis are the same the limits are defined by first bin and last bin N...
virtual Double_t Interpolate(Double_t x)
Given a point x, approximates the value via linear interpolation based on the two nearest bin centers...
virtual Int_t GetContour(Double_t *levels=0)
Return contour values into array levels if pointer levels is non zero.
TH1C & operator=(const TH1C &h1)
Operator =.
virtual Double_t GetRandom() const
return a random number distributed according the histogram bin contents.
Fill Area Attributes class.
static Int_t FitOptionsMake(Option_t *option, Foption_t &Foption)
flag to call TH1::Sumw2 automatically at histogram creation time
virtual Double_t GetBinErrorUp(Int_t bin) const
Return upper error associated to bin number bin.
virtual void Eval(TF1 *f1, Option_t *option="")
Evaluate function f1 at the center of bins of this histogram.
virtual Double_t GetBinLowEdge(Int_t bin) const
return bin lower edge for 1D historam Better to use h1.GetXaxis().GetBinLowEdge(bin) ...
static Bool_t GetDefaultSumw2()
return kTRUE if TH1::Sumw2 must be called when creating new histograms.
static void SetDefaultBufferSize(Int_t buffersize=1000)
static function to set the default buffer size for automatic histograms.
The TNamed class is the base class for all named ROOT classes.
TH1C operator+(const TH1C &h1, const TH1C &h2)
Operator +.
virtual Double_t GetMaximumStored() const
virtual ~TH1()
Histogram default destructor.
virtual EBinErrorOpt GetBinErrorOption() const
virtual void SetOption(Option_t *option=" ")
virtual Double_t DoIntegral(Int_t ix1, Int_t ix2, Int_t iy1, Int_t iy2, Int_t iz1, Int_t iz2, Double_t &err, Option_t *opt, Bool_t doerr=kFALSE) const
internal function compute integral and optionally the error between the limits specified by the bin n...
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual TObject * FindObject(const char *name) const
search object named name in the list of functions
virtual const TArrayD * GetSumw2() const
virtual void SetContourLevel(Int_t level, Double_t value)
Set value for one contour level.
Abstract interface to a histogram painter.
virtual Int_t GetBin(Int_t binx, Int_t biny=0, Int_t binz=0) const
Return Global bin number corresponding to binx,y,z.
virtual TArrayD * GetSumw2()
virtual void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
virtual Bool_t FindNewAxisLimits(const TAxis *axis, const Double_t point, Double_t &newMin, Double_t &newMax)
finds new limits for the axis so that point is within the range and the limits are compatible with th...
virtual TH1 * DrawCopy(Option_t *option="", const char *name_postfix="_copy") const
Copy this histogram and Draw in the current pad.
ClassDef(TH1C, 2) friend TH1C operator*(Double_t c1
virtual void SetContent(const Double_t *content)
Replace bin contents by the contents of array content.
TH1C operator*(Double_t c1, const TH1C &h1)
Operator *.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void ResetStats()
Reset the statistics including the number of entries and replace with values calculates from bin cont...
virtual Double_t Chi2Test(const TH1 *h2, Option_t *option="UU", Double_t *res=0) const
chi^{2} test for comparing weighted and unweighted histograms
virtual void SetBinError(Int_t bin, Double_t error)
see convention for numbering bins in TH1::GetBin
virtual Double_t ComputeIntegral(Bool_t onlyPositive=false)
Compute integral (cumulative sum of bins) The result stored in fIntegral is used by the GetRandom fun...
virtual void LabelsInflate(Option_t *axis="X")
Double the number of bins for axis.
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.
virtual void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
Int_t GetBufferSize() const
virtual Double_t GetEffectiveEntries() const
number of effective entries of the histogram, neff = (Sum of weights )^2 / (Sum of weight^2 ) In case...
static Bool_t fgAddDirectory
default buffer size for automatic histograms
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 DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a line.
std::string printValue(const TDatime &val)
Print a TDatime at the prompt.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual Double_t RetrieveBinContent(Int_t bin) const
Using a TBrowser one can browse all ROOT objects.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual Double_t * GetIntegral()
Return a pointer to the array of bins integral.
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 ...
virtual Double_t GetBinCenter(Int_t bin) const
return bin center for 1D historam Better to use h1.GetXaxis().GetBinCenter(bin)
virtual Double_t GetBinContent(Int_t bin, Int_t, Int_t) const
virtual void Print(Option_t *option="") const
Print some global quantities for this histogram.
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 void FillRandom(const char *fname, Int_t ntimes=5000)
Fill histogram following distribution in function fname.
virtual Double_t Integral(Option_t *option="") const
Return integral of bin contents.
virtual Int_t GetNdivisions(Option_t *axis="X") const
Return the number of divisions for "axis".
Double_t length(const TVector2 &v)
static void SmoothArray(Int_t NN, Double_t *XX, Int_t ntimes=1)
smooth array xx, translation of Hbook routine hsmoof.F based on algorithm 353QH twice presented by J...
Class to manage histogram axis.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
static bool CheckBinLabels(const TAxis *a1, const TAxis *a2)
check that axis have same labels
Array of shorts (16 bits per element).
virtual Double_t GetMinimumStored() const
const TAxis * GetYaxis() const
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Redefines TObject::GetObjectInfo.
1-D histogram with a int per channel (see TH1 documentation)}
virtual Double_t IntegralAndError(Int_t binx1, Int_t binx2, Double_t &err, Option_t *option="") const
Return integral of bin contents in range [binx1,binx2] and its error By default the integral is compu...
virtual void Copy(TObject &hnew) const
Copy this to newth1.
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
static TH1 * TransformHisto(TVirtualFFT *fft, TH1 *h_output, Option_t *option)
For a given transform (first parameter), fills the histogram (second parameter) with the transform ou...
TH1C operator-(const TH1C &h1, const TH1C &h2)
Operator -.
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content see convention for numbering bins in TH1::GetBin In case the bin number is greater th...
Collection abstract base class.
virtual Double_t KolmogorovTest(const TH1 *h2, Option_t *option="") const
Statistical test of compatibility in shape between this histogram and h2, using Kolmogorov test...
static Int_t fgBufferSize
virtual TH1 * Rebin(Int_t ngroup=2, const char *newname="", const Double_t *xbins=0)
Rebin this histogram.
virtual Double_t GetMeanError(Int_t axis=1) const
Return standard error of mean of this histogram along the X axis.
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 DoFillN(Int_t ntimes, const Double_t *x, const Double_t *w, Int_t stride=1)
internal method to fill histogram content from a vector called directly by TH1::BufferEmpty ...
virtual Double_t GetSumOfWeights() const
Return the sum of weights excluding under/overflows.
virtual TH1 * ShowBackground(Int_t niter=20, Option_t *option="same")
This function calculates the background spectrum in this histogram.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual ~TH1C()
Destructor.
virtual Int_t GetNbinsZ() const
virtual Int_t GetSumw2N() const
virtual Double_t GetKurtosis(Int_t axis=1) const
For axis =1, 2 or 3 returns kurtosis of the histogram along x, y or z axis.
const TAxis * GetZaxis() const
Double_t GetRMS(Int_t axis=1) const
Double_t * fIntegral
Histogram dimension (1, 2 or 3 dim)
virtual void SetBinErrorOption(EBinErrorOpt type)
static bool CheckConsistency(const TH1 *h1, const TH1 *h2)
Check histogram compatibility.
virtual void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
1-D histogram with a double per channel (see TH1 documentation)}
static Int_t GetDefaultBufferSize()
static function return the default buffer size for automatic histograms the parameter fgBufferSize ma...
virtual void Rebuild(Option_t *option="")
Using the current bin info, recompute the arrays for contents and errors.
const Double_t * GetBuffer() const
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from the list of functions.
EBinErrorOpt fBinStatErrOpt
pointer to histogram painter
virtual void Copy(TObject &hnew) const
Copy this to newth1.
TVirtualFFT is an interface class for Fast Fourier Transforms.
virtual void SetName(const char *name)
Change the name of this histogram.
virtual Color_t GetLabelColor(Option_t *axis="X") const
Return the "axis" label color.
void Obsolete(const char *method, const char *asOfVers, const char *removedFromVers) const
Use this method to declare a method obsolete.
Int_t GetBufferLength() const
virtual Double_t RetrieveBinContent(Int_t bin) const
ClassDef(TH1S, 2) friend TH1S operator*(Double_t c1
virtual TH1 * RebinX(Int_t ngroup=2, const char *newname="")
virtual void SavePrimitiveHelp(std::ostream &out, const char *hname, Option_t *option="")
helper function for the SavePrimitive functions from TH1 or classes derived from TH1, eg TProfile, TProfile2D.
Describe directory structure in memory.
virtual void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
The the axis' title size.
virtual Double_t GetBinContent(Int_t bin, Int_t) const
TH1I & operator=(const TH1I &h1)
Operator =.
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.
ClassDef(TH1I, 2) friend TH1I operator*(Double_t c1
virtual Int_t GetMinimumBin() const
Return location of bin with minimum value in the range.
Array of doubles (64 bits per element).
virtual Double_t GetCellError(Int_t binx, Int_t biny) const
virtual void RebinAxis(Double_t x, TAxis *axis)
virtual void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
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 UInt_t SetCanExtend(UInt_t extendBitMask)
make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
virtual void SetTickLength(Float_t length=0.02, Option_t *axis="X")
Set the axis' tick marks length.
Mother of all ROOT objects.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual void SetBinContent(Int_t bin, Int_t, Int_t, Double_t content)
virtual Int_t FindFirstBinAbove(Double_t threshold=0, Int_t axis=1) const
Find first bin with content > threshold for axis (1=x, 2=y, 3=z) if no bins with content > threshold ...
virtual void ClearUnderflowAndOverflow()
Remove all the content from the underflow and overflow bins, without changing the number of entries A...
virtual Int_t GetNbinsY() const
TH1S & operator=(const TH1S &h1)
Operator =.
virtual Double_t GetBinErrorSqUnchecked(Int_t bin) const
virtual Double_t RetrieveBinContent(Int_t bin) const
virtual void SetXTitle(const char *title)
virtual void DirectoryAutoAdd(TDirectory *)
Perform the automatic addition of the histogram to the given directory.
TVirtualHistPainter * fPainter
Integral of bins used by GetRandom.
virtual void DrawPanel()
Display a panel with all histogram drawing options.
TH1C operator/(const TH1C &h1, const TH1C &h2)
Operator /.
virtual void SetCellContent(Int_t binx, Int_t biny, Double_t content)
virtual Float_t GetTitleSize(Option_t *axis="X") const
Return the "axis" title size.
virtual void Copy(TObject &hnew) const
Copy this histogram structure to newth1.
virtual void FillN(Int_t ntimes, const Double_t *x, const Double_t *w, Int_t stride=1)
Fill this histogram with an array x and weights w.
virtual Double_t RetrieveBinContent(Int_t bin) const
virtual void SetBinContent(Int_t bin, Int_t, Double_t content)
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 comput...
virtual void Copy(TObject &hnew) const
Copy this to newth1.
virtual void SetBinsLength(Int_t=-1)
virtual void AddBinContent(Int_t bin, Double_t w)
Increment bin content by a weight w.
1-D histogram with a bype per channel (see TH1 documentation)
virtual void Sumw2(Bool_t flag=kTRUE)
Create structure to store sum of squares of weights.
virtual Bool_t CanExtendAllAxes() const
returns true if all axes are extendable
Int_t fDimension
Pointer to directory holding this histogram.
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
virtual void FillN(Int_t, const Double_t *, const Double_t *, const Double_t *, Int_t)
virtual void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
virtual ~TH1D()
Destructor.
virtual void SetEntries(Double_t n)
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void SetTitle(const char *title)
Change (i.e.
virtual Style_t GetLabelFont(Option_t *axis="X") const
Return the "axis" label font.
virtual Double_t GetStdDev(Int_t axis=1) const
Returns the Standard Deviation (Sigma).
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual Style_t GetTitleFont(Option_t *axis="X") const
Return the "axis" title font.
virtual Double_t GetBinError(Int_t bin) const
Return value of error associated to bin number bin.
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 b...
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual Float_t GetBarWidth() const
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 abo...
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 Int_t GetNcells() const
double norm(double *x, double *p)
virtual void SetNormFactor(Double_t factor=1)
virtual ClassDef(TH1, 7) protected void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
virtual TF1 * GetFunction(const char *name) const
Return pointer to function with name.
static bool CheckEqualAxes(const TAxis *a1, const TAxis *a2)
Check that the axis are the same.
virtual ~TH1S()
Destructor.
virtual void SetStats(Bool_t stats=kTRUE)
Set statistics option on/off.
TH1F & operator=(const TH1F &h1)
Operator =.
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...
virtual Double_t GetContourLevel(Int_t level) const
Return value of contour number level use GetContour to return the array of all contour levels...
virtual Double_t GetContourLevelPad(Int_t level) const
Return the value of contour number "level" in Pad coordinates ie: if the Pad is in log scale along Z ...
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 In case...
virtual Float_t GetBarOffset() const
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual Long64_t Merge(TCollection *list)
Add all histograms in the collection to this histogram.
virtual Float_t GetTitleOffset(Option_t *axis="X") const
Return the "axis" title offset.
virtual void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
virtual void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis' labels.
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...
Option_t * GetOption() const
Array of chars or bytes (8 bits per element).