library: libRooFit #include "RooNormSetCache.h"

# RooNormSetCache

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

## class RooNormSetCache

| Inheritance Chart:

`RooNormSetCache`

        protected:

          void expand()
          void initialize(const RooNormSetCache& other)

        public:

                            RooNormSetCache(Int_t regSize = 10)
                            RooNormSetCache(const RooNormSetCache& other)
                    virtual ~RooNormSetCache()
                       void add(const RooArgSet* set1, const RooArgSet* set2 = 0)
                     Bool_t autoCache(const RooAbsArg* self, const RooArgSet* set1, const RooArgSet* set2 = 0, const TNamed* set2RangeName = 0, Bool_t autoRefill = kTRUE)
             static TClass* Class()
                       void clear()
                     Bool_t contains(const RooArgSet* set1, const RooArgSet* set2 = 0, const TNamed* set2RangeName = 0)
                     Bool_t containsSet1(const RooArgSet* set1)
                      Int_t entries() const
                      Int_t index(const RooArgSet* set1, const RooArgSet* set2 = 0, const TNamed* set2RangeName = 0)
            virtual TClass* IsA() const
           const RooArgSet* lastSet1() const
           const RooArgSet* lastSet2() const
          const RooNameSet& nameSet1() const
          const RooNameSet& nameSet2() const
           RooNormSetCache& operator=(const RooNormSetCache&)
               virtual void ShowMembers(TMemberInspector& insp, char* parent)
               virtual void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          RooHashTable* _htable         ! do not persist
                  Int_t _regSize
                  Int_t _nreg
            RooSetPair* _asArr          ! do not persist
             RooNameSet _name1          !
             RooNameSet _name2          !
                TNamed* _set2RangeName  !

## Class Description

RooNormSetCache(Int_t regSize) : _htable(0), _regSize(regSize), _nreg(0), _asArr(0), _set2RangeName(0)

RooNormSetCache(const RooNormSetCache& other) : _htable(0), _regSize(other._regSize), _nreg(0), _asArr(0), _set2RangeName(0)

~RooNormSetCache()

void clear()

void initialize(const RooNormSetCache& other)

void add(const RooArgSet* set1, const RooArgSet* set2)

     If code list array has never been used, allocate and initialize here

void expand()

Bool_t autoCache(const RooAbsArg* self, const RooArgSet* set1, const RooArgSet* set2, const TNamed* set2RangeName, Bool_t doRefill)

     Automated cache management function - Returns kTRUE if cache is invalidated

### Inline Functions

                        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
                        Int_t entries() const
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
             RooNormSetCache& operator=(const RooNormSetCache&)

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