27 #ifndef ROOT_TMatrixFBasefwd
30 #ifndef ROOT_TMatrixDBasefwd
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.
virtual Double_t RetrieveBinContent(Int_t bin) const
virtual void SetBinContent(Int_t binx, Int_t biny, Double_t content)
virtual Double_t GetBinErrorLow(Int_t bin) const
Return lower error associated to bin number bin.
virtual void Copy(TObject &hnew) const
Copy.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void FillRandom(const char *fname, Int_t ntimes=5000)
Fill histogram following distribution in function fname.
friend TH2D operator+(TH2D &h1, TH2D &h2)
Operator +.
virtual void GetRandom2(Double_t &x, Double_t &y)
Return 2 random numbers along axis x and y distributed according the cellcontents of a 2-dim histogra...
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
friend TH2F operator/(TH2F &h1, TH2F &h2)
Operator /.
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 PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
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 TH2I operator*(TH2I &h1, Float_t c1)
virtual Double_t RetrieveBinContent(Int_t bin) const
friend TH2C operator/(TH2C &h1, TH2C &h2)
Operator /.
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 hist...
virtual TProfile * DoProfile(bool onX, const char *name, Int_t firstbin, Int_t lastbin, Option_t *option) const
friend TH2C operator+(TH2C &h1, TH2C &h2)
Operator +.
virtual Double_t GetBinContent(Int_t binx, Int_t biny, Int_t) const
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.
friend TH2D operator-(TH2D &h1, TH2D &h2)
Operator -.
virtual TH2 * RebinY(Int_t ngroup=2, const char *newname="")
Rebin only the Y axis see Rebin2D.
friend TH2C operator*(TH2C &h1, Float_t c1)
friend TH2I operator-(TH2I &h1, TH2I &h2)
Operator -.
virtual Int_t BufferFill(Double_t x, Double_t y, Double_t w)
accumulate arguments in buffer.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
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 hist...
virtual ~TH2D()
Destructor.
virtual Double_t GetCovariance(Int_t axis1=1, Int_t axis2=2) const
Return covariance between axis1 and axis2.
2-D histogram with a bype per channel (see TH1 documentation)
Array of floats (32 bits per element).
virtual ~TH2()
Destructor.
friend TH2C operator*(Float_t c1, TH2C &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...
friend TH2I operator/(TH2I &h1, TH2I &h2)
Operator /.
virtual void Copy(TObject &hnew) const
Copy.
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 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 pr...
friend TH2I operator*(Float_t c1, TH2I &h1)
Operator *.
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 =...
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
friend TH2D operator/(TH2D &h1, TH2D &h2)
Operator /.
friend TH2I operator+(TH2I &h1, TH2I &h2)
Operator +.
Array of integers (32 bits per element).
virtual void Copy(TObject &hnew) const
Copy.
friend TH2S operator/(TH2S &h1, TH2S &h2)
Operator /.
TH2 & operator=(const TH2 &)
friend TH2C operator-(TH2C &h1, TH2C &h2)
Operator -.
virtual Double_t GetBinErrorUp(Int_t bin) const
Return upper error associated to bin number bin.
TH2F & operator=(const TH2F &h1)
Operator =.
virtual Int_t ShowPeaks(Double_t sigma=2, Option_t *option="", Double_t threshold=0.05)
Interface to TSpectrum2::Search the function finds peaks in this histogram where the width is > sigma...
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 pr...
virtual void Copy(TObject &hnew) const
Copy.
virtual Double_t GetBinErrorUp(Int_t binx, Int_t biny)
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.
virtual Double_t RetrieveBinContent(Int_t bin) const
friend TH2S operator*(TH2S &h1, Float_t c1)
TH2S & operator=(const TH2S &h1)
Operator =.
friend TH2F operator-(TH2F &h1, TH2F &h2)
Operator -.
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.
virtual Double_t RetrieveBinContent(Int_t bin) const
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual Double_t GetBinErrorLow(Int_t binx, Int_t biny)
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void Smooth(Int_t ntimes=1, Option_t *option="")
Smooth bin contents of this 2-d histogram using kernel algorithms similar to the ones used in the ras...
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
Int_t Fill(const char *, Double_t)
Increment bin with namex with a weight w.
virtual void Copy(TObject &hnew) const
Copy.
virtual ~TH2C()
Destructor.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual Double_t Integral(Option_t *option="") const
Return integral of bin contents.
Service class for 2-Dim histogram classes.
virtual Double_t RetrieveBinContent(Int_t bin) const
Array of shorts (16 bits per element).
TH2C & operator=(const TH2C &h1)
Operator =.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual void FitSlicesX(TF1 *f1=0, Int_t firstybin=0, Int_t lastybin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=0)
Project slices along X in case of a 2-D histogram, then fit each slice with function f1 and make a hi...
friend TH2D operator*(TH2D &h1, Float_t c1)
2-D histogram with a float 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...
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.
Collection abstract base class.
virtual void SetBinContent(Int_t binx, Int_t biny, Int_t, Double_t content)
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 Integral(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Option_t *="") const
1-D histogram with a double per channel (see TH1 documentation)}
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 Int_t GetBin(Int_t binx, Int_t biny, Int_t binz=0) const
Return Global bin number corresponding to binx,y,z.
virtual Double_t Integral(Option_t *option="") const
Return integral of bin contents.
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 TH2D operator*(Float_t c1, TH2D &h1)
Operator *.
friend TH2F operator+(TH2F &h1, TH2F &h2)
Operator +.
friend TH2S operator*(Float_t c1, TH2S &h1)
Operator *.
virtual TH2 * RebinX(Int_t ngroup=2, const char *newname="")
Rebin only the X axis see Rebin2D.
TH2I & operator=(const TH2I &h1)
Operator =.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
virtual void DoFitSlices(bool onX, TF1 *f1, Int_t firstbin, Int_t lastbin, Int_t cut, Option_t *option, TObjArray *arr)
virtual TH1D * DoProjection(bool onX, const char *name, Int_t firstbin, Int_t lastbin, Option_t *option) const
Internal (protected) method for performing projection on the X or Y axis called by ProjectionX or Pro...
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 histogra...
virtual void FitSlicesY(TF1 *f1=0, Int_t firstxbin=0, Int_t lastxbin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=0)
Project slices along Y in case of a 2-D histogram, then fit each slice with function f1 and make a hi...
2-D histogram with a short per channel (see TH1 documentation)
Array of doubles (64 bits per element).
friend TH2F operator*(Float_t c1, TH2F &h1)
Operator *.
virtual void AddBinContent(Int_t bin, Double_t w)
Increment bin content by a weight w.
virtual TH1D * DoQuantiles(bool onX, const char *name, Double_t prob) const
Implementation of quantiles for x or y.
Mother of all ROOT objects.
virtual void AddBinContent(Int_t bin, Double_t w)
Increment bin content by a weight w.
virtual TH1 * ShowBackground(Int_t niter=20, Option_t *option="same")
This function calculates the background spectrum in this histogram.
virtual ~TH2F()
Destructor.
virtual Double_t Interpolate(Double_t x)
illegal for a TH2
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual ~TH2I()
Destructor.
virtual Long64_t Merge(TCollection *list)
Add all histograms in the collection to this histogram.
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
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 GetStats(Double_t *stats) const
Fill the array stats from the contents of this histogram The array stats must be correctly dimensionn...
friend TH2S operator+(TH2S &h1, TH2S &h2)
Operator +.
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content.
virtual Double_t GetCorrelationFactor(Int_t axis1=1, Int_t axis2=2) const
Return correlation factor between axis1 and axis2.
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
2-D histogram with a int per channel (see TH1 documentation)}
Int_t Fill(Double_t)
Invalid Fill method.
virtual ~TH2S()
Destructor.
friend TH2S operator-(TH2S &h1, TH2S &h2)
Operator -.
Int_t BufferFill(Double_t, Double_t)
accumulate arguments in buffer.
virtual Double_t GetBinContent(Int_t binx, Int_t biny) const
virtual void FillN(Int_t, const Double_t *, const Double_t *, Int_t)
Fill this histogram with an array x and weights w.
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.
TH2D & operator=(const TH2D &h1)
Operator =.
2-D histogram with a double per channel (see TH1 documentation)}
Array of chars or bytes (8 bits per element).