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] ;
177 set1 = _asArr1[masterCode] ;
178 set2 = _asArr2[masterCode] ;
179 return _clArr[masterCode] ;
190 set1 = _asArr1[masterCode] ;
191 set2 = _asArr2[masterCode] ;
192 set3 = _asArr3[masterCode] ;
193 set4 = _asArr4[masterCode] ;
194 return _clArr[masterCode] ;
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically named contents.
std::vector< std::vector< Int_t > > _clArr
std::vector< pRooArgSet > _asArr4
Array of 3rd RooArgSet pointers.
std::vector< pRooArgSet > _asArr3
Array of 2nd RooArgSet pointers.
std::vector< pRooArgSet > _asArr2
Array of 1st RooArgSet pointers.
virtual ~RooAICRegistry()
Destructor.
RooAICRegistry is a utility class for operator p.d.f classes that keeps track of analytical integrati...
const std::vector< Int_t > & retrieve(Int_t masterCode) const
Retrieve the array of integer codes associated with the given master code.
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...
RooAICRegistry(UInt_t size=10)
std::vector< pRooArgSet > _asArr1
Array of array of code lists.