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