Template class RooCacheManager manages the storage of any type of data indexed on the choice of normalization and optionally the set of integrated observables. The purpose of this class is to faciliate storage of intermediate results in operator p.d.f.s whose value and inner working are often highly dependent on the user provided choice of normalization in getVal(). For efficiency reasons these normalization set pointer are derefenced as little as possible. This class contains a lookup table for RooArgSet pointer pairs -> normalization lists. Distinct pointer pairs that represent the same normalization/projection are recognized and will all point to the same normalization list. Lists for up to 'maxSize' different normalization/ projection configurations can be cached.
RooCacheManager<vector<double,allocator<double> > >(Int_t maxSize = 10) | |
RooCacheManager<vector<double,allocator<double> > >(RooAbsArg* owner, Int_t maxSize = 10) | |
RooCacheManager<vector<double,allocator<double> > >(const RooCacheManager<vector<double,allocator<double> > >& other, RooAbsArg* owner = 0) | |
virtual | ~RooCacheManager<vector<double,allocator<double> > >() |
Int_t | cacheSize() const |
static TClass* | Class() |
static TClass* | RooAbsCache::Class() |
virtual void | RooAbsCache::findConstantNodes(const RooArgSet&, RooArgSet&, RooLinkedList&) |
vector<double,allocator<double> >* | getObj(const RooArgSet* nset, Int_t* sterileIndex = 0, const TNamed* isetRangeName = 0) |
vector<double,allocator<double> >* | getObj(const RooArgSet* nset, const RooArgSet* iset, Int_t* sterileIdx = 0, const TNamed* isetRangeName = 0) |
vector<double,allocator<double> >* | getObjByIndex(Int_t index) const |
virtual void | insertObjectHook(vector<double,allocator<double> >&) |
virtual TClass* | IsA() const |
virtual TClass* | RooAbsCache::IsA() const |
Int_t | lastIndex() const |
const RooNameSet* | nameSet1ByIndex(Int_t index) const |
const RooNameSet* | nameSet2ByIndex(Int_t index) const |
RooCacheManager<vector<double,allocator<double> > >& | operator=(const RooCacheManager<vector<double,allocator<double> > >&) |
RooAbsCache& | RooAbsCache::operator=(const RooAbsCache&) |
virtual void | operModeHook() |
virtual void | RooAbsCache::operModeHook() |
virtual void | RooAbsCache::optimizeCacheMode(const RooArgSet&, RooArgSet&, RooLinkedList&) |
virtual void | printCompactTreeHook(ostream&, const char*) |
virtual void | RooAbsCache::printCompactTreeHook(ostream&, const char*) |
virtual Bool_t | redirectServersHook(const RooAbsCollection&, Bool_t, Bool_t, Bool_t) |
virtual Bool_t | RooAbsCache::redirectServersHook(const RooAbsCollection&, Bool_t, Bool_t, Bool_t) |
void | reset() |
Int_t | setObj(const RooArgSet* nset, vector<double,allocator<double> >* obj, const TNamed* isetRangeName = 0) |
Int_t | setObj(const RooArgSet* nset, const RooArgSet* iset, vector<double,allocator<double> >* obj, const TNamed* isetRangeName = 0) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | RooAbsCache::ShowMembers(TMemberInspector& insp, char* parent) |
void | sterilize() |
virtual void | Streamer(TBuffer& b) |
virtual void | RooAbsCache::Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
Int_t | _lastIndex | Last slot accessed |
Int_t | _maxSize | Maximum size |
RooNormSetCache* | _nsetCache | ! Normalization/Integration set manager |
vector<double,allocator<double> >** | _object | ! Payload |
RooAbsArg* | RooAbsCache::_owner | Pointer to owning RooAbsArg |
Int_t | _size | Actual use |
Getter function without integration set
Setter function without integration set
Interface function to intercept server redirects
Interface function to cache add contents to output in tree printing mode
Interface function to perform post-insert operations on cached object
needed to avoid 'specialization after instantiation' problem in gcc