11#ifndef ROOSTATS_HypoTestCalculatorGeneric
12#define ROOSTATS_HypoTestCalculatorGeneric
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Common base class for the Hypothesis Test Calculators.
const ModelConfig * GetNullModel(void) const
void SetAdaptiveLimits(Double_t obsTestStat, Bool_t forNull) const
const ModelConfig * fAltModel
virtual void PreHook() const
HypoTestCalculatorGeneric(const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=0)
Constructor.
SamplingDistribution * GenerateSamplingDistribution(ModelConfig *thisModel, double obsTestStat, RooAbsPdf *impDens=NULL, const RooArgSet *impSnapshot=NULL) const
virtual int PreNullHook(RooArgSet *, double) const
void SetupSampler(const ModelConfig &model) const
common setup for both models
TestStatSampler * fTestStatSampler
virtual void SetAlternateModel(const ModelConfig &altModel)
unsigned int fAltToysSeed
virtual void SetNullModel(const ModelConfig &nullModel)
const ModelConfig * GetAlternateModel(void) const
virtual int PreAltHook(RooArgSet *, double) const
TestStatSampler * GetTestStatSampler(void) const
const ModelConfig * fNullModel
TestStatistic * fDefaultTestStat
virtual HypoTestResult * GetHypoTest() const
inherited methods from HypoTestCalculator interface
virtual int CheckHook(void) const
virtual const RooArgSet * GetFitInfo() const
void UseSameAltToys()
to re-use same toys for alternate hypothesis
TestStatSampler * fDefaultSampler
virtual void PostHook() const
const RooAbsData * GetData(void) const
~HypoTestCalculatorGeneric()
virtual void SetData(RooAbsData &data)
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...
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer