RooNormSetCache Class Reference

#include <RooNormSetCache.h>

List of all members.

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 RooArgSetlastSet1 () const
const RooArgSetlastSet2 () const
const RooNameSetnameSet1 () const
const RooNameSetnameSet2 () 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 RooArgSetlastSet1 () const
const RooArgSetlastSet2 () const
const RooNameSetnameSet1 () const
const RooNameSetnameSet2 () 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


Detailed Description

Definition at line 31 of file RooNormSetCache.h.


Constructor & Destructor Documentation

RooNormSetCache::RooNormSetCache ( Int_t  regSize = 10  ) 

Definition at line 47 of file RooNormSetCache.cxx.

References _htable, and RooHashTable::Intrinsic.

RooNormSetCache::RooNormSetCache ( const RooNormSetCache other  ) 

Definition at line 57 of file RooNormSetCache.cxx.

References _htable, _regSize, and RooHashTable::Intrinsic.

RooNormSetCache::~RooNormSetCache (  )  [virtual]

Definition at line 68 of file RooNormSetCache.cxx.

References _asArr, and _htable.

RooNormSetCache::RooNormSetCache ( Int_t  regSize = 10  ) 

RooNormSetCache::RooNormSetCache ( const RooNormSetCache other  ) 

virtual RooNormSetCache::~RooNormSetCache (  )  [virtual]


Member Function Documentation

void RooNormSetCache::add ( const RooArgSet set1,
const RooArgSet set2 = 0 
)

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().

Bool_t RooNormSetCache::containsSet1 ( const RooArgSet set1  )  [inline]

Definition at line 62 of file RooNormSetCache.h.

References _asArr, _nreg, i, kFALSE, and kTRUE.

const RooArgSet* RooNormSetCache::lastSet1 (  )  const [inline]

Definition at line 70 of file RooNormSetCache.h.

References _asArr, _nreg, and RooSetPair::_set1.

const RooArgSet* RooNormSetCache::lastSet2 (  )  const [inline]

Definition at line 71 of file RooNormSetCache.h.

References _asArr, _nreg, and RooSetPair::_set2.

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]

Definition at line 78 of file RooNormSetCache.h.

References _nreg.

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().

void RooNormSetCache::add ( const RooArgSet set1,
const RooArgSet set2 = 0 
)

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.

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.

Bool_t RooNormSetCache::containsSet1 ( const RooArgSet set1  )  [inline]

Definition at line 62 of file RooNormSetCache.h.

References _asArr, _nreg, i, kFALSE, and kTRUE.

const RooArgSet* RooNormSetCache::lastSet1 (  )  const [inline]

Definition at line 70 of file RooNormSetCache.h.

References _asArr, _nreg, and RooSetPair::_set1.

const RooArgSet* RooNormSetCache::lastSet2 (  )  const [inline]

Definition at line 71 of file RooNormSetCache.h.

References _asArr, _nreg, and RooSetPair::_set2.

const RooNameSet& RooNormSetCache::nameSet1 (  )  const [inline]

Definition at line 72 of file RooNormSetCache.h.

References _name1.

const RooNameSet& RooNormSetCache::nameSet2 (  )  const [inline]

Definition at line 73 of file RooNormSetCache.h.

References _name2.

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]

Definition at line 78 of file RooNormSetCache.h.

References _nreg.

void RooNormSetCache::initialize ( const RooNormSetCache other  ) 

void RooNormSetCache::expand (  )  [protected]


Member Data Documentation

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.


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