47 _obs(
"paramOfInterest",
"Parameters of interest",this),
48 _par(
"nuisanceParam",
"Nuisance parameters",this,
kFALSE,
kFALSE),
69 _nll(
"input",
"-log(L) function",this,nllIn),
70 _obs(
"paramOfInterest",
"Parameters of interest",this),
71 _par(
"nuisanceParam",
"Nuisance parameters",this,
kFALSE,
kFALSE),
99 _nll(
"nll",this,other._nll),
100 _obs(
"obs",this,other._obs),
101 _par(
"par",this,other._par),
102 _startFromMin(other._startFromMin),
106 _paramFixed(other._paramFixed),
173 coutI(Minimization) <<
"RooProfileLL::evaluate(" <<
GetName() <<
") Creating instance of MINUIT" << endl ;
253 cxcoutI(Minimization) <<
"RooProfileLL::evaluate(" <<
GetName() <<
") constant status of parameter " << par->
GetName() <<
" has changed from "
255 <<
", recalculating absolute minimum" << endl ;
266 cxcoutI(Minimization) <<
"RooProfileLL::evaluate(" <<
GetName() <<
") determining minimum likelihood for current configurations w.r.t all observable" << endl ;
314 if (
dologI(Minimization)) {
315 cxcoutI(Minimization) <<
"RooProfileLL::evaluate(" <<
GetName() <<
") minimum found at (" ;
324 ccxcoutI(Minimization) <<
")" << endl ;
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooArgSet * getObservables(const RooArgSet &set, Bool_t valueOnly=kTRUE) const
Given a set of possible observables, return the observables that this PDF depends on.
RooArgSet * getParameters(const RooAbsData *data, bool stripDisconnected=true) 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
Check if the "Constant" attribute is set.
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
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.
RooAbsArg * addClone(const RooAbsArg &var, Bool_t silent=kFALSE) override
Add clone of specified element to an owning set.
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)
Function that is called at the end of redirectServers().
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) override
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.