40 oocoutE(
nullptr,InputArguments) <<
"HybridCalculator - Nuisance PDF has been specified, but is unaware of which parameters are the nuisance parameters. Must set nuisance parameters in the Null ModelConfig." << endl;
44 oocoutE(
nullptr,InputArguments) <<
"HybridCalculator - Nuisance PDF has been specified, but is unaware of which parameters are the nuisance parameters. Must set nuisance parameters in the Alt ModelConfig" << endl;
66 <<
"HybridCalculator - No nuisance parameters specified for Null model and no prior forced. "
67 <<
"Case is reduced to simple hypothesis testing with no uncertainty." << endl;
69 oocoutI(
nullptr,InputArguments) <<
"HybridCalculator - Using uniform prior on nuisance parameters (Null model)." << endl;
78 oocoutI(
nullptr,InputArguments) <<
"Using a ToyMCSampler. Now configuring for Null." << endl;
85 oocoutI(
nullptr,InputArguments) <<
"Adaptive Sampling" << endl;
114 oocoutI(
nullptr,InputArguments)
115 <<
"HybridCalculator - No nuisance parameters specified for Alt model and no prior forced. "
116 <<
"Case is reduced to simple hypothesis testing with no uncertainty." << endl;
118 oocoutI(
nullptr,InputArguments) <<
"HybridCalculator - Using uniform prior on nuisance parameters (Alt model)." << endl;
127 oocoutI(
nullptr,InputArguments) <<
"Using a ToyMCSampler. Now configuring for Alt." << endl;
134 oocoutI(
nullptr,InputArguments) <<
"Adaptive Sampling" << endl;
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Same purpose as HybridCalculatorOriginal, but different implementation.
RooAbsPdf * fPriorNuisanceNull
int CheckHook(void) const override
check whether all input is consistent
RooAbsPdf * fPriorNuisanceAlt
int PreAltHook(RooArgSet *, double obsTestStat) const override
configure TestStatSampler for the Alt run
int PreNullHook(RooArgSet *, double obsTestStat) const override
configure TestStatSampler for the Null run
const ModelConfig * GetNullModel(void) const
const ModelConfig * fAltModel
TestStatSampler * fTestStatSampler
TestStatSampler * GetTestStatSampler(void) const
Returns instance of TestStatSampler.
const ModelConfig * fNullModel
const RooArgSet * GetNuisanceParameters() const
get RooArgSet containing the nuisance parameters (return nullptr if not existing)
void LoadSnapshot() const
load the snapshot from ws if it exists
virtual void SetPriorNuisance(RooAbsPdf *)=0
How to randomize the prior. Set to nullptr to deactivate randomization.
ToyMCSampler is an implementation of the TestStatSampler interface.
virtual void SetNToys(const Int_t ntoy)
void SetToysBothTails(double toys, double low_threshold, double high_threshold)
void SetToysRightTail(double toys, double threshold)
void SetToysLeftTail(double toys, double threshold)
Namespace for the RooStats classes.