#include <RegH1F.h>
Inheritance diagram for RegH1F:
Author: Benno List, Jenny Böhme
Changelog:
Definition at line 36 of file RegH1F.h.
Public Member Functions | |
RegH1F (const char *name, const char *title, Int_t nbinsx, Axis_t xlow, Axis_t xup, const ROListPoR &hhl=0) | |
Constructor with equidistant binning. | |
RegH1F (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, const ROListPoR &hhl=0) | |
Constructor with non-equidistant binning, taking float bin edges. | |
RegH1F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, const ROListPoR &hhl=0) | |
Constructor with non-equidistant binning, taking double bin edges. | |
RegH1F (const char *name, const char *title, const Binning &binning, const ROListPoR &hhl=0) | |
Constructor taking a Binning object. | |
RegH1F (const char *name, TFile &file, const ROListPoR &hhl) | |
Constructor reading histogram from a file. | |
RegH1F (const char *name, const char *title, const TH1F &source, const ROListPoR &hhl=0) | |
Sort of "renaming copy constructor". | |
virtual | ~RegH1F () |
Virtual destructor. | |
virtual Stat_t | GetSumOfErrors2 () const |
Returns the sum of error squares excluding under/overflow bins. | |
void | getHistInfo (Option_t *option, Stat_t &content, Stat_t &error2) const |
Return content or mean and error. | |
virtual void | Divide (TF1 *f1, Double_t c1=1) |
Divide by a function (as for TH1): this = this/(c1*f1). | |
virtual void | Divide (const TH1 *h1) |
Divide by a histogram (as for TH1): this = this/h1. | |
virtual void | Divide (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option=0) |
Replace contents by the division of h1 by h2: this = c1*h1/(c2*h2). | |
virtual void | Divide (const TH1 *h1, const TH1 *h2, const TH1 *h3, Double_t c1=1, Double_t c2=1) |
Replace contents by the division of h1 by h2, with h3 as overlap histogram: this = c1*h1/(c2*h2). | |
virtual void | DrawFunc (Option_t *option, const char *fname) |
Enable a specific Fit Function to be plotted with the Histogram. | |
Private Member Functions | |
RegH1F (const RegH1F &source) | |
Private copy constructor, left unimplemented: No copying! | |
RegH1F & | operator= (const RegH1F &source) |
Private assignment operator, left unimplemented: No assignment! |
|
Constructor with equidistant binning.
|
|
Constructor with non-equidistant binning, taking float bin edges.
|
|
Constructor with non-equidistant binning, taking double bin edges.
|
|
Constructor taking a Binning object.
|
|
Constructor reading histogram from a file.
|
|
Sort of "renaming copy constructor".
|
|
Return content or mean and error.
Definition at line 155 of file RegH1F.C. References GetSumOfErrors2(). Referenced by SetOfHistograms::getSummary(), MatrixOfHistograms::getSummary(), and MatrixOfHistograms::getSummarySet(). |
|
Divide by a function (as for TH1): this = this/(c1*f1).
Definition at line 177 of file RegH1F.C. Referenced by SetOfH::Divide(). |
|
Divide by a histogram (as for TH1): this = this/h1.
|
|
Replace contents by the division of h1 by h2: this = c1*h1/(c2*h2).
|
|
Replace contents by the division of h1 by h2, with h3 as overlap histogram: this = c1*h1/(c2*h2). In the most general case where h1 contains a sum of event weights w_i and h2 a sum of event weights v_i, h3 should contain the sum w_i*v_i for those events which fall into the same x bin; h3 is the overlap histogram.
|
|
Enable a specific Fit Function to be plotted with the Histogram. If the Histogram was fitted with the Option "0", the Fit Function is globally disabled for drawing. This function enables it for the active drawing and disables it again afterwards. Note: The Draw is done via DrawCopy ! Author: Ronnie Weber
|