11#ifndef ROOSTATS_RatioOfProfiledLikelihoodsTestStat
12#define ROOSTATS_RatioOfProfiledLikelihoodsTestStat
129 virtual const TString GetVarName()
const {
return "log(L(#mu_{1},#hat{#nu}_{1}) / L(#mu_{0},#hat{#nu}_{0}))"; }
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
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 SetConditionalObservables(const RooArgSet &set)
interface to set conditional observables. If a test statistics needs them it will re-implement this f...
virtual void EnableDetailedOutput(bool e=true, bool withErrorsAndPulls=false)
void SetReuseNLL(Bool_t flag)
void SetTolerance(double tol)
virtual void SetGlobalObservables(const RooArgSet &set)
interface to set global observables. If a test statistics needs them it will re-implement this functi...
void SetMinimizer(const char *minimizer)
void SetStrategy(Int_t strategy)
TestStatistic that returns the ratio of profiled likelihoods.
virtual const TString GetVarName() const
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
virtual void SetGlobalObservables(const RooArgSet &set)
interface to set global observables. If a test statistics needs them it will re-implement this functi...
RatioOfProfiledLikelihoodsTestStat(RooAbsPdf &nullPdf, RooAbsPdf &altPdf, const RooArgSet *altPOI=0)
void SetSubtractMLE(bool subtract)
void SetPrintLevel(Int_t printLevel)
~RatioOfProfiledLikelihoodsTestStat(void)
void SetMinimizer(const char *minimizer)
Double_t ProfiledLikelihood(RooAbsData &data, RooArgSet &poi, RooAbsPdf &pdf)
returns -logL(poi, conditional MLE of nuisance params) subtract off the global MLE or not depending o...
ProfileLikelihoodTestStat fAltProfile
virtual void SetConditionalObservables(const RooArgSet &set)
interface to set conditional observables. If a test statistics needs them it will re-implement this f...
void SetTolerance(Double_t tol)
RatioOfProfiledLikelihoodsTestStat()
virtual Double_t Evaluate(RooAbsData &data, RooArgSet &nullParamsOfInterest)
evaluate the ratio of profile likelihood
static void SetAlwaysReuseNLL(Bool_t flag)
void SetStrategy(Int_t strategy)
static Bool_t fgAlwaysReuseNll
bool fDetailedOutputEnabled
virtual void EnableDetailedOutput(bool e=true)
RooArgSet * fDetailedOutput
ProfileLikelihoodTestStat fNullProfile
void SetReuseNLL(Bool_t flag)
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
Namespace for the RooStats classes.