42 : _clArr(0), _asArr1(0), _asArr2(0), _asArr3(0), _asArr4(0)
55 : _clArr(other._clArr), _asArr1(other._clArr.
size(), 0), _asArr2(other._clArr.
size(), 0),
56 _asArr3(other._clArr.
size(), 0), _asArr4(other._clArr.
size(), 0)
80 for (
unsigned int i = 0; i <
_clArr.size(); ++i) {
107 match &=
_clArr[i] == codeList;
110 if (
_asArr1[i] && !set1) match=false ;
111 if (!
_asArr1[i] && set1) match=false ;
112 if (
_asArr2[i] && !set2) match=false ;
113 if (!
_asArr2[i] && set2) match=false ;
114 if (
_asArr3[i] && !set3) match=false ;
115 if (!
_asArr3[i] && set3) match=false ;
116 if (
_asArr4[i] && !set4) match=false ;
117 if (!
_asArr4[i] && set4) match=false ;
126 if (set1)
delete set1 ;
127 if (set2)
delete set2 ;
128 if (set3)
delete set3 ;
129 if (set4)
delete set4 ;
135 _clArr.push_back(codeList);
141 if (set1)
delete set1 ;
142 if (set2)
delete set2 ;
143 if (set3)
delete set3 ;
144 if (set4)
delete set4 ;
153 return _clArr[masterCode] ;
163 return _clArr[masterCode] ;
176 return _clArr[masterCode] ;
191 return _clArr[masterCode] ;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
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 2nd RooArgSet pointers
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...
std::vector< pRooArgSet > _asArr1
! Array of 1st RooArgSet pointers
std::vector< pRooArgSet > _asArr4
! Array of 4th RooArgSet pointers
std::vector< std::vector< Int_t > > _clArr
! Array of array of code lists
std::vector< pRooArgSet > _asArr3
! Array of 3rd RooArgSet pointers
bool equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically-named contents.
Storage_t::size_type size() const
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.