34 fHypoTestResult(&result)
66 Double_t theMin(0.), theMax(0.), theYMax(0.);
Bool_t HasTestStatisticData(void) const
HypoTestPlot()
Constructor.
This class displays a legend box (TPaveText) containing several legend entries.
void SetLineColor(Color_t color, const SamplingDistribution *samplDist=0)
Sets line color for given sampling distribution and fill color for the associated shaded TH1F...
void ApplyResult(HypoTestResult &result, Option_t *opt="NORMALIZE HIST")
Applies a HypoTestResult.
HypoTestResult is a base class for results from hypothesis tests.
Double_t AddSamplingDistribution(const SamplingDistribution *samplingDist, Option_t *drawOptions="NORMALIZE HIST")
adds the sampling distribution and returns the scale factor
This class provides the plots for the result of a study performed with any of the HypoTestCalculatorG...
SamplingDistribution * GetAltDistribution(void) const
void GetAbsoluteInterval(Double_t &theMin, Double_t &theMax, Double_t &theYMax) const
Bool_t GetPValueIsRightTail(void) const
void SetLineWidth(Width_t lwidth, const SamplingDistribution *samplDist=0)
void ApplyDefaultStyle(void)
Set default style options (also called in the constructor that takes a HypoTestResult).
Double_t AddSamplingDistributionShaded(const SamplingDistribution *samplingDist, Double_t minShaded, Double_t maxShaded, Option_t *drawOptions="NORMALIZE HIST")
Like AddSamplingDistribution, but also sets a shaded area in the minShaded and maxShaded boundaries...
HypoTestResult * fHypoTestResult
Double_t GetTestStatisticData(void) const
static Double_t infinity()
Return internal infinity representation.
SamplingDistribution * GetNullDistribution(void) const
This class simply holds a sampling distribution of some test statistic.
Namespace for the RooStats classes.
void AddLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char *title=NULL)
add a line
This class provides simple and straightforward utilities to plot SamplingDistribution objects...