|
ACTS
Experiment-independent tracking
|
Onnx model implementation for track scoring and selection. More...
#include </home/runner/work/acts/acts/Plugins/Onnx/include/ActsPlugins/Onnx/AmbiguityTrackClassifier.hpp>
Public Member Functions | |
| AmbiguityTrackClassifier (const char *modelPath) | |
| Construct the ambiguity scoring algorithm. | |
| template<Acts::TrackContainerFrontend track_container_t> | |
| std::vector< std::vector< float > > | inferScores (std::unordered_map< std::size_t, std::vector< std::size_t > > &clusters, const track_container_t &tracks) const |
| Compute a score for each track to be used in the track selection. | |
| std::vector< std::size_t > | trackSelection (std::unordered_map< std::size_t, std::vector< std::size_t > > &clusters, std::vector< std::vector< float > > &outputTensor) const |
| Select the track associated with each cluster based on the score vector. | |
Onnx model implementation for track scoring and selection.
| ActsPlugins::AmbiguityTrackClassifier::AmbiguityTrackClassifier | ( | const char * | modelPath | ) |
Construct the ambiguity scoring algorithm.
| modelPath | path to the model file |
| std::vector< std::vector< float > > ActsPlugins::AmbiguityTrackClassifier::inferScores | ( | std::unordered_map< std::size_t, std::vector< std::size_t > > & | clusters, |
| const track_container_t & | tracks ) const |
Compute a score for each track to be used in the track selection.
| clusters | is a map of clusters, each cluster correspond to a vector of track ID |
| tracks | is the input track container |
| std::vector< std::size_t > ActsPlugins::AmbiguityTrackClassifier::trackSelection | ( | std::unordered_map< std::size_t, std::vector< std::size_t > > & | clusters, |
| std::vector< std::vector< float > > & | outputTensor ) const |
Select the track associated with each cluster based on the score vector.
| clusters | is a map of clusters, each cluster correspond to a vector of track ID |
| outputTensor | is the score vector obtained from inferScores. |