ParticleBase container-combinatorics utils
Detailed DescriptionFunction Documentation◆ closestMassIndex() [1/3]
template<typename CONTAINER , typename T , typename = isCIterable<CONTAINER>>
Return the index from a vector which best matches mass(c[i], x) to the target value. A specialisation of closestMatchIndex from Utils.hh, with the function bound to Kin::mass as a common use-case. ◆ closestMassIndex() [2/3]
template<typename CONTAINER , typename = isCIterable<CONTAINER>>
Return the index from a vector which best matches mass(c[i]) to the target value. A specialisation of closestMatchIndex from Utils.hh, with the function bound to Kin::mass as a common use-case. References Rivet::closestMatchIndex(). ◆ closestMassIndex() [3/3]
template<typename CONTAINER , typename T , typename = isCIterable<CONTAINER>>
Return the index from a vector which best matches mass(x, c[j]) to the target value. A specialisation of closestMatchIndex from Utils.hh, with the function bound to Kin::mass as a common use-case. References Rivet::closestMatchIndex(). ◆ closestMassIndices()
template<typename CONTAINER1 , typename CONTAINER2 , typename = isCIterable<CONTAINER1, CONTAINER2>>
Return the indices from two vectors which best match mass(c1[i], c2[j]) to the target value. A specialisation of closestMatchIndex from Utils.hh, with the function bound to Kin::mass as a common use-case. References Rivet::closestMatchIndices(). Generated on Fri Mar 7 2025 10:12:18 for Rivet by |