ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Attributes | List of all members
RooAICRegistry Class Reference

Definition at line 27 of file RooAICRegistry.h.

Public Member Functions

 RooAICRegistry (UInt_t size=10)
 
 RooAICRegistry (const RooAICRegistry &other)
 Copy constructor. More...
 
virtual ~RooAICRegistry ()
 Destructor. More...
 
Int_t store (const std::vector< Int_t > &codeList, 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). More...
 
const std::vector< Int_t > & retrieve (Int_t masterCode) const
 Retrieve the array of integer codes associated with the given master code. More...
 
const std::vector< 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. More...
 
const std::vector< 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. More...
 
const std::vector< 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. More...
 

Protected Attributes

std::vector< std::vector< Int_t > > _clArr
 
std::vector< pRooArgSet_asArr1
 Array of array of code lists. More...
 
std::vector< pRooArgSet_asArr2
 Array of 1st RooArgSet pointers. More...
 
std::vector< pRooArgSet_asArr3
 Array of 2nd RooArgSet pointers. More...
 
std::vector< pRooArgSet_asArr4
 Array of 3rd RooArgSet pointers. More...
 

#include <RooAICRegistry.h>

+ Collaboration diagram for RooAICRegistry:

Constructor & Destructor Documentation

RooAICRegistry::RooAICRegistry ( UInt_t  size = 10)

Definition at line 43 of file RooAICRegistry.cxx.

RooAICRegistry::RooAICRegistry ( const RooAICRegistry other)

Copy constructor.

Definition at line 56 of file RooAICRegistry.cxx.

RooAICRegistry::~RooAICRegistry ( )
virtual

Destructor.

Definition at line 79 of file RooAICRegistry.cxx.

Member Function Documentation

const std::vector< Int_t > & RooAICRegistry::retrieve ( Int_t  masterCode) const

Retrieve the array of integer codes associated with the given master code.

Definition at line 153 of file RooAICRegistry.cxx.

Referenced by RooAddPdf::analyticalIntegralWN(), RooAbsCachedPdf::analyticalIntegralWN(), RooAbsAnaConvPdf::analyticalIntegralWN(), RooProdPdf::generateEvent(), and RooProdPdf::initGenerator().

const std::vector< Int_t > & RooAICRegistry::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.

Definition at line 162 of file RooAICRegistry.cxx.

const std::vector< Int_t > & RooAICRegistry::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.

Definition at line 174 of file RooAICRegistry.cxx.

const std::vector< Int_t > & RooAICRegistry::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.

Definition at line 187 of file RooAICRegistry.cxx.

Int_t RooAICRegistry::store ( const std::vector< Int_t > &  codeList,
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 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.

Definition at line 100 of file RooAICRegistry.cxx.

Referenced by RooAddPdf::getAnalyticalIntegralWN(), RooAbsCachedPdf::getAnalyticalIntegralWN(), RooAbsAnaConvPdf::getAnalyticalIntegralWN(), and RooProdPdf::getGenerator().

Member Data Documentation

std::vector<pRooArgSet> RooAICRegistry::_asArr1
protected

Array of array of code lists.

Definition at line 45 of file RooAICRegistry.h.

Referenced by retrieve(), RooAICRegistry(), store(), and ~RooAICRegistry().

std::vector<pRooArgSet> RooAICRegistry::_asArr2
protected

Array of 1st RooArgSet pointers.

Definition at line 46 of file RooAICRegistry.h.

Referenced by RooAICRegistry(), store(), and ~RooAICRegistry().

std::vector<pRooArgSet> RooAICRegistry::_asArr3
protected

Array of 2nd RooArgSet pointers.

Definition at line 47 of file RooAICRegistry.h.

Referenced by RooAICRegistry(), store(), and ~RooAICRegistry().

std::vector<pRooArgSet> RooAICRegistry::_asArr4
protected

Array of 3rd RooArgSet pointers.

Definition at line 48 of file RooAICRegistry.h.

Referenced by RooAICRegistry(), store(), and ~RooAICRegistry().

std::vector<std::vector<Int_t> > RooAICRegistry::_clArr
protected

Definition at line 44 of file RooAICRegistry.h.

Referenced by retrieve(), RooAICRegistry(), store(), and ~RooAICRegistry().


The documentation for this class was generated from the following files: