#include <RooProfileLL.h>
Inheritance diagram for RooProfileLL:
Public Member Functions | |
RooProfileLL () | |
RooProfileLL (const char *name, const char *title, RooAbsReal &nll, const RooArgSet &observables) | |
RooProfileLL (const RooProfileLL &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooProfileLL () |
void | setAlwaysStartFromMin (Bool_t flag) |
Bool_t | alwaysStartFromMin () const |
RooMinuit * | minuit () |
RooAbsReal & | nll () |
const RooArgSet & | bestFitParams () const |
const RooArgSet & | bestFitObs () const |
virtual RooAbsReal * | createProfile (const RooArgSet ¶msOfInterest) |
virtual Bool_t | redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t) |
void | clearAbsMin () |
RooProfileLL () | |
RooProfileLL (const char *name, const char *title, RooAbsReal &nll, const RooArgSet &observables) | |
RooProfileLL (const RooProfileLL &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooProfileLL () |
void | setAlwaysStartFromMin (Bool_t flag) |
Bool_t | alwaysStartFromMin () const |
RooMinuit * | minuit () |
RooAbsReal & | nll () |
const RooArgSet & | bestFitParams () const |
const RooArgSet & | bestFitObs () const |
virtual RooAbsReal * | createProfile (const RooArgSet ¶msOfInterest) |
virtual Bool_t | redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t) |
void | clearAbsMin () |
Protected Member Functions | |
void | validateAbsMin () const |
Double_t | evaluate () const |
void | validateAbsMin () const |
Double_t | evaluate () const |
Protected Attributes | |
RooRealProxy | _nll |
RooSetProxy | _obs |
RooSetProxy | _par |
Bool_t | _startFromMin |
TIterator * | _piter |
TIterator * | _oiter |
Iterator over profile likelihood parameters to be minimized. | |
RooMinuit * | _minuit |
Iterator of profile likelihood output parameter(s). | |
Bool_t | _absMinValid |
Internal minuit instance. | |
Double_t | _absMin |
RooArgSet | _paramAbsMin |
RooArgSet | _obsAbsMin |
std::map< std::string, bool > | _paramFixed |
TIterator * | _piter |
TIterator * | _oiter |
Iterator over profile likelihood parameters to be minimized. | |
RooMinuit * | _minuit |
Iterator of profile likelihood output parameter(s). | |
std::map< std::string, bool > | _paramFixed |
Definition at line 23 of file RooProfileLL.h.
RooProfileLL::RooProfileLL | ( | ) |
Referenced by clone().
RooProfileLL::RooProfileLL | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | nll, | |||
const RooArgSet & | observables | |||
) |
Definition at line 58 of file RooProfileLL.cxx.
References _obs, _oiter, _par, _piter, RooSetProxy::add(), RooAbsCollection::createIterator(), RooAbsArg::getObservables(), and RooAbsArg::getParameters().
RooProfileLL::RooProfileLL | ( | const RooProfileLL & | other, | |
const char * | name = 0 | |||
) |
Definition at line 91 of file RooProfileLL.cxx.
References _obs, _obsAbsMin, _oiter, _par, _paramAbsMin, _piter, RooArgSet::addClone(), and RooAbsCollection::createIterator().
RooProfileLL::~RooProfileLL | ( | ) | [virtual] |
RooProfileLL::RooProfileLL | ( | ) |
RooProfileLL::RooProfileLL | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | nll, | |||
const RooArgSet & | observables | |||
) |
RooProfileLL::RooProfileLL | ( | const RooProfileLL & | other, | |
const char * | name = 0 | |||
) |
virtual RooProfileLL::~RooProfileLL | ( | ) | [virtual] |
virtual TObject* RooProfileLL::clone | ( | const char * | newname | ) | const [inline, virtual] |
void RooProfileLL::setAlwaysStartFromMin | ( | Bool_t | flag | ) | [inline] |
Bool_t RooProfileLL::alwaysStartFromMin | ( | ) | const [inline] |
RooMinuit* RooProfileLL::minuit | ( | ) | [inline] |
RooAbsReal& RooProfileLL::nll | ( | ) | [inline] |
Definition at line 36 of file RooProfileLL.h.
References _nll, and RooRealProxy::arg().
Referenced by RooStats::LikelihoodInterval::CreateMinimizer(), and createProfile().
const RooArgSet & RooProfileLL::bestFitParams | ( | ) | const |
const RooArgSet & RooProfileLL::bestFitObs | ( | ) | const |
RooAbsReal * RooProfileLL::createProfile | ( | const RooArgSet & | paramsOfInterest | ) | [virtual] |
Reimplemented from RooAbsReal.
Definition at line 150 of file RooProfileLL.cxx.
References RooAbsReal::createProfile(), and nll().
Bool_t RooProfileLL::redirectServersHook | ( | const RooAbsCollection & | , | |
Bool_t | , | |||
Bool_t | , | |||
Bool_t | ||||
) | [virtual] |
void RooProfileLL::clearAbsMin | ( | ) | [inline] |
void RooProfileLL::validateAbsMin | ( | ) | const [protected] |
Definition at line 217 of file RooProfileLL.cxx.
References _absMin, _absMinValid, _minuit, _nll, _obs, _obsAbsMin, _oiter, _par, _paramAbsMin, _paramFixed, _piter, RooArgSet::addClone(), RooAbsCollection::assignValueOnly(), ccxcoutI, cxcoutI, dologI, TNamed::GetName(), RooAbsCollection::getSize(), RooAbsReal::getVal(), kFALSE, kTRUE, RooMinuit::migrad(), RooFit::Minimization, TIterator::Next(), par, RooAbsCollection::removeAll(), TIterator::Reset(), and RooAbsCollection::snapshot().
Referenced by bestFitObs(), bestFitParams(), and evaluate().
Double_t RooProfileLL::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Definition at line 163 of file RooProfileLL.cxx.
References _absMin, _minuit, _nll, _obs, _paramAbsMin, _startFromMin, RooRealProxy::arg(), ccoutP, coutI, RooAbsCollection::createIterator(), RooFit::Eval, RooAbsCollection::find(), TNamed::GetName(), RooRealVar::getVal(), RooMsgService::instance(), RooAbsArg::isConstant(), kFALSE, kTRUE, RooMinuit::migrad(), RooFit::Minimization, TIterator::Next(), RooAbsArg::RooMinuit, RooMinuit::setPrintLevel(), RooMsgService::setSilentMode(), RooMsgService::silentMode(), RooAbsCollection::snapshot(), and validateAbsMin().
virtual TObject* RooProfileLL::clone | ( | const char * | newname | ) | const [inline, virtual] |
void RooProfileLL::setAlwaysStartFromMin | ( | Bool_t | flag | ) | [inline] |
Bool_t RooProfileLL::alwaysStartFromMin | ( | ) | const [inline] |
RooMinuit* RooProfileLL::minuit | ( | ) | [inline] |
RooAbsReal& RooProfileLL::nll | ( | ) | [inline] |
const RooArgSet& RooProfileLL::bestFitParams | ( | ) | const |
const RooArgSet& RooProfileLL::bestFitObs | ( | ) | const |
virtual RooAbsReal* RooProfileLL::createProfile | ( | const RooArgSet & | paramsOfInterest | ) | [virtual] |
Reimplemented from RooAbsReal.
virtual Bool_t RooProfileLL::redirectServersHook | ( | const RooAbsCollection & | , | |
Bool_t | , | |||
Bool_t | , | |||
Bool_t | ||||
) | [virtual] |
Reimplemented from RooAbsArg.
void RooProfileLL::clearAbsMin | ( | ) | [inline] |
void RooProfileLL::validateAbsMin | ( | ) | const [protected] |
Double_t RooProfileLL::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
RooRealProxy RooProfileLL::_nll [protected] |
Definition at line 51 of file RooProfileLL.h.
Referenced by evaluate(), nll(), and validateAbsMin().
RooSetProxy RooProfileLL::_obs [protected] |
Definition at line 52 of file RooProfileLL.h.
Referenced by evaluate(), RooProfileLL(), and validateAbsMin().
RooSetProxy RooProfileLL::_par [protected] |
Bool_t RooProfileLL::_startFromMin [protected] |
Definition at line 54 of file RooProfileLL.h.
Referenced by alwaysStartFromMin(), evaluate(), and setAlwaysStartFromMin().
TIterator* RooProfileLL::_piter [protected] |
Definition at line 56 of file RooProfileLL.h.
Referenced by RooProfileLL(), validateAbsMin(), and ~RooProfileLL().
TIterator* RooProfileLL::_oiter [protected] |
Iterator over profile likelihood parameters to be minimized.
Definition at line 57 of file RooProfileLL.h.
Referenced by RooProfileLL(), validateAbsMin(), and ~RooProfileLL().
RooMinuit* RooProfileLL::_minuit [mutable, protected] |
Iterator of profile likelihood output parameter(s).
Definition at line 59 of file RooProfileLL.h.
Referenced by evaluate(), minuit(), redirectServersHook(), validateAbsMin(), and ~RooProfileLL().
Bool_t RooProfileLL::_absMinValid [mutable, protected] |
Internal minuit instance.
Definition at line 61 of file RooProfileLL.h.
Referenced by clearAbsMin(), and validateAbsMin().
Double_t RooProfileLL::_absMin [mutable, protected] |
RooArgSet RooProfileLL::_paramAbsMin [mutable, protected] |
Definition at line 63 of file RooProfileLL.h.
Referenced by bestFitParams(), evaluate(), RooProfileLL(), and validateAbsMin().
RooArgSet RooProfileLL::_obsAbsMin [mutable, protected] |
Definition at line 64 of file RooProfileLL.h.
Referenced by bestFitObs(), RooProfileLL(), and validateAbsMin().
std::map<std::string,bool> RooProfileLL::_paramFixed [mutable, protected] |
TIterator* RooProfileLL::_piter [protected] |
Definition at line 56 of file RooProfileLL.h.
TIterator* RooProfileLL::_oiter [protected] |
Iterator over profile likelihood parameters to be minimized.
Definition at line 57 of file RooProfileLL.h.
RooMinuit* RooProfileLL::_minuit [mutable, protected] |
std::map<std::string,bool> RooProfileLL::_paramFixed [mutable, protected] |
Definition at line 65 of file RooProfileLL.h.