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
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 * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
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
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 *set=0) const
Evaluate object. Returns either cached value or triggers a recalculation.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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.
const RooAbsReal & arg() const
RooRealVar represents a fundamental (non-derived) real valued object.
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...
Iterator abstract base class.
virtual TObject * Next()=0
virtual const char * GetName() const
Returns name of object.