408 virtual void SetTitle(
const char *title);
656 extern TH1 *
R__H(
const char *hname);
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
TH1C operator+(const TH1C &h1, const TH1C &h2)
Operator +.
TH1C operator-(const TH1C &h1, const TH1C &h2)
Operator -.
TH1C operator/(const TH1C &h1, const TH1C &h2)
Operator /.
TH1 * R__H(Int_t hid)
return pointer to histogram with name hid if id >=0 h_id if id <0
TH1C operator*(Double_t c1, const TH1C &h1)
Operator *.
R__EXTERN Foption_t Foption
Array of chars or bytes (8 bits per element).
Array of doubles (64 bits per element).
Array of floats (32 bits per element).
Array of integers (32 bits per element).
Array of shorts (16 bits per element).
Fill Area Attributes class.
Class to manage histogram axis.
Using a TBrowser one can browse all ROOT objects.
Collection abstract base class.
Describe directory structure in memory.
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
1-D histogram with a byte per channel (see TH1 documentation)
friend TH1C operator+(const TH1C &h1, const TH1C &h2)
Operator +.
friend TH1C operator-(const TH1C &h1, const TH1C &h2)
Operator -.
friend TH1C operator/(const TH1C &h1, const TH1C &h2)
Operator /.
TH1C & operator=(const TH1C &h1)
Operator =.
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 Double_t RetrieveBinContent(Int_t bin) const
Raw retrieval of bin content on internal data structure see convention for numbering bins in TH1::Get...
virtual void Copy(TObject &hnew) const
Copy this to newth1.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
friend TH1C operator*(Double_t c1, const TH1C &h1)
Operator *.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual ~TH1C()
Destructor.
virtual void Reset(Option_t *option="")
Reset.
1-D histogram with a double per channel (see TH1 documentation)}
virtual void Copy(TObject &hnew) const
Copy this to newth1.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual ~TH1D()
Destructor.
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 SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual void AddBinContent(Int_t bin, Double_t w)
Increment bin content by a weight w.
TH1D & operator=(const TH1D &h1)
Operator =.
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...
1-D histogram with a float per channel (see TH1 documentation)}
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...
virtual void AddBinContent(Int_t bin, Double_t w)
Increment bin content by a weight w.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual ~TH1F()
Destructor.
TH1F & operator=(const TH1F &h1)
Operator =.
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 this to newth1.
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 an int per channel (see TH1 documentation)}
friend TH1I operator-(const TH1I &h1, const TH1I &h2)
Operator -.
virtual void Copy(TObject &hnew) const
Copy this to newth1.
friend TH1I operator+(const TH1I &h1, const TH1I &h2)
Operator +.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
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...
friend TH1I operator/(const TH1I &h1, const TH1I &h2)
Operator /.
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 ~TH1I()
Destructor.
TH1I & operator=(const TH1I &h1)
Operator =.
friend TH1I operator*(Double_t c1, const TH1I &h1)
Operator *.
1-D histogram with a short per channel (see TH1 documentation)
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual ~TH1S()
Destructor.
friend TH1S operator*(Double_t c1, const TH1S &h1)
Operator *.
friend TH1S operator-(const TH1S &h1, const TH1S &h2)
Operator -.
TH1S & operator=(const TH1S &h1)
Operator =.
virtual void Copy(TObject &hnew) const
Copy this to newth1.
friend TH1S operator+(const TH1S &h1, const TH1S &h2)
Operator +.
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...
friend TH1S operator/(const TH1S &h1, const TH1S &h2)
Operator /.
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...
virtual void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
virtual void SetError(const Double_t *error)
Replace bin errors by values in array error.
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 FitPanel()
Display a panel with all histogram fit options.
Double_t * fBuffer
[fBufferSize] entry buffer
virtual Int_t AutoP2FindLimits(Double_t min, Double_t max)
Buffer-based estimate of the histogram range using the power of 2 algorithm.
void SetStatOverflows(EStatOverflows statOverflows)
virtual Double_t GetEffectiveEntries() const
Number of effective entries of the histogram.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void SetTitle(const char *title)
See GetStatOverflows for more information.
virtual void Smooth(Int_t ntimes=1, Option_t *option="")
Smooth bin contents of this histogram.
virtual void SetNormFactor(Double_t factor=1)
virtual void Print(Option_t *option="") const
Print some global quantities for this histogram.
virtual Double_t GetBinCenter(Int_t bin) const
Return bin center for 1D histogram.
virtual void Rebuild(Option_t *option="")
Using the current bin info, recompute the arrays for contents and errors.
virtual Color_t GetLabelColor(Option_t *axis="X") const
Return the "axis" label color.
static Bool_t fgStatOverflows
!flag to use under/overflows in statistics
virtual void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
Set the axis' title size.
virtual Bool_t Multiply(TF1 *f1, Double_t c1=1)
Performs the operation:
virtual void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis' labels.
virtual void Browse(TBrowser *b)
Browse the Histogram object.
Int_t fNcells
number of bins(1D), cells (2D) +U/Overflows
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 void FillRandom(const char *fname, Int_t ntimes=5000)
Fill histogram following distribution in function fname.
virtual Double_t GetCellContent(Int_t binx, Int_t biny) const
virtual Double_t GetBinError(Int_t binx, Int_t biny) const
Double_t fTsumw
Total Sum of weights.
virtual EBinErrorOpt GetBinErrorOption() const
virtual Float_t GetBarWidth() const
Double_t fTsumw2
Total Sum of squares of weights.
static void StatOverflows(Bool_t flag=kTRUE)
if flag=kTRUE, underflows and overflows are used by the Fill functions in the computation of statisti...
TDirectory * GetDirectory() const
virtual Double_t GetMinimumStored() const
virtual Float_t GetBarOffset() const
virtual ~TH1()
Histogram default destructor.
TList * fFunctions
->Pointer to list of functions (fits and user)
virtual void RebinAxis(Double_t x, TAxis *axis)
EStatOverflows GetStatOverflows() const
static Bool_t fgAddDirectory
!flag to add histograms to the directory
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...
@ kNoAxis
NOTE: Must always be 0 !!!
static Int_t GetDefaultBufferSize()
Static function return the default buffer size for automatic histograms the parameter fgBufferSize ma...
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...
Double_t fTsumwx2
Total Sum of weight*X*X.
virtual Double_t GetStdDev(Int_t axis=1) const
Returns the Standard Deviation (Sigma).
TH1()
Histogram default constructor.
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...
virtual void LabelsOption(Option_t *option="h", Option_t *axis="X")
Set option(s) to draw axis with labels.
virtual Int_t GetNbinsY() const
Short_t fBarOffset
(1000*offset) for bar charts or legos
static bool CheckBinLimits(const TAxis *a1, const TAxis *a2)
Check bin limits.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual Double_t GetBinError(Int_t bin) const
Return value of error associated to bin number bin.
static Int_t FitOptionsMake(Option_t *option, Foption_t &Foption)
Decode string choptin and fill fitOption structure.
virtual Int_t GetNbinsZ() const
virtual Double_t GetNormFactor() 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 GetSkewness(Int_t axis=1) const
virtual void ClearUnderflowAndOverflow()
Remove all the content from the underflow and overflow bins, without changing the number of entries A...
virtual Double_t GetContourLevelPad(Int_t level) const
Return the value of contour number "level" in Pad coordinates.
virtual void SetXTitle(const char *title)
virtual TH1 * DrawNormalized(Option_t *option="", Double_t norm=1) const
Draw a normalized copy of this histogram.
EStatOverflows
Enumeration specifying the way to treat statoverflow.
@ kNeutral
Adapt to the global flag.
@ kIgnore
Override global flag ignoring the overflows.
@ kConsider
Override global flag considering the overflows.
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 GetDimension() const
static void AddDirectory(Bool_t add=kTRUE)
Sets the flag controlling the automatic add of histograms in memory.
virtual Double_t GetBinContent(Int_t bin, Int_t) const
@ kLogX
X-axis in log scale.
@ kIsAverage
Bin contents are average (used by Add)
@ kNoTitle
don't draw the histogram title
@ kUserContour
user specified contour levels
@ kNoStats
don't draw stats box
@ kIsZoomed
bit set when zooming on Y axis
@ kAutoBinPTwo
Use Power(2)-based algorithm for autobinning.
@ kIsNotW
Histogram is forced to be not weighted even when the histogram is filled with weighted different than...
@ kIsHighlight
bit set if histo is highlight
virtual Double_t GetRandom() const
Return a random number distributed according the histogram bin contents.
virtual void SetContourLevel(Int_t level, Double_t value)
Set value for one contour level.
virtual Bool_t CanExtendAllAxes() const
Returns true if all axes are extendable.
TDirectory * fDirectory
!Pointer to directory holding this histogram
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
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...
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...
void UseCurrentStyle()
Copy current attributes from/to current style.
static Double_t AutoP2GetPower2(Double_t x, Bool_t next=kTRUE)
Auxilliary function to get the power of 2 next (larger) or previous (smaller) a given x.
virtual Int_t GetNcells() const
virtual Int_t ShowPeaks(Double_t sigma=2, Option_t *option="", Double_t threshold=0.05)
Interface to TSpectrum::Search.
Int_t GetBufferLength() const
static Bool_t RecomputeAxisLimits(TAxis &destAxis, const TAxis &anAxis)
Finds new limits for the axis for the Merge function.
virtual Style_t GetTitleFont(Option_t *axis="X") const
Return the "axis" title font.
virtual void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
virtual Style_t GetLabelFont(Option_t *axis="X") const
Return the "axis" label font.
virtual Float_t GetTickLength(Option_t *axis="X") const
Return the "axis" tick length.
Int_t GetBufferSize() const
virtual void PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
TVirtualHistPainter * GetPainter(Option_t *option="")
Return pointer to painter.
virtual Float_t GetTitleSize(Option_t *axis="X") const
Return the "axis" title size.
TObject * Clone(const char *newname=0) const
Make a complete copy of the underlying object.
static Bool_t GetDefaultSumw2()
Return kTRUE if TH1::Sumw2 must be called when creating new histograms.
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 GetBin(Int_t binx, Int_t biny=0, Int_t binz=0) const
Return Global bin number corresponding to binx,y,z.
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...
Double_t GetRMSError(Int_t axis=1) const
virtual Int_t GetNbinsX() const
virtual void SetMaximum(Double_t maximum=-1111)
virtual TH1 * FFT(TH1 *h_output, Option_t *option)
This function allows to do discrete Fourier transforms of TH1 and TH2.
virtual void LabelsInflate(Option_t *axis="X")
Double the number of bins for axis.
virtual TH1 * ShowBackground(Int_t niter=20, Option_t *option="same")
This function calculates the background spectrum in this histogram.
virtual Double_t Chi2Test(const TH1 *h2, Option_t *option="UU", Double_t *res=0) const
test for comparing weighted and unweighted histograms
virtual void FillN(Int_t, const Double_t *, const Double_t *, const Double_t *, Int_t)
static Bool_t SameLimitsAndNBins(const TAxis &axis1, const TAxis &axis2)
Same limits and bins.
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),...
Double_t fMaximum
Maximum value for plotting.
Int_t fBufferSize
fBuffer size
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from the list of functions.
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...
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.
Int_t fDimension
!Histogram dimension (1, 2 or 3 dim)
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-empt...
EBinErrorOpt fBinStatErrOpt
option for bin statistical errors
static Int_t fgBufferSize
!default buffer size for automatic histograms
virtual void SetBinsLength(Int_t=-1)
Double_t fNormFactor
Normalization factor.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual TObject * FindObject(const char *name) const
Search object named name in the list of functions.
TArrayD fContour
Array to display contour levels.
virtual Double_t GetBinErrorLow(Int_t bin) const
Return lower error associated to bin number bin.
virtual TH1 * RebinX(Int_t ngroup=2, const char *newname="")
virtual Double_t GetBinContent(Int_t bin, Int_t, Int_t) const
virtual void SetContent(const Double_t *content)
Replace bin contents by the contents of array content.
virtual Float_t GetLabelSize(Option_t *axis="X") const
Return the "axis" label size.
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,...
Short_t fBarWidth
(1000*width) for bar charts or legos
virtual void SetContour(Int_t nlevels, const Double_t *levels=0)
Set the number and values of contour levels.
virtual Double_t GetBinErrorSqUnchecked(Int_t bin) const
virtual Double_t GetCellError(Int_t binx, Int_t biny) const
virtual Int_t GetNdivisions(Option_t *axis="X") const
Return the number of divisions for "axis".
Int_t AxisChoice(Option_t *axis) const
Choose an axis according to "axis".
virtual void SetMinimum(Double_t minimum=-1111)
Bool_t IsBinUnderflow(Int_t bin, Int_t axis=0) const
Return true if the bin is underflow.
virtual void SetCellContent(Int_t binx, Int_t biny, Double_t content)
static bool CheckBinLabels(const TAxis *a1, const TAxis *a2)
Check that axis have same labels.
static void SetDefaultSumw2(Bool_t sumw2=kTRUE)
When this static function is called with sumw2=kTRUE, all new histograms will automatically activate ...
Bool_t IsBinOverflow(Int_t bin, Int_t axis=0) const
Return true if the bin is overflow.
Double_t GetRMS(Int_t axis=1) const
Double_t * fIntegral
!Integral of bins used by GetRandom
Double_t fMinimum
Minimum value for plotting.
virtual Double_t Integral(Option_t *option="") const
Return integral of bin contents.
virtual void SetBarWidth(Float_t width=0.5)
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...
virtual void DirectoryAutoAdd(TDirectory *)
Perform the automatic addition of the histogram to the given directory.
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 GetBinLowEdge(Int_t bin) const
Return bin lower edge for 1D histogram.
void Build()
Creates histogram basic data structure.
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...
virtual Double_t GetEntries() const
Return the current number of entries.
const TAxis * GetZaxis() const
virtual void SetZTitle(const char *title)
virtual TF1 * GetFunction(const char *name) const
Return pointer to function with name.
virtual Int_t BufferFill(Double_t x, Double_t w)
accumulate arguments in buffer.
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 UInt_t SetCanExtend(UInt_t extendBitMask)
Make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
TList * GetListOfFunctions() const
virtual TH1 * DrawCopy(Option_t *option="", const char *name_postfix="_copy") const
Copy this histogram and Draw in the current pad.
virtual void Copy(TObject &hnew) const
Copy this histogram structure to newth1.
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 Float_t GetTitleOffset(Option_t *axis="X") const
Return the "axis" title offset.
Bool_t IsEmpty() const
Check if an histogram is empty (this a protected method used mainly by TH1Merger )
virtual Double_t GetMeanError(Int_t axis=1) const
Return standard error of mean of this histogram along the X axis.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetBarOffset(Float_t offset=0.25)
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 ...
Option_t * GetOption() const
virtual void ResetStats()
Reset the statistics including the number of entries and replace with values calculates from bin cont...
virtual void SetBinContent(Int_t bin, Int_t, Int_t, Double_t content)
static void SetDefaultBufferSize(Int_t buffersize=1000)
Static function to set the default buffer size for automatic histograms.
virtual void SetBinErrorOption(EBinErrorOpt type)
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
Set the maximum number of entries to be kept in the buffer.
virtual void DrawPanel()
Display a panel with all histogram drawing options.
const TAxis * GetXaxis() const
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 Double_t GetMaximumStored() const
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 void GetMinimumAndMaximum(Double_t &min, Double_t &max) const
Retrieve the minimum and maximum values in the histogram.
virtual const TArrayD * GetSumw2() const
virtual Int_t GetMaximumBin() const
Return location of bin with maximum value in the range.
static Int_t AutoP2GetBins(Int_t n)
Auxilliary function to get the next power of 2 integer value larger then n.
Double_t fEntries
Number of entries.
virtual Long64_t Merge(TCollection *list)
virtual void SetName(const char *name)
Change the name of this histogram.
virtual Double_t * GetIntegral()
Return a pointer to the array of bins integral.
TAxis fZaxis
Z axis descriptor.
EStatOverflows fStatOverflows
per object flag to use under/overflows in statistics
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 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 Float_t GetLabelOffset(Option_t *axis="X") const
Return the "axis" label offset.
static bool CheckEqualAxes(const TAxis *a1, const TAxis *a2)
Check that the axis are the same.
@ kPoisson2
errors from Poisson interval at 95% CL (~ 2 sigma)
@ kNormal
errors with Normal (Wald) approximation: errorUp=errorLow= sqrt(N)
@ kPoisson
errors from Poisson interval at 68.3% (1 sigma)
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual TArrayD * GetSumw2()
TAxis fXaxis
X axis descriptor.
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 ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
const Double_t * GetBuffer() const
virtual Bool_t IsHighlight() const
virtual void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
virtual Double_t GetBinError(Int_t binx, Int_t biny, Int_t binz) const
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 void ExtendAxis(Double_t x, TAxis *axis)
Histogram is resized along axis such that x is in the axis range.
virtual void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
virtual void SetNameTitle(const char *name, const char *title)
Change the name and title of this histogram.
virtual Double_t GetBinWidth(Int_t bin) const
Return bin width for 1D histogram.
static bool CheckConsistency(const TH1 *h1, const TH1 *h2)
Check histogram compatibility.
const TAxis * GetYaxis() const
TArrayD fSumw2
Array of sum of squares of weights.
virtual void SetOption(Option_t *option=" ")
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...
virtual Double_t GetContourLevel(Int_t level) const
Return value of contour number level.
virtual void SetHighlight(Bool_t set=kTRUE)
Set highlight (enable/disable) mode for the histogram by default highlight mode is disable.
virtual void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Set the "axis" range.
virtual Double_t GetBinErrorUp(Int_t bin) const
Return upper error associated to bin number bin.
virtual void SetYTitle(const char *title)
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
virtual void Paint(Option_t *option="")
Control routine to paint any kind of histograms.
virtual Int_t GetMinimumBin() const
Return location of bin with minimum value in the range.
virtual Int_t GetSumw2N() const
virtual void SetCellError(Int_t binx, Int_t biny, Double_t content)
virtual Int_t FindBin(Double_t x, Double_t y=0, Double_t z=0)
Return Global bin number corresponding to x,y,z.
Bool_t GetStatOverflowsBehaviour() const
virtual void SetTitleFont(Style_t font=62, Option_t *axis="X")
Set the axis' title font.
virtual Color_t GetAxisColor(Option_t *axis="X") const
Return the number of divisions for "axis".
virtual Double_t GetStdDevError(Int_t axis=1) const
Return error of standard deviation estimation for Normal distribution.
virtual Bool_t Divide(TF1 *f1, Double_t c1=1)
Performs the operation: this = this/(c1*f1) if errors are defined (see TH1::Sumw2),...
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 & operator=(const TH1 &)
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.
TAxis fYaxis
Y axis descriptor.
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.
virtual Double_t GetSumOfWeights() const
Return the sum of weights excluding under/overflows.
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.
virtual void GetCenter(Double_t *center) const
Fill array with center of bins for 1D histogram Better to use h1.GetXaxis().GetCenter(center)
TVirtualHistPainter * fPainter
!pointer to histogram painter
virtual void SetBins(Int_t nx, Double_t xmin, Double_t xmax)
Redefine x axis parameters.
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 void SetBinContent(Int_t bin, Int_t, Double_t content)
virtual void SetLabelSize(Float_t size=0.02, Option_t *axis="X")
Set size of axis' labels.
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Redefines TObject::GetObjectInfo.
virtual void Sumw2(Bool_t flag=kTRUE)
Create structure to store sum of squares of weights.
virtual void SetEntries(Double_t n)
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...
static bool CheckAxisLimits(const TAxis *a1, const TAxis *a2)
Check that the axis limits of the histograms are the same.
static Bool_t AddDirectoryStatus()
Static function: cannot be inlined on Windows/NT.
static Bool_t fgDefaultSumw2
!flag to call TH1::Sumw2 automatically at histogram creation time
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a line.
Double_t fTsumwx
Total Sum of weight*X.
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 Double_t ComputeIntegral(Bool_t onlyPositive=false)
Compute integral (cumulative sum of bins) The result stored in fIntegral is used by the GetRandom fun...
TString fOption
histogram options
virtual Int_t GetContour(Double_t *levels=0)
Return contour values into array levels if pointer levels is non zero.
virtual void Eval(TF1 *f1, Option_t *option="")
Evaluate function f1 at the center of bins of this histogram.
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
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.
virtual TH1 * Rebin(Int_t ngroup=2, const char *newname="", const Double_t *xbins=0)
Rebin this histogram.
virtual Double_t GetKurtosis(Int_t axis=1) const
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
void Obsolete(const char *method, const char *asOfVers, const char *removedFromVers) const
Use this method to declare a method obsolete.
const char * Data() const
TVirtualFFT is an interface class for Fast Fourier Transforms.
Abstract interface to a histogram painter.
void forward(const LAYERDATA &prevLayerData, LAYERDATA &currLayerData)
apply the weights (and functions) in forward direction of the DNN
Print a TSeq at the prompt:
std::string printValue(const TDatime *val)
Print a TDatime at the prompt.