45 : _clArr(0), _asArr1(0), _asArr2(0), _asArr3(0), _asArr4(0)
58 : _clArr(other._clArr), _asArr1(other._clArr.size(), 0), _asArr2(other._clArr.size(), 0),
59 _asArr3(other._clArr.size(), 0), _asArr4(other._clArr.size(), 0)
68 for(
UInt_t i = 0; i < size; ++i) {
83 for (
unsigned int i = 0; i <
_clArr.size(); ++i) {
110 match &=
_clArr[i] == codeList;
129 if (set1)
delete set1 ;
130 if (set2)
delete set2 ;
131 if (set3)
delete set3 ;
132 if (set4)
delete set4 ;
138 _clArr.push_back(codeList);
144 if (set1)
delete set1 ;
145 if (set2)
delete set2 ;
146 if (set3)
delete set3 ;
147 if (set4)
delete set4 ;
156 return _clArr[masterCode] ;
166 return _clArr[masterCode] ;
179 return _clArr[masterCode] ;
194 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.