11 #ifndef ROOSTATS_SimpleLikelihoodRatioTestStat 12 #define ROOSTATS_SimpleLikelihoodRatioTestStat 159 return "log(L(#mu_{1}) / L(#mu_{0}))";
RooArgSet fConditionalObs
RooArgSet * getVariables(Bool_t stripDisconnected=kTRUE) const
Return RooArgSet with all variables (tree leaf nodes of expresssion tree)
TIterator * createIterator(Bool_t dir=kIterForward) const
virtual void EnableDetailedOutput(bool e=true)
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
SimpleLikelihoodRatioTestStat(RooAbsPdf &nullPdf, RooAbsPdf &altPdf)
SimpleLikelihoodRatioTestStat()
Double_t getVal(const RooArgSet *set=0) const
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.
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
#define ClassDef(name, id)
RooArgSet * fDetailedOutput
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
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...
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 SetGlobalObservables(const RooArgSet &set)
interface to set global observables. If a test statistics needs them it will re-implement this functi...
RooArgSet * fAltParameters
virtual ~SimpleLikelihoodRatioTestStat()
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
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
virtual const TString GetVarName() const
Namespace for the RooStats classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
void SetReuseNLL(Bool_t flag)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
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...