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}))"; }
void SetPrintLevel(Int_t printlevel)
RooArgSet * fDetailedOutput
RatioOfProfiledLikelihoodsTestStat()
~RatioOfProfiledLikelihoodsTestStat(void)
virtual void EnableDetailedOutput(bool e=true, bool withErrorsAndPulls=false)
void SetMinimizer(const char *minimizer)
void SetReuseNLL(Bool_t flag)
ProfileLikelihoodTestStat fAltProfile
#define ClassDef(name, id)
void SetPrintLevel(Int_t printLevel)
void SetMinimizer(const char *minimizer)
virtual void EnableDetailedOutput(bool e=true)
void SetStrategy(Int_t strategy)
virtual void SetGlobalObservables(const RooArgSet &set)
interface to set global observables. If a test statistics needs them it will re-implement this functi...
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
ProfileLikelihoodTestStat fNullProfile
virtual void SetGlobalObservables(const RooArgSet &set)
interface to set global observables. If a test statistics needs them it will re-implement this functi...
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
virtual void SetConditionalObservables(const RooArgSet &set)
interface to set conditional observables. If a test statistics needs them it will re-implement this f...
virtual const TString GetVarName() const
void SetSubtractMLE(bool subtract)
RooAbsData is the common abstract base class for binned and unbinned datasets.
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the pro...
static void SetAlwaysReuseNLL(Bool_t flag)
TestStatistic that returns the ratio of profiled likelihoods.
Namespace for the RooStats classes.
virtual Double_t Evaluate(RooAbsData &data, RooArgSet &nullParamsOfInterest)
evaluate the ratio of profile likelihood
bool fDetailedOutputEnabled
void SetTolerance(double tol)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
RatioOfProfiledLikelihoodsTestStat(RooAbsPdf &nullPdf, RooAbsPdf &altPdf, const RooArgSet *altPOI=0)
static Bool_t fgAlwaysReuseNll
void SetStrategy(Int_t strategy)
void SetTolerance(Double_t tol)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
void SetReuseNLL(Bool_t flag)
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
virtual void SetConditionalObservables(const RooArgSet &set)
interface to set conditional observables. If a test statistics needs them it will re-implement this f...
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...