#include <RooNormSetCache.h>
Public Member Functions | |
RooNormSetCache (Int_t regSize=10) | |
RooNormSetCache (const RooNormSetCache &other) | |
virtual | ~RooNormSetCache () |
void | add (const RooArgSet *set1, const RooArgSet *set2=0) |
Int_t | index (const RooArgSet *set1, const RooArgSet *set2=0, const TNamed *set2RangeName=0) |
Bool_t | contains (const RooArgSet *set1, const RooArgSet *set2=0, const TNamed *set2RangeName=0) |
Bool_t | containsSet1 (const RooArgSet *set1) |
const RooArgSet * | lastSet1 () const |
const RooArgSet * | lastSet2 () const |
const RooNameSet & | nameSet1 () const |
const RooNameSet & | nameSet2 () const |
Bool_t | autoCache (const RooAbsArg *self, const RooArgSet *set1, const RooArgSet *set2=0, const TNamed *set2RangeName=0, Bool_t autoRefill=kTRUE) |
void | clear () |
Int_t | entries () const |
void | initialize (const RooNormSetCache &other) |
RooNormSetCache (Int_t regSize=10) | |
RooNormSetCache (const RooNormSetCache &other) | |
virtual | ~RooNormSetCache () |
void | add (const RooArgSet *set1, const RooArgSet *set2=0) |
Int_t | index (const RooArgSet *set1, const RooArgSet *set2=0, const TNamed *set2RangeName=0) |
Bool_t | contains (const RooArgSet *set1, const RooArgSet *set2=0, const TNamed *set2RangeName=0) |
Bool_t | containsSet1 (const RooArgSet *set1) |
const RooArgSet * | lastSet1 () const |
const RooArgSet * | lastSet2 () const |
const RooNameSet & | nameSet1 () const |
const RooNameSet & | nameSet2 () const |
Bool_t | autoCache (const RooAbsArg *self, const RooArgSet *set1, const RooArgSet *set2=0, const TNamed *set2RangeName=0, Bool_t autoRefill=kTRUE) |
void | clear () |
Int_t | entries () const |
void | initialize (const RooNormSetCache &other) |
Protected Member Functions | |
void | expand () |
void | expand () |
Protected Attributes | |
RooHashTable * | _htable |
Int_t | _regSize |
do not persist | |
Int_t | _nreg |
RooSetPair * | _asArr |
RooNameSet | _name1 |
do not persist | |
RooNameSet | _name2 |
TNamed * | _set2RangeName |
RooHashTable * | _htable |
RooSetPair * | _asArr |
TNamed * | _set2RangeName |
Definition at line 31 of file RooNormSetCache.h.
RooNormSetCache::RooNormSetCache | ( | Int_t | regSize = 10 |
) |
RooNormSetCache::RooNormSetCache | ( | const RooNormSetCache & | other | ) |
Definition at line 57 of file RooNormSetCache.cxx.
References _htable, _regSize, and RooHashTable::Intrinsic.
RooNormSetCache::~RooNormSetCache | ( | ) | [virtual] |
RooNormSetCache::RooNormSetCache | ( | Int_t | regSize = 10 |
) |
RooNormSetCache::RooNormSetCache | ( | const RooNormSetCache & | other | ) |
virtual RooNormSetCache::~RooNormSetCache | ( | ) | [virtual] |
Definition at line 111 of file RooNormSetCache.cxx.
References _asArr, _htable, _nreg, _regSize, RooSetPair::_set1, RooSetPair::_set2, RooArgSet::add(), contains(), and expand().
Referenced by autoCache(), and initialize().
Int_t RooNormSetCache::index | ( | const RooArgSet * | set1, | |
const RooArgSet * | set2 = 0 , |
|||
const TNamed * | set2RangeName = 0 | |||
) | [inline] |
Definition at line 40 of file RooNormSetCache.h.
References _asArr, _nreg, _set2RangeName, and i.
Referenced by contains().
Bool_t RooNormSetCache::contains | ( | const RooArgSet * | set1, | |
const RooArgSet * | set2 = 0 , |
|||
const TNamed * | set2RangeName = 0 | |||
) | [inline] |
Definition at line 56 of file RooNormSetCache.h.
References _htable, _set2RangeName, RooHashTable::findSetPair(), index(), and kFALSE.
Referenced by add(), and autoCache().
const RooArgSet* RooNormSetCache::lastSet1 | ( | ) | const [inline] |
const RooArgSet* RooNormSetCache::lastSet2 | ( | ) | const [inline] |
const RooNameSet& RooNormSetCache::nameSet1 | ( | ) | const [inline] |
Definition at line 72 of file RooNormSetCache.h.
References _name1.
Referenced by RooCacheManager< T >::nameSet1ByIndex().
const RooNameSet& RooNormSetCache::nameSet2 | ( | ) | const [inline] |
Definition at line 73 of file RooNormSetCache.h.
References _name2.
Referenced by RooCacheManager< T >::nameSet2ByIndex().
Bool_t RooNormSetCache::autoCache | ( | const RooAbsArg * | self, | |
const RooArgSet * | set1, | |||
const RooArgSet * | set2 = 0 , |
|||
const TNamed * | set2RangeName = 0 , |
|||
Bool_t | autoRefill = kTRUE | |||
) |
Definition at line 172 of file RooNormSetCache.cxx.
References _name1, _name2, _set2RangeName, add(), clear(), contains(), kFALSE, kTRUE, RooNameSet::refill(), and RooAbsCollection::snapshot().
Referenced by RooCacheManager< T >::setObj().
void RooNormSetCache::clear | ( | ) |
Definition at line 79 of file RooNormSetCache.cxx.
References _htable, and _nreg.
Referenced by autoCache(), initialize(), and RooCacheManager< T >::reset().
Int_t RooNormSetCache::entries | ( | ) | const [inline] |
void RooNormSetCache::initialize | ( | const RooNormSetCache & | other | ) |
Definition at line 92 of file RooNormSetCache.cxx.
References _asArr, _name1, _name2, _nreg, RooSetPair::_set1, RooSetPair::_set2, _set2RangeName, add(), clear(), and i.
void RooNormSetCache::expand | ( | ) | [protected] |
Definition at line 135 of file RooNormSetCache.cxx.
References _asArr, _htable, _nreg, _regSize, RooSetPair::_set2, RooHashTable::add(), i, and RooHashTable::Intrinsic.
Referenced by add().
Bool_t RooNormSetCache::contains | ( | const RooArgSet * | set1, | |
const RooArgSet * | set2 = 0 , |
|||
const TNamed * | set2RangeName = 0 | |||
) | [inline] |
Definition at line 56 of file RooNormSetCache.h.
References _htable, _set2RangeName, RooHashTable::findSetPair(), index(), and kFALSE.
const RooArgSet* RooNormSetCache::lastSet1 | ( | ) | const [inline] |
const RooArgSet* RooNormSetCache::lastSet2 | ( | ) | const [inline] |
const RooNameSet& RooNormSetCache::nameSet1 | ( | ) | const [inline] |
const RooNameSet& RooNormSetCache::nameSet2 | ( | ) | const [inline] |
Bool_t RooNormSetCache::autoCache | ( | const RooAbsArg * | self, | |
const RooArgSet * | set1, | |||
const RooArgSet * | set2 = 0 , |
|||
const TNamed * | set2RangeName = 0 , |
|||
Bool_t | autoRefill = kTRUE | |||
) |
void RooNormSetCache::clear | ( | ) |
Int_t RooNormSetCache::entries | ( | ) | const [inline] |
void RooNormSetCache::initialize | ( | const RooNormSetCache & | other | ) |
void RooNormSetCache::expand | ( | ) | [protected] |
RooHashTable* RooNormSetCache::_htable [protected] |
Definition at line 86 of file RooNormSetCache.h.
Referenced by add(), clear(), contains(), expand(), RooNormSetCache(), and ~RooNormSetCache().
Int_t RooNormSetCache::_regSize [protected] |
do not persist
Definition at line 87 of file RooNormSetCache.h.
Referenced by add(), expand(), and RooNormSetCache().
Int_t RooNormSetCache::_nreg [protected] |
Definition at line 88 of file RooNormSetCache.h.
Referenced by add(), clear(), containsSet1(), entries(), expand(), index(), initialize(), lastSet1(), and lastSet2().
RooSetPair* RooNormSetCache::_asArr [protected] |
Definition at line 89 of file RooNormSetCache.h.
Referenced by add(), containsSet1(), expand(), index(), initialize(), lastSet1(), lastSet2(), and ~RooNormSetCache().
RooNameSet RooNormSetCache::_name1 [protected] |
do not persist
Definition at line 91 of file RooNormSetCache.h.
Referenced by autoCache(), initialize(), and nameSet1().
RooNameSet RooNormSetCache::_name2 [protected] |
Definition at line 92 of file RooNormSetCache.h.
Referenced by autoCache(), initialize(), and nameSet2().
TNamed* RooNormSetCache::_set2RangeName [protected] |
Definition at line 93 of file RooNormSetCache.h.
Referenced by autoCache(), contains(), index(), and initialize().
RooHashTable* RooNormSetCache::_htable [protected] |
Definition at line 86 of file RooNormSetCache.h.
RooSetPair* RooNormSetCache::_asArr [protected] |
Definition at line 89 of file RooNormSetCache.h.
TNamed* RooNormSetCache::_set2RangeName [protected] |
Definition at line 93 of file RooNormSetCache.h.