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 fn(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 fn(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 fn(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 Wed Oct 30 2024 15:42:55 for Rivet by 1.9.8 |