11 #ifndef ROOSTATS_HybridCalculator 12 #define ROOSTATS_HybridCalculator int CheckHook(void) const
check whether all input is consistent
void SetNToysInTails(int toysNull, int toysAlt)
set least number of toys in tails
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
RooAbsPdf * MakeNuisancePdf(RooAbsPdf &pdf, const RooArgSet &observables, const char *name)
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
Bool_t fPriorNuisanceNullExternal
RooAbsPdf * fPriorNuisanceNull
int PreNullHook(RooArgSet *, double obsTestStat) const
configure TestStatSampler for the Null run
Common base class for the Hypothesis Test Calculators.
#define ClassDef(name, id)
int PreAltHook(RooArgSet *, double obsTestStat) const
configure TestStatSampler for the Alt run
const ModelConfig * fNullModel
Bool_t fPriorNuisanceAltExternal
virtual void SetNullModel(const ModelConfig &nullModel)
RooAbsData is the common abstract base class for binned and unbinned datasets.
HybridCalculator(const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=0)
Same purpose as HybridCalculatorOriginal, but different implementation.
Namespace for the RooStats classes.
void SetToys(int toysNull, int toysAlt)
set number of toys
RooAbsPdf * fPriorNuisanceAlt
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
const ModelConfig * fAltModel
virtual void SetAlternateModel(const ModelConfig &altModel)
virtual void ForcePriorNuisanceAlt(RooAbsPdf &priorNuisance)
virtual void ForcePriorNuisanceNull(RooAbsPdf &priorNuisance)
Override the distribution used for marginalizing nuisance parameters that is inferred from ModelConfi...