37int HybridCalculator::CheckHook(
void)
const {
40 oocoutE((
TObject*)0,
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((
TObject*)0,
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;
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;
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Same purpose as HybridCalculatorOriginal, but different implementation.
RooAbsPdf * fPriorNuisanceNull
int PreAltHook(RooArgSet *, double obsTestStat) const
configure TestStatSampler for the Alt run
int PreNullHook(RooArgSet *, double obsTestStat) const
configure TestStatSampler for the Null run
RooAbsPdf * fPriorNuisanceAlt
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 NULL if not existing)
void LoadSnapshot() const
load the snapshot from ws if it exists
virtual void SetPriorNuisance(RooAbsPdf *)=0
ToyMCSampler is an implementation of the TestStatSampler interface.
virtual void SetNToys(const Int_t ntoy)
void SetToysBothTails(Double_t toys, Double_t low_threshold, Double_t high_threshold)
void SetToysLeftTail(Double_t toys, Double_t threshold)
void SetToysRightTail(Double_t toys, Double_t threshold)
Mother of all ROOT objects.
Namespace for the RooStats classes.