16 #ifndef ROO_HASH_TABLE
17 #define ROO_HASH_TABLE
Double_t avgCollisions() const
Calculate the average number of collisions (table slots with >1 filled entry)
virtual ULong_t Hash() const
Return hash value for this object.
TObject * find(const char *name) const
Return the object with given name from the table.
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.
#define ClassDef(name, id)
void add(TObject *arg, TObject *hashArg=0)
Add given object to table.
virtual ~RooHashTable()
Destructor.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
RooAbsArg * findArg(const RooAbsArg *arg) const
RooSetPair * findSetPair(const RooArgSet *set1, const RooArgSet *set2) const
Return RooSetPair with given pointers in table.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooLinkedListElem * findLinkTo(const TObject *arg) const
Return RooLinkedList element link to object 'hashArg'.
ULong_t hash(const TObject *arg) const
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.