48 _obs("paramOfInterest","
Parameters of interest",this),
49 _par("nuisanceParam","Nuisance parameters",this,
kFALSE,kFALSE),
56 _piter = _par.createIterator() ;
57 _oiter = _obs.createIterator() ;
70 _nll(
"input",
"-log(L) function",this,nllIn),
71 _obs(
"paramOfInterest",
"Parameters of interest",this),
72 _par(
"nuisanceParam",
"Nuisance parameters",this,
kFALSE,
kFALSE),
228 while((var=dynamic_cast<RooRealVar*>(iter->
Next()) ) ) {
256 <<
", recalculating absolute minimum" << endl ;
267 cxcoutI(
Minimization) <<
"RooProfileLL::evaluate(" <<
GetName() <<
") determining minimum likelihood for current configurations w.r.t all observable" << endl ;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
Class RooProfileLL implements the profile likelihood estimator for a given likelihood and set of para...
RooArgSet * getObservables(const RooArgSet &set, Bool_t valueOnly=kTRUE) const
Double_t getVal(const RooArgSet *set=0) const
RooProfileLL()
Default constructor Should only be used by proof.
const RooArgSet & bestFitObs() const
static RooMsgService & instance()
Return reference to singleton instance.
Iterator abstract base class.
const RooArgSet & bestFitParams() const
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Optimized implementation of createProfile for profile likelihoods.
Bool_t _absMinValid
Internal minuit instance.
Bool_t silentMode() const
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
void validateAbsMin() const
Check that parameters and likelihood value for 'best fit' are still valid.
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...
std::map< std::string, bool > _paramFixed
RooRealVar represents a fundamental (non-derived) real valued object.
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...
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
RooCmdArg Parameters(const RooArgSet ¶ms)
void setConstant(Bool_t value=kTRUE)
void setSilentMode(Bool_t flag)
virtual ~RooProfileLL()
Destructor.
virtual Bool_t redirectServersHook(const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
RooAbsArg * find(const char *name) const
Find object with given name in list.
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...
Double_t evaluate() const
Evaluate profile likelihood by minimizing likelihood w.r.t.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
MINIMIZER * _minimizer
Iterator of profile likelihood output parameter(s)
void initializeMinimizer() const
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Create a RooProfileLL object that eliminates all nuisance parameters in the present function...
virtual TObject * Next()=0
RooSetProxy is the concrete proxy for RooArgSet objects.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
const RooAbsReal & arg() const
Bool_t isConstant() const
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...
TIterator * _oiter
Iterator over profile likelihood parameters to be minimized.