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