11 #ifndef ROOSTATS_HypoTestCalculatorGeneric 12 #define ROOSTATS_HypoTestCalculatorGeneric 19 #ifndef ROOSTATS_HypoTestCalculator 23 #ifndef ROOSTATS_ModelConfig 27 #ifndef ROOSTATS_TestStatistic 31 #ifndef ROOSTATS_TestStatSampler 35 #ifndef ROOSTATS_SamplingDistribution 39 #ifndef ROOSTATS_HypoTestResult void SetupSampler(const ModelConfig &model) const
common setup for both models
void UseSameAltToys()
to re-use same toys for alternate hypothesis
SamplingDistribution * GenerateSamplingDistribution(ModelConfig *thisModel, double obsTestStat, RooAbsPdf *impDens=NULL, const RooArgSet *impSnapshot=NULL) const
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
const ModelConfig * GetAlternateModel(void) const
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
~HypoTestCalculatorGeneric()
HypoTestResult is a base class for results from hypothesis tests.
unsigned int fAltToysSeed
TestStatSampler * fDefaultSampler
void SetAdaptiveLimits(Double_t obsTestStat, Bool_t forNull) const
TestStatistic * fDefaultTestStat
Common base class for the Hypothesis Test Calculators.
#define ClassDef(name, id)
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
virtual void SetData(RooAbsData &data)
const ModelConfig * fNullModel
virtual HypoTestResult * GetHypoTest() const
inherited methods from HypoTestCalculator interface
virtual void PreHook() const
RooAbsData is the common abstract base class for binned and unbinned datasets.
This class simply holds a sampling distribution of some test statistic.
virtual void SetAlternateModel(const ModelConfig &altModel)
const RooAbsData * GetData(void) const
Namespace for the RooStats classes.
virtual int PreNullHook(RooArgSet *, double) const
virtual void PostHook() const
virtual int CheckHook(void) const
virtual const RooArgSet * GetFitInfo() const
const ModelConfig * GetNullModel(void) const
TestStatSampler * fTestStatSampler
HypoTestCalculatorGeneric(const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=0)
Constructor.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
const ModelConfig * fAltModel
virtual int PreAltHook(RooArgSet *, double) const
virtual void SetNullModel(const ModelConfig &nullModel)
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
TestStatSampler * GetTestStatSampler(void) const