48 _obs(
"paramOfInterest",
"Parameters of interest",this),
49 _par(
"nuisanceParam",
"Nuisance parameters",this,
kFALSE,
kFALSE),
70 _nll(
"input",
"-log(L) function",this,nllIn),
71 _obs(
"paramOfInterest",
"Parameters of interest",this),
72 _par(
"nuisanceParam",
"Nuisance parameters",this,
kFALSE,
kFALSE),
100 _nll(
"nll",this,other._nll),
101 _obs(
"obs",this,other._obs),
102 _par(
"par",this,other._par),
103 _startFromMin(other._startFromMin),
107 _paramFixed(other._paramFixed),
256 <<
", recalculating absolute minimum" << endl ;
267 cxcoutI(
Minimization) <<
"RooProfileLL::evaluate(" <<
GetName() <<
") determining minimum likelihood for current configurations w.r.t all observable" << endl ;
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooArgSet * getObservables(const RooArgSet &set, Bool_t valueOnly=kTRUE) const
Return the observables of this pdf given a set of observables.
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...
Bool_t isConstant() const
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
RooAbsCollection * selectByAttrib(const char *name, Bool_t value) const
Create a subset of the current collection, consisting only of those elements with the specified attri...
TIterator * createIterator(Bool_t dir=kIterForward) const R__SUGGEST_ALTERNATIVE("begin()
TIterator-style iteration over contained elements.
RooAbsArg * find(const char *name) const
Find object with given name in list.
void setConstant(Bool_t value=kTRUE)
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Create a RooProfileLL object that eliminates all nuisance parameters in the present function.
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.
virtual void addClone(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling addOwned() for each element in the source...
static RooMsgService & instance()
Return reference to singleton instance.
Bool_t silentMode() const
void setSilentMode(Bool_t flag)
Class RooProfileLL implements the profile likelihood estimator for a given likelihood and set of para...
virtual ~RooProfileLL()
Destructor.
const RooArgSet & bestFitObs() const
RooProfileLL()
Default constructor Should only be used by proof.
void initializeMinimizer() const
MINIMIZER * _minimizer
Iterator of profile likelihood output parameter(s)
std::map< std::string, bool > _paramFixed
Double_t evaluate() const
Evaluate profile likelihood by minimizing likelihood w.r.t.
TIterator * _oiter
Iterator over profile likelihood parameters to be minimized.
void validateAbsMin() const
Check that parameters and likelihood value for 'best fit' are still valid.
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Optimized implementation of createProfile for profile likelihoods.
virtual Bool_t redirectServersHook(const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
const RooArgSet & bestFitParams() const
Bool_t _absMinValid
Internal minuit instance.
RooRealVar represents a variable that can be changed from the outside.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooSetProxy is the concrete proxy for RooArgSet objects.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Overloaded RooArgSet::add() method inserts 'var' into set and registers 'var' as server to owner with...
const T & arg() const
Return reference to object held in proxy.
Iterator abstract base class.
virtual TObject * Next()=0
virtual const char * GetName() const
Returns name of object.