11 #ifndef ROOSTATS_MaxLikelihoodEstimateTestStat 12 #define ROOSTATS_MaxLikelihoodEstimateTestStat 114 for (
int tries = 0, maxtries = 4; tries <= maxtries; ++tries) {
121 printf(
" ----> Doing a re-scan first\n");
125 printf(
" ----> trying with strategy = 1\n");
136 if (status != 0)
return -1;
virtual RooAbsReal * createNLL(RooAbsData &data, const RooLinkedList &cmdList)
Construct representation of -log(L) of PDFwith given dataset.
virtual const char * GetName() const
Returns name of object.
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...
static int DefaultStrategy()
RooCmdArg CloneData(Bool_t flag)
Double_t getVal(const RooArgSet *set=0) const
RooFit::MsgLevel globalKillBelow() const
static RooMsgService & instance()
Return reference to singleton instance.
virtual void PValueIsRightTail(bool isright)
virtual bool PValueIsRightTail(void) const
Defines the sign convention of the test statistic. Overwrite function if necessary.
void setStrategy(Int_t strat)
Change MINUIT strategy to istrat.
virtual void SetConditionalObservables(const RooArgSet &set)
#define ClassDef(name, id)
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual const TString GetVarName() const
RooRealVar represents a fundamental (non-derived) real valued object.
static const std::string & DefaultMinimizerType()
virtual Double_t Evaluate(RooAbsData &data, RooArgSet &)
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters O...
static int DefaultPrintLevel()
char * Form(const char *fmt,...)
void setGlobalKillBelow(RooFit::MsgLevel level)
MaxLikelihoodEstimateTestStat()
RooAbsData is the common abstract base class for binned and unbinned datasets.
Namespace for the RooStats classes.
RooArgSet fConditionalObs
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet * getParameters(const RooAbsData *data, Bool_t stripDisconnected=kTRUE) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
MaxLikelihoodEstimateTestStat(RooAbsPdf &pdf, RooRealVar ¶meter)
Int_t minimize(const char *type, const char *alg=0)
Int_t setPrintLevel(Int_t newLevel)
Change the MINUIT internal printing level.
MaxLikelihoodEstimateTestStat: TestStatistic that returns maximum likelihood estimate of a specified ...
void RemoveConstantParameters(RooArgSet *set)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
RooCmdArg ConditionalObservables(const RooArgSet &set)
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
RooCmdArg Constrain(const RooArgSet ¶ms)