11#ifndef ROOSTATS_HybridCalculator
12#define ROOSTATS_HybridCalculator
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Same purpose as HybridCalculatorOriginal, but different implementation.
Bool_t fPriorNuisanceAltExternal
RooAbsPdf * fPriorNuisanceNull
HybridCalculator(const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=0)
virtual void ForcePriorNuisanceNull(RooAbsPdf &priorNuisance)
Override the distribution used for marginalizing nuisance parameters that is inferred from ModelConfi...
int PreAltHook(RooArgSet *, double obsTestStat) const
configure TestStatSampler for the Alt run
virtual void SetNullModel(const ModelConfig &nullModel)
virtual void ForcePriorNuisanceAlt(RooAbsPdf &priorNuisance)
Bool_t fPriorNuisanceNullExternal
int PreNullHook(RooArgSet *, double obsTestStat) const
configure TestStatSampler for the Null run
void SetToys(int toysNull, int toysAlt)
set number of toys
RooAbsPdf * fPriorNuisanceAlt
int CheckHook(void) const
check whether all input is consistent
void SetNToysInTails(int toysNull, int toysAlt)
set least number of toys in tails
virtual void SetAlternateModel(const ModelConfig &altModel)
Set the model for the alternate hypothesis (S+B)
Common base class for the Hypothesis Test Calculators.
const ModelConfig * fAltModel
const ModelConfig * fNullModel
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.
Namespace for the RooStats classes.
RooAbsPdf * MakeNuisancePdf(RooAbsPdf &pdf, const RooArgSet &observables, const char *name)