41 oocoutE((
TObject*)
NULL,
InputArguments) <<
"RatioOfProfiledLikelihoods::ProfileLikelihood - invalid pdf used for computing the profiled likelihood - return NaN" 90 return nullNLL -altNLL;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
RooArgSet * fDetailedOutput
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
virtual RooAbsPdf * GetPdf() const
Double_t getVal(const RooArgSet *set=0) const
virtual Double_t EvaluateProfileLikelihood(int type, RooAbsData &data, RooArgSet ¶msOfInterest)
Iterator abstract base class.
ProfileLikelihoodTestStat fAltProfile
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
RooRealVar represents a fundamental (non-derived) real valued object.
ProfileLikelihoodTestStat fNullProfile
virtual Bool_t addOwned(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling addOwned() for each element in the source...
RooAbsData is the common abstract base class for binned and unbinned datasets.
static void SetAlwaysReuseNLL(Bool_t flag)
virtual Double_t Evaluate(RooAbsData &data, RooArgSet &nullParamsOfInterest)
evaluate the ratio of profile likelihood
bool fDetailedOutputEnabled
Mother of all ROOT objects.
static Bool_t fgAlwaysReuseNll
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual const char * GetTitle() const
Returns title of object.
Double_t ProfiledLikelihood(RooAbsData &data, RooArgSet &poi, RooAbsPdf &pdf)
returns -logL(poi, conditonal MLE of nuisance params) subtract off the global MLE or not depending on...