11#ifndef ROOSTATS_RatioOfProfiledLikelihoodsTestStat
12#define ROOSTATS_RatioOfProfiledLikelihoodsTestStat
127 const TString GetVarName()
const override {
return "log(L(#mu_{1},#hat{#nu}_{1}) / L(#mu_{0},#hat{#nu}_{0}))"; }
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
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.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the pro...
void SetPrintLevel(Int_t printlevel)
virtual void EnableDetailedOutput(bool e=true, bool withErrorsAndPulls=false)
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 SetReuseNLL(bool flag)
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...
void SetTolerance(double tol)
void SetMinimizer(const char *minimizer)
void SetStrategy(Int_t strategy)
TestStatistic that returns the ratio of profiled likelihoods.
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)
RatioOfProfiledLikelihoodsTestStat()
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.