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