50 if(!
result.HasTestStatisticData()) {
54 if(
result.GetPValueIsRightTail()) {
63 if(
result.HasTestStatisticData()) {
64 double theMin(0.), theMax(0.), theYMax(0.);
67 AddLine(
result.GetTestStatisticData(), 0,
result.GetTestStatisticData(), theYMax*0.66,
"test statistic data");
Option_t Option_t SetLineWidth
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Option_t Option_t SetLineColor
static constexpr double infinity()
Return internal infinity representation.
This class provides the plots for the result of a study performed with any of the HypoTestCalculatorG...
void ApplyDefaultStyle(void)
Set default style options (also called in the constructor that takes a HypoTestResult).
void ApplyResult(HypoTestResult &result, Option_t *opt="NORMALIZE HIST")
Applies a HypoTestResult.
HypoTestPlot()
Constructor.
HypoTestResult * fHypoTestResult
HypoTestResult is a base class for results from hypothesis tests.
SamplingDistribution * GetNullDistribution(void) const
SamplingDistribution * GetAltDistribution(void) const
This class provides simple and straightforward utilities to plot SamplingDistribution objects.
void GetAbsoluteInterval(double &theMin, double &theMax, double &theYMax) const
double AddSamplingDistributionShaded(const SamplingDistribution *samplingDist, double minShaded, double maxShaded, Option_t *drawOptions="NORMALIZE HIST")
Like AddSamplingDistribution, but also sets a shaded area in the minShaded and maxShaded boundaries.
void AddLine(double x1, double y1, double x2, double y2, const char *title=nullptr)
add a line
double AddSamplingDistribution(const SamplingDistribution *samplingDist, Option_t *drawOptions="NORMALIZE HIST")
adds the sampling distribution and returns the scale factor
This class simply holds a sampling distribution of some test statistic.
This class displays a legend box (TPaveText) containing several legend entries.
Namespace for the RooStats classes.