ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooAICRegistry

class RooAICRegistry



RooAICRegistry is a utility class for operator p.d.f classes that keeps track of analytical integration codes and associated normalization and integration sets.

Function Members (Methods)

public:
RooAICRegistry(Int_t regSize = 10)
RooAICRegistry(const RooAICRegistry& other)
virtual~RooAICRegistry()
static TClass*Class()
virtual TClass*IsA() const
RooAICRegistry&operator=(const RooAICRegistry&)
const Int_t*retrieve(Int_t masterCode) const
const Int_t*retrieve(Int_t masterCode, pRooArgSet& set1) const
const Int_t*retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2) const
const Int_t*retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2, pRooArgSet& set3, pRooArgSet& set4) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
Int_tstore(Int_t* codeList, Int_t size, RooArgSet* set1 = 0, RooArgSet* set2 = 0, RooArgSet* set3 = 0, RooArgSet* set4 = 0)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
pRooArgSet*_asArr1! Array of 1st RooArgSet pointers
pRooArgSet*_asArr2! Array of 2nd RooArgSet pointers
pRooArgSet*_asArr3! Array of 3rd RooArgSet pointers
pRooArgSet*_asArr4! Array of 4th RooArgSet pointers
int**_clArr! Array of array of code lists
Int_t*_clSize! Array is size of code lists
Int_t_regSizeSize of registry

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooAICRegistry(Int_t regSize)
 Constructor
RooAICRegistry(const RooAICRegistry& other)
 Copy constructor
~RooAICRegistry()
 Destructor
Int_t store(Int_t* codeList, Int_t size, RooArgSet* set1 = 0, RooArgSet* set2 = 0, RooArgSet* set3 = 0, RooArgSet* set4 = 0)
 Store given arrays of integer codes, and up to four RooArgSets in
 the registry (each setX pointer may be null). The size of the
 arrays should be passed by the 'size' argument. The registry
 clones all RooArgSets internally so the RooArgSets passed as
 arguments do not need to live beyond the store() call. The return
 value is a unique master code for the given configuration of
 integers and RooArgSets. If an identical combination is
 previously stored in the registry no objects are stored and the
 unique code of the existing entry is returned.
const Int_t* retrieve(Int_t masterCode) const
 Retrieve the array of integer codes associated with the given master code
const Int_t* retrieve(Int_t masterCode, pRooArgSet& set1) const
 Retrieve the array of integer codes associated with the given master code
 and set the passed set1 pointer to the first RooArgSet associated with this master code
const Int_t* retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2) const
 Retrieve the array of integer codes associated with the given master code
 and set the passed set1,set2 pointers to the first and second  RooArgSets associated with this
 master code respectively
const Int_t* retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2, pRooArgSet& set3, pRooArgSet& set4) const
 Retrieve the array of integer codes associated with the given master code
 and set the passed set1-4 pointers to the four  RooArgSets associated with this
 master code respectively