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] ;
176 set1 = _asArr1[masterCode] ;
177 set2 = _asArr2[masterCode] ;
178 return _clArr[masterCode] ;
189 set1 = _asArr1[masterCode] ;
190 set2 = _asArr2[masterCode] ;
191 set3 = _asArr3[masterCode] ;
192 set4 = _asArr4[masterCode] ;
193 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.
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.