11#ifndef ROOSTATS_HypoTestCalculatorGeneric
12#define ROOSTATS_HypoTestCalculatorGeneric
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Common base class for the Hypothesis Test Calculators.
void SetAdaptiveLimits(double obsTestStat, bool forNull) const
const ModelConfig * GetNullModel(void) const
void SetNullModel(const ModelConfig &nullModel) override
set the model for the null hypothesis (only B)
const ModelConfig * fAltModel
void SetData(RooAbsData &data) override
Set the DataSet.
virtual void PreHook() const
HypoTestResult * GetHypoTest() const override
inherited methods from HypoTestCalculator interface
~HypoTestCalculatorGeneric() override
virtual int PreNullHook(RooArgSet *, double) const
void SetupSampler(const ModelConfig &model) const
common setup for both models
TestStatSampler * fTestStatSampler
unsigned int fAltToysSeed
const ModelConfig * GetAlternateModel(void) const
virtual int PreAltHook(RooArgSet *, double) const
TestStatSampler * GetTestStatSampler(void) const
Returns instance of TestStatSampler.
const ModelConfig * fNullModel
TestStatistic * fDefaultTestStat
virtual int CheckHook(void) const
virtual const RooArgSet * GetFitInfo() const
SamplingDistribution * GenerateSamplingDistribution(ModelConfig *thisModel, double obsTestStat, RooAbsPdf *impDens=nullptr, const RooArgSet *impSnapshot=nullptr) const
void SetAlternateModel(const ModelConfig &altModel) override
Set the model for the alternate hypothesis (S+B)
void UseSameAltToys()
Set this for re-using always the same toys for alternate hypothesis in case of calls at different nul...
TestStatSampler * fDefaultSampler
virtual void PostHook() const
const RooAbsData * GetData(void) const
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
HypoTestResult is a base class for results from hypothesis tests.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
This class simply holds a sampling distribution of some test statistic.
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
Namespace for the RooStats classes.