5#ifndef SiGNNTrackFinder_H
6#define SiGNNTrackFinder_H
19#include <onnxruntime_cxx_api.h>
49 const std::vector<const Trk::SpacePoint*>& spacepoints,
50 std::vector<std::vector<uint32_t> >& tracks,
51 std::unordered_map<
int, std::unordered_map<int, float>>* edgeMap =
nullptr)
const override;
56 virtual MsgStream&
dump(MsgStream& out)
const override;
57 virtual std::ostream&
dump(std::ostream& out)
const override;
68 FloatProperty
m_rVal{
this,
"rVal", 0.12};
69 UnsignedIntegerProperty
m_knnVal{
this,
"knnVal", 1000};
71 FloatProperty
m_ccCut{
this,
"ccCut", 0.01};
76 this,
"EmbeddingFeatureNames",
77 "r, phi, z, cluster_x_1, cluster_y_1, cluster_z_1, cluster_x_2, cluster_y_2, cluster_z_2, count_1, charge_count_1, loc_eta_1, loc_phi_1, localDir0_1, localDir1_1, localDir2_1, lengthDir0_1, lengthDir1_1, lengthDir2_1, glob_eta_1, glob_phi_1, eta_angle_1, phi_angle_1, count_2, charge_count_2, loc_eta_2, loc_phi_2, localDir0_2, localDir1_2, localDir2_2, lengthDir0_2, lengthDir1_2, lengthDir2_2, glob_eta_2, glob_phi_2, eta_angle_2, phi_angle_2",
78 "Feature names for the Embedding model"};
80 this,
"EmbeddingFeatureScales",
81 "1000, 3.14, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1, 1, 3.14, 3.14, 1, 1, 1, 1, 1, 1, 3.14, 3.14, 3.14, 3.14, 1, 1, 3.14, 3.14, 1, 1, 1, 1, 1, 1, 3.14, 3.14, 3.14, 3.14",
82 "Feature scales for the Embedding model"};
85 this,
"FilterFeatureNames",
86 "r, phi, z, cluster_x_1, cluster_y_1, cluster_z_1, cluster_x_2, cluster_y_2, cluster_z_2, count_1, charge_count_1, loc_eta_1, loc_phi_1, localDir0_1, localDir1_1, localDir2_1, lengthDir0_1, lengthDir1_1, lengthDir2_1, glob_eta_1, glob_phi_1, eta_angle_1, phi_angle_1, count_2, charge_count_2, loc_eta_2, loc_phi_2, localDir0_2, localDir1_2, localDir2_2, lengthDir0_2, lengthDir1_2, lengthDir2_2, glob_eta_2, glob_phi_2, eta_angle_2, phi_angle_2",
87 "Feature names for the Filtering model"};
89 this,
"FilterFeatureScales",
90 "1000, 3.14, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1, 1, 3.14, 3.14, 1, 1, 1, 1, 1, 1, 3.14, 3.14, 3.14, 3.14, 1, 1, 3.14, 3.14, 1, 1, 1, 1, 1, 1, 3.14, 3.14, 3.14, 3.14",
91 "Feature scales for the Filtering model"};
94 this,
"GNNFeatureNames",
95 "r, phi, z, eta, cluster_r_1, cluster_phi_1, cluster_z_1, cluster_eta_1, cluster_r_2, cluster_phi_2, cluster_z_2, cluster_eta_2",
96 "Feature names for the GNN model"};
98 this,
"GNNFeatureScales",
99 "1000.0, 3.14159265359, 1000.0, 1.0, 1000.0, 3.14159265359, 1000.0, 1.0, 1000.0, 3.14159265359, 1000.0, 1.0",
100 "Feature scales for the GNN model"};
103 MsgStream&
dumpevent (MsgStream& out)
const;
107 this,
"Embedding",
"AthOnnx::OnnxRuntimeInferenceTool"
110 this,
"Filtering",
"AthOnnx::OnnxRuntimeInferenceTool"
113 this,
"GNN",
"AthOnnx::OnnxRuntimeInferenceTool"
116 this,
"SpacepointFeatureTool",
"InDet::SpacepointFeatureTool"};
MsgStream & operator<<(MsgStream &, const GNNTrackFinderTritonTool &)