#include <RooAbsCachedReal.h>
Inheritance diagram for RooAbsCachedReal:

Public Member Functions | |
| RooAbsCachedReal () | |
| RooAbsCachedReal (const char *name, const char *title, Int_t ipOrder=0) | |
| RooAbsCachedReal (const RooAbsCachedReal &other, const char *name=0) | |
| virtual | ~RooAbsCachedReal () |
| virtual Double_t | getVal (const RooArgSet *set=0) const |
| virtual Bool_t | selfNormalized () const |
| void | setInterpolationOrder (Int_t order) |
| Int_t | getInterpolationOrder () const |
| virtual Bool_t | forceAnalyticalInt (const RooAbsArg &) const |
| virtual Int_t | getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const |
| virtual Double_t | analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const |
| RooAbsCachedReal () | |
| RooAbsCachedReal (const char *name, const char *title, Int_t ipOrder=0) | |
| RooAbsCachedReal (const RooAbsCachedReal &other, const char *name=0) | |
| virtual | ~RooAbsCachedReal () |
| virtual Double_t | getVal (const RooArgSet *set=0) const |
| virtual Bool_t | selfNormalized () const |
| void | setInterpolationOrder (Int_t order) |
| Int_t | getInterpolationOrder () const |
| virtual Bool_t | forceAnalyticalInt (const RooAbsArg &) const |
| virtual Int_t | getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const |
| virtual Double_t | analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const |
Protected Member Functions | |
| FuncCacheElem * | getCache (const RooArgSet *nset) const |
| void | clearCacheObject (FuncCacheElem &cache) const |
| virtual const char * | payloadUniqueSuffix () const |
| virtual const char * | binningName () const |
| virtual FuncCacheElem * | createCache (const RooArgSet *nset) const |
| virtual const char * | inputBaseName () const=0 |
| virtual RooArgSet * | actualObservables (const RooArgSet &nset) const=0 |
| virtual RooArgSet * | actualParameters (const RooArgSet &nset) const=0 |
| virtual void | fillCacheObject (FuncCacheElem &cache) const =0 |
| TString | cacheNameSuffix (const RooArgSet &nset) const |
| void | disableCache (Bool_t flag) |
| FuncCacheElem * | getCache (const RooArgSet *nset) const |
| void | clearCacheObject (FuncCacheElem &cache) const |
| virtual const char * | payloadUniqueSuffix () const |
| virtual const char * | binningName () const |
| virtual FuncCacheElem * | createCache (const RooArgSet *nset) const |
| virtual const char * | inputBaseName () const=0 |
| virtual RooArgSet * | actualObservables (const RooArgSet &nset) const=0 |
| virtual RooArgSet * | actualParameters (const RooArgSet &nset) const=0 |
| virtual void | fillCacheObject (FuncCacheElem &cache) const =0 |
| TString | cacheNameSuffix (const RooArgSet &nset) const |
| void | disableCache (Bool_t flag) |
Protected Attributes | |
| RooObjCacheManager | _cacheMgr |
| Int_t | _ipOrder |
| std::map< Int_t, std::pair< const RooArgSet *, const RooArgSet * > > | _anaIntMap |
| std::map< Int_t, std::pair< const RooArgSet *, const RooArgSet * > > | _anaIntMap |
Private Attributes | |
| Bool_t | _disableCache |
| Map for analytical integration codes. | |
Friends | |
| class | FuncCacheElem |
Classes | |
| class | FuncCacheElem |
Definition at line 24 of file RooAbsCachedReal.h.
| RooAbsCachedReal::RooAbsCachedReal | ( | ) | [inline] |
Definition at line 27 of file RooAbsCachedReal.h.
| RooAbsCachedReal::RooAbsCachedReal | ( | const char * | name, | |
| const char * | title, | |||
| Int_t | ipOrder = 0 | |||
| ) |
| RooAbsCachedReal::RooAbsCachedReal | ( | const RooAbsCachedReal & | other, | |
| const char * | name = 0 | |||
| ) |
Definition at line 60 of file RooAbsCachedReal.cxx.
| RooAbsCachedReal::~RooAbsCachedReal | ( | ) | [virtual] |
Definition at line 72 of file RooAbsCachedReal.cxx.
| RooAbsCachedReal::RooAbsCachedReal | ( | ) | [inline] |
Definition at line 27 of file RooAbsCachedReal.h.
| RooAbsCachedReal::RooAbsCachedReal | ( | const char * | name, | |
| const char * | title, | |||
| Int_t | ipOrder = 0 | |||
| ) |
| RooAbsCachedReal::RooAbsCachedReal | ( | const RooAbsCachedReal & | other, | |
| const char * | name = 0 | |||
| ) |
| virtual RooAbsCachedReal::~RooAbsCachedReal | ( | ) | [virtual] |
Reimplemented from RooAbsReal.
Definition at line 80 of file RooAbsCachedReal.cxx.
References _disableCache, RooAbsReal::_value, RooAbsCachedReal::FuncCacheElem::func(), getCache(), and RooAbsReal::getVal().
Referenced by analyticalIntegralWN().
| virtual Bool_t RooAbsCachedReal::selfNormalized | ( | ) | const [inline, virtual] |
| void RooAbsCachedReal::setInterpolationOrder | ( | Int_t | order | ) |
Definition at line 257 of file RooAbsCachedReal.cxx.
References _cacheMgr, _ipOrder, RooCacheManager< T >::cacheSize(), RooCacheManager< T >::getObjByIndex(), and i.
Referenced by RooAbsPdf::createScanCdf(), RooAbsReal::createScanRI(), and RooNumRunningInt::RooNumRunningInt().
| Int_t RooAbsCachedReal::getInterpolationOrder | ( | ) | const [inline] |
Definition at line 39 of file RooAbsCachedReal.h.
References _ipOrder.
Referenced by RooAbsCachedReal::FuncCacheElem::FuncCacheElem().
| Int_t RooAbsCachedReal::getAnalyticalIntegralWN | ( | RooArgSet & | allVars, | |
| RooArgSet & | analVars, | |||
| const RooArgSet * | normSet, | |||
| const char * | rangeName = 0 | |||
| ) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 306 of file RooAbsCachedReal.cxx.
References _anaIntMap, RooAbsCachedReal::FuncCacheElem::func(), RooAbsReal::getAnalyticalIntegralWN(), and getCache().
| Double_t RooAbsCachedReal::analyticalIntegralWN | ( | Int_t | code, | |
| const RooArgSet * | normSet, | |||
| const char * | rangeName = 0 | |||
| ) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 320 of file RooAbsCachedReal.cxx.
References _anaIntMap, RooAbsReal::analyticalIntegralWN(), RooAbsCachedReal::FuncCacheElem::func(), getCache(), and getVal().
| RooAbsCachedReal::FuncCacheElem * RooAbsCachedReal::getCache | ( | const RooArgSet * | nset | ) | const [protected] |
Definition at line 128 of file RooAbsCachedReal.cxx.
References _cacheMgr, RooDataHist::add(), RooFit::Caching, xmlio::Class, coutI, createCache(), RooFit::Eval, RooAbsArg::expensiveObjectCache(), fillCacheObject(), RooAbsCachedReal::FuncCacheElem::func(), TNamed::GetName(), RooCacheManager< T >::getObj(), RooChangeTracker::hasChanged(), RooAbsCachedReal::FuncCacheElem::hist(), kTRUE, RooChangeTracker::parameters(), RooAbsCachedReal::FuncCacheElem::paramTracker(), RooExpensiveObjectCache::registerObject(), RooDataHist::removeSelfFromDir(), RooDataHist::reset(), RooExpensiveObjectCache::retrieveObject(), RooAbsArg::RooArgSet, RooCacheManager< T >::setObj(), and RooAbsArg::setValueDirty().
Referenced by analyticalIntegralWN(), getAnalyticalIntegralWN(), and getVal().
| void RooAbsCachedReal::clearCacheObject | ( | FuncCacheElem & | cache | ) | const [protected] |
Definition at line 105 of file RooAbsCachedReal.cxx.
References RooAbsCachedReal::FuncCacheElem::hist(), and RooDataHist::setAllWeights().
| virtual const char* RooAbsCachedReal::payloadUniqueSuffix | ( | ) | const [inline, protected, virtual] |
| virtual const char* RooAbsCachedReal::binningName | ( | ) | const [inline, protected, virtual] |
Definition at line 80 of file RooAbsCachedReal.h.
Referenced by RooAbsCachedReal::FuncCacheElem::FuncCacheElem().
| RooAbsCachedReal::FuncCacheElem * RooAbsCachedReal::createCache | ( | const RooArgSet * | nset | ) | const [protected, virtual] |
Definition at line 114 of file RooAbsCachedReal.cxx.
References FuncCacheElem.
Referenced by getCache().
| virtual const char* RooAbsCachedReal::inputBaseName | ( | ) | const [protected, pure virtual] |
| virtual RooArgSet* RooAbsCachedReal::actualObservables | ( | const RooArgSet & | nset | ) | const [protected, pure virtual] |
| virtual RooArgSet* RooAbsCachedReal::actualParameters | ( | const RooArgSet & | nset | ) | const [protected, pure virtual] |
| virtual void RooAbsCachedReal::fillCacheObject | ( | FuncCacheElem & | cache | ) | const [protected, pure virtual] |
Referenced by getCache().
Definition at line 225 of file RooAbsCachedReal.cxx.
References RooAbsCollection::createIterator(), TNamed::GetName(), RooAbsCollection::getSize(), kFALSE, kTRUE, name, and payloadUniqueSuffix().
Referenced by RooAbsCachedReal::FuncCacheElem::FuncCacheElem().
| void RooAbsCachedReal::disableCache | ( | Bool_t | flag | ) | [inline, protected] |
Reimplemented from RooAbsReal.
| virtual Bool_t RooAbsCachedReal::selfNormalized | ( | ) | const [inline, virtual] |
| void RooAbsCachedReal::setInterpolationOrder | ( | Int_t | order | ) |
| Int_t RooAbsCachedReal::getInterpolationOrder | ( | ) | const [inline] |
| virtual Int_t RooAbsCachedReal::getAnalyticalIntegralWN | ( | RooArgSet & | allVars, | |
| RooArgSet & | analVars, | |||
| const RooArgSet * | normSet, | |||
| const char * | rangeName = 0 | |||
| ) | const [virtual] |
Reimplemented from RooAbsReal.
| virtual Double_t RooAbsCachedReal::analyticalIntegralWN | ( | Int_t | code, | |
| const RooArgSet * | normSet, | |||
| const char * | rangeName = 0 | |||
| ) | const [virtual] |
Reimplemented from RooAbsReal.
| FuncCacheElem* RooAbsCachedReal::getCache | ( | const RooArgSet * | nset | ) | const [protected] |
| void RooAbsCachedReal::clearCacheObject | ( | FuncCacheElem & | cache | ) | const [protected] |
| virtual const char* RooAbsCachedReal::payloadUniqueSuffix | ( | ) | const [inline, protected, virtual] |
Definition at line 77 of file RooAbsCachedReal.h.
| virtual const char* RooAbsCachedReal::binningName | ( | ) | const [inline, protected, virtual] |
Definition at line 80 of file RooAbsCachedReal.h.
| virtual FuncCacheElem* RooAbsCachedReal::createCache | ( | const RooArgSet * | nset | ) | const [protected, virtual] |
| virtual const char* RooAbsCachedReal::inputBaseName | ( | ) | const [protected, pure virtual] |
| virtual RooArgSet* RooAbsCachedReal::actualObservables | ( | const RooArgSet & | nset | ) | const [protected, pure virtual] |
| virtual RooArgSet* RooAbsCachedReal::actualParameters | ( | const RooArgSet & | nset | ) | const [protected, pure virtual] |
| virtual void RooAbsCachedReal::fillCacheObject | ( | FuncCacheElem & | cache | ) | const [protected, pure virtual] |
| void RooAbsCachedReal::disableCache | ( | Bool_t | flag | ) | [inline, protected] |
FuncCacheElem [friend] |
RooObjCacheManager RooAbsCachedReal::_cacheMgr [mutable, protected] |
Definition at line 90 of file RooAbsCachedReal.h.
Referenced by getCache(), and setInterpolationOrder().
Int_t RooAbsCachedReal::_ipOrder [protected] |
Definition at line 93 of file RooAbsCachedReal.h.
Referenced by getInterpolationOrder(), and setInterpolationOrder().
std::map<Int_t,std::pair<const RooArgSet*,const RooArgSet*> > RooAbsCachedReal::_anaIntMap [mutable, protected] |
Definition at line 101 of file RooAbsCachedReal.h.
Referenced by analyticalIntegralWN(), and getAnalyticalIntegralWN().
Bool_t RooAbsCachedReal::_disableCache [private] |
Map for analytical integration codes.
Definition at line 106 of file RooAbsCachedReal.h.
Referenced by disableCache(), and getVal().
std::map<Int_t,std::pair<const RooArgSet*,const RooArgSet*> > RooAbsCachedReal::_anaIntMap [mutable, protected] |
Definition at line 101 of file RooAbsCachedReal.h.
1.5.1