Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAICRegistry Class Reference

Utility class for operator p.d.f classes that keeps track of analytical integration codes and associated normalization and integration sets.

Definition at line 26 of file RooAICRegistry.h.

Public Member Functions

 RooAICRegistry (const RooAICRegistry &other)
 Copy constructor.
 
 RooAICRegistry (UInt_t size=10)
 
virtual ~RooAICRegistry ()
 Destructor.
 
virtual TClassIsA () const
 
const std::vector< Int_t > & retrieve (Int_t masterCode) const
 Retrieve the array of integer codes associated with the given master code.
 
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.
 
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.
 
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.
 
Int_t store (const std::vector< Int_t > &codeList, RooArgSet *set1=nullptr, RooArgSet *set2=nullptr, RooArgSet *set3=nullptr, RooArgSet *set4=nullptr)
 Store given arrays of integer codes, and up to four RooArgSets in the registry (each setX pointer may be null).
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

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

#include <RooAICRegistry.h>

Constructor & Destructor Documentation

◆ RooAICRegistry() [1/2]

RooAICRegistry::RooAICRegistry ( UInt_t  size = 10)

Definition at line 50 of file RooAICRegistry.cxx.

◆ RooAICRegistry() [2/2]

RooAICRegistry::RooAICRegistry ( const RooAICRegistry other)

Copy constructor.

Definition at line 63 of file RooAICRegistry.cxx.

◆ ~RooAICRegistry()

RooAICRegistry::~RooAICRegistry ( )
virtual

Destructor.

Definition at line 86 of file RooAICRegistry.cxx.

Member Function Documentation

◆ Class()

static TClass * RooAICRegistry::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooAICRegistry::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooAICRegistry::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 49 of file RooAICRegistry.h.

◆ DeclFileName()

static const char * RooAICRegistry::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 49 of file RooAICRegistry.h.

◆ IsA()

virtual TClass * RooAICRegistry::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 49 of file RooAICRegistry.h.

◆ retrieve() [1/4]

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 160 of file RooAICRegistry.cxx.

◆ retrieve() [2/4]

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 169 of file RooAICRegistry.cxx.

◆ retrieve() [3/4]

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 180 of file RooAICRegistry.cxx.

◆ retrieve() [4/4]

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 193 of file RooAICRegistry.cxx.

◆ store()

Int_t RooAICRegistry::store ( const std::vector< Int_t > &  codeList,
RooArgSet set1 = nullptr,
RooArgSet set2 = nullptr,
RooArgSet set3 = nullptr,
RooArgSet set4 = nullptr 
)

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 107 of file RooAICRegistry.cxx.

◆ Streamer()

virtual void RooAICRegistry::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooAICRegistry::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 49 of file RooAICRegistry.h.

Member Data Documentation

◆ _asArr1

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

! Array of 1st RooArgSet pointers

Definition at line 44 of file RooAICRegistry.h.

◆ _asArr2

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

! Array of 2nd RooArgSet pointers

Definition at line 45 of file RooAICRegistry.h.

◆ _asArr3

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

! Array of 3rd RooArgSet pointers

Definition at line 46 of file RooAICRegistry.h.

◆ _asArr4

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

! Array of 4th RooArgSet pointers

Definition at line 47 of file RooAICRegistry.h.

◆ _clArr

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

! Array of array of code lists

Definition at line 43 of file RooAICRegistry.h.

Libraries for RooAICRegistry:

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