16 #ifndef ROO_HASH_TABLE 17 #define ROO_HASH_TABLE
virtual ULong_t Hash() const
Return hash value for this object.
Double_t avgCollisions() const
Calculate the average number of collisions (table slots with >1 filled entry)
RooHashTable(Int_t initSize=17, HashMethod hashMethod=Name)
Construct a hash table with given capacity and hash method.
Bool_t replace(const TObject *oldArg, const TObject *newArg, const TObject *oldHashArg=0)
Replace oldArg with newArg in the table.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
RooLinkedListElem * findLinkTo(const TObject *arg) const
Return RooLinkedList element link to object 'hashArg'.
#define ClassDef(name, id)
RooHashTable implements a hash table for TObjects.
void add(TObject *arg, TObject *hashArg=0)
Add given object to table.
RooSetPair * findSetPair(const RooArgSet *set1, const RooArgSet *set2) const
Return RooSetPair with given pointers in table.
TObject * find(const char *name) const
Return the object with given name from the table.
virtual ~RooHashTable()
Destructor.
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
Mother of all ROOT objects.
ULong_t hash(const TObject *arg) const
RooLinkedListElem is an link element for the RooLinkedList class.
RooAbsArg * findArg(const RooAbsArg *arg) const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooSetPair is a utility class that stores a pair of RooArgSets.
virtual const char * GetName() const
Returns name of object.