11#ifndef ROOSTATS_HybridCalculator
12#define ROOSTATS_HybridCalculator
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
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.
RooAbsPdf * fPriorNuisanceNull
bool fPriorNuisanceNullExternal
virtual void ForcePriorNuisanceNull(RooAbsPdf &priorNuisance)
Override the distribution used for marginalizing nuisance parameters that is inferred from ModelConfi...
void SetAlternateModel(const ModelConfig &altModel) override
Set the model for the alternate hypothesis.
int CheckHook(void) const override
check whether all input is consistent
~HybridCalculator() override
virtual void ForcePriorNuisanceAlt(RooAbsPdf &priorNuisance)
void SetToys(int toysNull, int toysAlt)
set number of toys
RooAbsPdf * fPriorNuisanceAlt
void SetNullModel(const ModelConfig &nullModel) override
Set the model for the null hypothesis.
void SetNToysInTails(int toysNull, int toysAlt)
set least number of toys in tails
bool fPriorNuisanceAltExternal
int PreAltHook(RooArgSet *, double obsTestStat) const override
configure TestStatSampler for the Alt run
HybridCalculator(const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=nullptr)
int PreNullHook(RooArgSet *, double obsTestStat) const override
configure TestStatSampler for the Null run
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)
extract constraint terms from pdf