54 : _clArr(0), _asArr1(0), _asArr2(0), _asArr3(0), _asArr4(0)
67 : _clArr(other._clArr), _asArr1(other._clArr.
size(), nullptr), _asArr2(other._clArr.
size(), nullptr),
68 _asArr3(other._clArr.
size(), nullptr), _asArr4(other._clArr.
size(), nullptr)
92 for (
unsigned int i = 0; i <
_clArr.size(); ++i) {
119 match &=
_clArr[i] == codeList;
122 if (
_asArr1[i] && !set1) match=false ;
123 if (!
_asArr1[i] && set1) match=false ;
124 if (
_asArr2[i] && !set2) match=false ;
125 if (!
_asArr2[i] && set2) match=false ;
126 if (
_asArr3[i] && !set3) match=false ;
127 if (!
_asArr3[i] && set3) match=false ;
128 if (
_asArr4[i] && !set4) match=false ;
129 if (!
_asArr4[i] && set4) match=false ;
138 if (set1)
delete set1 ;
139 if (set2)
delete set2 ;
140 if (set3)
delete set3 ;
141 if (set4)
delete set4 ;
147 _clArr.push_back(codeList);
148 _asArr1.emplace_back(makeSnapshot(set1));
149 _asArr2.emplace_back(makeSnapshot(set2));
150 _asArr3.emplace_back(makeSnapshot(set3));
151 _asArr4.emplace_back(makeSnapshot(set4));
153 if (set1)
delete set1 ;
154 if (set2)
delete set2 ;
155 if (set3)
delete set3 ;
156 if (set4)
delete set4 ;
165 return _clArr[masterCode] ;
175 return _clArr[masterCode] ;
188 return _clArr[masterCode] ;
203 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.