RooProfileLL Class Reference

#include <RooProfileLL.h>

Inheritance diagram for RooProfileLL:

RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

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 TObjectclone (const char *newname) const
virtual ~RooProfileLL ()
void setAlwaysStartFromMin (Bool_t flag)
Bool_t alwaysStartFromMin () const
RooMinuitminuit ()
RooAbsRealnll ()
const RooArgSetbestFitParams () const
const RooArgSetbestFitObs () const
virtual RooAbsRealcreateProfile (const RooArgSet &paramsOfInterest)
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 TObjectclone (const char *newname) const
virtual ~RooProfileLL ()
void setAlwaysStartFromMin (Bool_t flag)
Bool_t alwaysStartFromMin () const
RooMinuitminuit ()
RooAbsRealnll ()
const RooArgSetbestFitParams () const
const RooArgSetbestFitObs () const
virtual RooAbsRealcreateProfile (const RooArgSet &paramsOfInterest)
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

Detailed Description

Definition at line 23 of file RooProfileLL.h.


Constructor & Destructor Documentation

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]

Definition at line 115 of file RooProfileLL.cxx.

References _minuit, _oiter, and _piter.

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]


Member Function Documentation

virtual TObject* RooProfileLL::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 29 of file RooProfileLL.h.

References RooProfileLL().

void RooProfileLL::setAlwaysStartFromMin ( Bool_t  flag  )  [inline]

Definition at line 32 of file RooProfileLL.h.

References _startFromMin.

Bool_t RooProfileLL::alwaysStartFromMin (  )  const [inline]

Definition at line 33 of file RooProfileLL.h.

References _startFromMin.

RooMinuit* RooProfileLL::minuit (  )  [inline]

Definition at line 35 of file RooProfileLL.h.

References _minuit.

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

Definition at line 132 of file RooProfileLL.cxx.

References _paramAbsMin, and validateAbsMin().

const RooArgSet & RooProfileLL::bestFitObs (  )  const

Definition at line 140 of file RooProfileLL.cxx.

References _obsAbsMin, and validateAbsMin().

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]

Reimplemented from RooAbsArg.

Definition at line 299 of file RooProfileLL.cxx.

References _minuit, and kFALSE.

void RooProfileLL::clearAbsMin (  )  [inline]

Definition at line 44 of file RooProfileLL.h.

References _absMinValid, and kFALSE.

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]

Implements RooAbsArg.

Definition at line 29 of file RooProfileLL.h.

References RooProfileLL().

void RooProfileLL::setAlwaysStartFromMin ( Bool_t  flag  )  [inline]

Definition at line 32 of file RooProfileLL.h.

References _startFromMin.

Bool_t RooProfileLL::alwaysStartFromMin (  )  const [inline]

Definition at line 33 of file RooProfileLL.h.

References _startFromMin.

RooMinuit* RooProfileLL::minuit (  )  [inline]

Definition at line 35 of file RooProfileLL.h.

References _minuit.

RooAbsReal& RooProfileLL::nll (  )  [inline]

Definition at line 36 of file RooProfileLL.h.

References _nll, and RooRealProxy::arg().

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]

Definition at line 44 of file RooProfileLL.h.

References _absMinValid, and kFALSE.

void RooProfileLL::validateAbsMin (  )  const [protected]

Double_t RooProfileLL::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.


Member Data Documentation

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]

Definition at line 53 of file RooProfileLL.h.

Referenced by RooProfileLL(), and validateAbsMin().

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]

Definition at line 62 of file RooProfileLL.h.

Referenced by evaluate(), and validateAbsMin().

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]

Definition at line 65 of file RooProfileLL.h.

Referenced by validateAbsMin().

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]

Iterator of profile likelihood output parameter(s).

Definition at line 59 of file RooProfileLL.h.

std::map<std::string,bool> RooProfileLL::_paramFixed [mutable, protected]

Definition at line 65 of file RooProfileLL.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1