11#ifndef ROOSTATS_RatioOfProfiledLikelihoodsTestStat
12#define ROOSTATS_RatioOfProfiledLikelihoodsTestStat
116 const TString GetVarName()
const override {
return "log(L(#mu_{1},#hat{#nu}_{1}) / L(#mu_{0},#hat{#nu}_{0}))"; }
int Int_t
Signed integer 4 bytes (int).
#define ClassDefOverride(name, id)
Abstract base class for binned and unbinned datasets.
Abstract interface for all probability density functions.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the pro...
static void SetAlwaysReuseNLL(bool flag)
void SetReuseNLL(bool flag)
double Evaluate(RooAbsData &data, RooArgSet &nullParamsOfInterest) override
evaluate the ratio of profile likelihood
void SetSubtractMLE(bool subtract)
void SetTolerance(double tol)
void SetPrintLevel(Int_t printLevel)
void SetGlobalObservables(const RooArgSet &set) override
set the global observables which will be used when creating the NLL so the constraint pdf's will be n...
const TString GetVarName() const override
void SetConditionalObservables(const RooArgSet &set) override
set the conditional observables which will be used when creating the NLL so the pdf's will not be nor...
void SetMinimizer(const char *minimizer)
~RatioOfProfiledLikelihoodsTestStat(void) override
static bool fgAlwaysReuseNll
ProfileLikelihoodTestStat fAltProfile
RatioOfProfiledLikelihoodsTestStat(RooAbsPdf &nullPdf, RooAbsPdf &altPdf, const RooArgSet *altPOI=nullptr)
void SetStrategy(Int_t strategy)
bool fDetailedOutputEnabled
virtual void EnableDetailedOutput(bool e=true)
RooArgSet * fDetailedOutput
const RooArgSet * GetDetailedOutput(void) const override
Returns detailed output.
ProfileLikelihoodTestStat fNullProfile
double ProfiledLikelihood(RooAbsData &data, RooArgSet &poi, RooAbsPdf &pdf)
returns -logL(poi, conditional MLE of nuisance params) it does not subtract off the global MLE becaus...
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
Namespace for the RooStats classes.