16#ifndef ROOSTATS_HybridPlot
17#define ROOSTATS_HybridPlot
43 const std::vector<double> & sb_values,
44 const std::vector<double> & b_values,
53 void Draw (
const char* options=
"");
56 void DumpToFile (
const char* RootFileName,
const char* options);
#define ClassDef(name, id)
This class provides the plots for the result of a study performed with the HybridCalculatorOriginal c...
double GetMedian(TH1 *histo)
Get the median of an histogram.
double GetSBrms()
Get SB histo RMS.
double GetSBCenter(double n_sigmas=1, bool display=false)
Get SB histo center.
double * GetBIntExtremes(double frac)
Get B histo integration extremes to obtain the requested area fraction call delete [] res to release ...
TH1F * GetBhisto()
Get B histo.
double GetSBmean()
Get SB histo mean.
TH1F * GetSBhisto()
Get B histo.
double GetBCenter(double n_sigmas=1, bool display=false)
Get B histo center.
double * GetSBIntExtremes(double frac)
Get SB histo integration extremes to obtain the requested area fraction call delete [] res to release...
HybridPlot(const char *name, const char *title, const std::vector< double > &sb_values, const std::vector< double > &b_values, double testStat_data, int n_bins, bool verbosity=true)
Constructor.
TVirtualPad * GetCanvas()
Get the pad (or canvas) where it has been drawn.
void DumpToImage(const char *filename)
Write an image on disk.
TLine * fData_testStat_line
void Draw(const char *options="")
Draw on current pad.
double GetBrms()
Get B histo RMS.
double GetBmean()
Get B histo mean.
double * GetHistoPvals(TH1 *histo, double percentage)
Get the "effective sigmas" of the histo, call delete [] res to release memory.
double GetHistoCenter(TH1 *histo, double n_rms=1, bool display_result=false)
Get the center of the histo.
void DumpToFile(const char *RootFileName, const char *options)
All the objects are written to rootfile.
1-D histogram with a float per channel (see TH1 documentation)}
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.
Double_t GetRMS(Int_t axis=1) const
This class displays a legend box (TPaveText) containing several legend entries.
The TNamed class is the base class for all named ROOT classes.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Namespace for the RooStats classes.