11 #ifndef ROOSTATS_SimpleLikelihoodRatioTestStat
12 #define ROOSTATS_SimpleLikelihoodRatioTestStat
29 #ifndef ROOSTATS_TestStatistic
178 return "log(L(#mu_{1}) / L(#mu_{0}))";
RooArgSet fConditionalObs
virtual void EnableDetailedOutput(bool e=true)
virtual const TString GetVarName() const
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
SimpleLikelihoodRatioTestStat(RooAbsPdf &nullPdf, RooAbsPdf &altPdf)
SimpleLikelihoodRatioTestStat()
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically named contents.
RooAbsReal * fNllAlt
transient copy of the null NLL
void SetAltParameters(const RooArgSet &altParameters)
Iterator abstract base class.
#define ClassDef(name, id)
RooArgSet * fDetailedOutput
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
RooArgSet * getVariables(Bool_t stripDisconnected=kTRUE) const
Return RooArgSet with all variables (tree leaf nodes of expresssion tree)
void SetNullParameters(const RooArgSet &nullParameters)
virtual Double_t Evaluate(RooAbsData &data, RooArgSet &nullPOI)
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters O...
TIterator * createIterator(Bool_t dir=kIterForward) const
virtual void SetConditionalObservables(const RooArgSet &set)
Double_t getVal(const RooArgSet *set=0) const
RooArgSet * fAltParameters
virtual ~SimpleLikelihoodRatioTestStat()
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
bool fDetailedOutputEnabled
RooAbsData is the common abstract base class for binned and unbinned datasets.
SimpleLikelihoodRatioTestStat(RooAbsPdf &nullPdf, RooAbsPdf &altPdf, const RooArgSet &nullParameters, const RooArgSet &altParameters)
RooArgSet * fNullParameters
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
void SetReuseNLL(Bool_t flag)
TestStatistic class that returns -log(L[null] / L[alt]) where L is the likelihood.
static void SetAlwaysReuseNLL(Bool_t flag)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual TObject * Next()=0
static Bool_t fgAlwaysReuseNll
transient copy of the alt NLL
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.