44 : _clArr(0), _asArr1(0), _asArr2(0), _asArr3(0), _asArr4(0)
57 : _clArr(other._clArr), _asArr1(other._clArr.size(), 0), _asArr2(other._clArr.size(), 0),
58 _asArr3(other._clArr.size(), 0), _asArr4(other._clArr.size(), 0)
67 for(
UInt_t i = 0; i < size; ++i) {
82 for (
unsigned int i = 0; i <
_clArr.size(); ++i) {
109 match &=
_clArr[i] == codeList;
128 if (set1)
delete set1 ;
129 if (set2)
delete set2 ;
130 if (set3)
delete set3 ;
131 if (set4)
delete set4 ;
137 _clArr.push_back(codeList);
143 if (set1)
delete set1 ;
144 if (set2)
delete set2 ;
145 if (set3)
delete set3 ;
146 if (set4)
delete set4 ;
155 return _clArr[masterCode] ;
165 return _clArr[masterCode] ;
178 return _clArr[masterCode] ;
193 return _clArr[masterCode] ;
RooAICRegistry is a utility class for operator p.d.f classes that keeps track of analytical integrati...
virtual ~RooAICRegistry()
Destructor.
const std::vector< Int_t > & retrieve(Int_t masterCode) const
Retrieve the array of integer codes associated with the given master code.
RooAICRegistry(UInt_t size=10)
std::vector< pRooArgSet > _asArr2
Array of 1st RooArgSet pointers.
std::vector< pRooArgSet > _asArr1
Array of array of code lists.
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...
std::vector< pRooArgSet > _asArr4
Array of 3rd RooArgSet pointers.
std::vector< std::vector< Int_t > > _clArr
std::vector< pRooArgSet > _asArr3
Array of 2nd RooArgSet pointers.
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically-named contents.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.