library: libRooFit #include "RooHashTable.h"

# RooHashTable

class description - source file - inheritance tree (.pdf)

## class RooHashTable : public TObject

| Inheritance Chart:

`TObject`

<-

`RooHashTable`

        protected:

          ULong_t hash(const TObject* arg) const

        public:

                             RooHashTable(Int_t initSize = 17, RooHashTable::HashMethod hashMethod = Name)
                             RooHashTable(const RooHashTable& other)
                     virtual ~RooHashTable()
                        void add(TObject* arg, TObject* hashArg = 0)
                    Double_t avgCollisions() const
              static TClass* Class()
                    TObject* find(const char* name) const
                    TObject* find(const TObject* arg) const
          RooLinkedListElem* findLinkTo(const TObject* arg) const
                 RooSetPair* findSetPair(const RooArgSet* set1, const RooArgSet* set2) const
             virtual TClass* IsA() const
               RooHashTable& operator=(const RooHashTable&)
                      Bool_t remove(TObject* arg, TObject* hashArg = 0)
                      Bool_t replace(const TObject* oldArg, const TObject* newArg, const TObject* oldHashArg = 0)
                virtual void ShowMembers(TMemberInspector& insp, char* parent)
                       Int_t size() const
                virtual void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          RooHashTable::HashMethod _hashMethod
                             Int_t _usedSlots
                             Int_t _entries
                             Int_t _size
                   RooLinkedList** _arr         ! do not persist

        public:

          static const RooHashTable::HashMethod Pointer
          static const RooHashTable::HashMethod Name
          static const RooHashTable::HashMethod Intrinsic

## Class Description

RooHashTable(Int_t capacity, HashMethod hashMethod) : _hashMethod(hashMethod)

RooHashTable(const RooHashTable& other) : TObject(other), _hashMethod(other._hashMethod), _usedSlots(other._usedSlots), _entries(other._entries), _size(other._size)

void add(TObject* arg, TObject* hashArg)

Bool_t remove(TObject* arg, TObject* hashArg)

Double_t avgCollisions() const

Bool_t replace(const TObject* oldArg, const TObject* newArg, const TObject* oldHashArg)

TObject* find(const char* name) const

TObject* find(const TObject* hashArg) const

RooLinkedListElem* findLinkTo(const TObject* hashArg) const

RooSetPair* findSetPair(const RooArgSet* set1, const RooArgSet* set2) const

~RooHashTable()

### Inline Functions

                    Int_t size() const
                  ULong_t hash(const TObject* arg) const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
            RooHashTable& operator=(const RooHashTable&)

Last update: Tue Jun 28 18:12:59 2005
Copyright (c) 2000-2005, Regents of the University of California *