virtual int | CheckHook() const |
virtual int | PreAltHook(RooArgSet*, double) const |
virtual int | PreNullHook(RooArgSet*, double) const |
RooStats::SamplingDistribution* | GenerateSamplingDistribution(RooStats::ModelConfig* thisModel, double obsTestStat, RooAbsPdf* impDens = NULL, const RooArgSet* impSnapshot = NULL) const |
void | SetAdaptiveLimits(Double_t obsTestStat, Bool_t forNull) const |
void | SetupSampler(const RooStats::ModelConfig& model) const |
const RooStats::ModelConfig* | fAltModel | |
const RooAbsData* | fData | |
RooStats::TestStatSampler* | fDefaultSampler | |
RooStats::TestStatistic* | fDefaultTestStat | |
const RooStats::ModelConfig* | fNullModel | |
RooStats::TestStatSampler* | fTestStatSampler |
Constructor. When test stat sampler is not provided uses ToyMCSampler and RatioOfProfiledLikelihoodsTestStat and nToys = 1000. User can : GetTestStatSampler()->SetNToys( # )
set the model for the null hypothesis (only B)
{ fNullModel = &nullModel; }
set the model for the alternate hypothesis (S+B)
{ return fNullModel; }
Returns instance of TestStatSampler. Use to change properties of TestStatSampler, e.g. GetTestStatSampler.SetTestSize(Double_t size);
{ return fTestStatSampler; }