Analysis Software
Documentation for sPHENIX simulation software
|
Class representing a symmetric distance matrix. More...
#include <acts/blob/sPHENIX/Core/include/Acts/TrackFitting/detail/SymmetricKlDistanceMatrix.hpp>
Public Member Functions | |
template<typename component_t , typename projector_t > | |
SymmetricKLDistanceMatrix (const std::vector< component_t > &cmps, const projector_t &proj) | |
auto | at (std::size_t i, std::size_t j) const |
template<typename component_t , typename projector_t > | |
void | recomputeAssociatedDistances (std::size_t n, const std::vector< component_t > &cmps, const projector_t &proj) |
void | maskAssociatedDistances (std::size_t n) |
auto | minDistancePair () const |
Private Types | |
using | Array = Eigen::Array< Acts::ActsScalar, Eigen::Dynamic, 1 > |
using | Mask = Eigen::Array< bool, Eigen::Dynamic, 1 > |
Private Member Functions | |
template<typename array_t , typename setter_t > | |
void | setAssociated (std::size_t n, array_t &array, setter_t &&setter) |
Private Attributes | |
Array | m_distances |
Mask | m_mask |
std::vector< std::pair < std::size_t, std::size_t > > | m_mapToPair |
std::size_t | m_numberComponents |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SymmetricKLDistanceMatrix &m) |
Class representing a symmetric distance matrix.
Definition at line 68 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 68 of file SymmetricKlDistanceMatrix.hpp
|
private |
Definition at line 69 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 69 of file SymmetricKlDistanceMatrix.hpp
|
private |
Definition at line 70 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 70 of file SymmetricKlDistanceMatrix.hpp
|
inline |
Definition at line 94 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 94 of file SymmetricKlDistanceMatrix.hpp
References Acts::detail::computeSymmetricKlDivergence(), i, j, m_distances, m_mapToPair, and m_numberComponents.
|
inline |
Definition at line 110 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 110 of file SymmetricKlDistanceMatrix.hpp
References m_distances.
|
inline |
Definition at line 125 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 125 of file SymmetricKlDistanceMatrix.hpp
References m_mask, and setAssociated().
Referenced by reduceWithKLDistanceImpl().
|
inline |
Definition at line 129 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 129 of file SymmetricKlDistanceMatrix.hpp
References i, ambiguity_solver_full_chain::idx, m_distances, m_mapToPair, m_mask, and Acts::UnitConstants::min.
Referenced by reduceWithKLDistanceImpl().
|
inline |
Definition at line 115 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 115 of file SymmetricKlDistanceMatrix.hpp
References assert, Acts::detail::computeSymmetricKlDivergence(), i, j, m_distances, m_numberComponents, and setAssociated().
Referenced by reduceWithKLDistanceImpl().
|
inlineprivate |
Definition at line 78 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 78 of file SymmetricKlDistanceMatrix.hpp
References i, m_numberComponents, and n.
Referenced by maskAssociatedDistances(), and recomputeAssociatedDistances().
|
friend |
Definition at line 144 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 144 of file SymmetricKlDistanceMatrix.hpp
|
private |
Definition at line 72 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 72 of file SymmetricKlDistanceMatrix.hpp
Referenced by at(), minDistancePair(), recomputeAssociatedDistances(), and SymmetricKLDistanceMatrix().
|
private |
Definition at line 74 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 74 of file SymmetricKlDistanceMatrix.hpp
Referenced by minDistancePair(), and SymmetricKLDistanceMatrix().
|
private |
Definition at line 73 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 73 of file SymmetricKlDistanceMatrix.hpp
Referenced by maskAssociatedDistances(), and minDistancePair().
|
private |
Definition at line 75 of file SymmetricKlDistanceMatrix.hpp.
View newest version in sPHENIX GitHub at line 75 of file SymmetricKlDistanceMatrix.hpp
Referenced by recomputeAssociatedDistances(), setAssociated(), and SymmetricKLDistanceMatrix().