5#ifndef ActsGnnModuleMapFinderTool_H
6#define ActsGnnModuleMapFinderTool_H
18#include "Acts/Utilities/Logger.hpp"
19#include "ActsPlugins/Gnn/GnnPipeline.hpp"
35 using extends::extends;
40 const std::vector<const Trk::SpacePoint*>& spacepoints,
41 std::vector<std::vector<uint32_t>>& tracks,
42 std::unordered_map<
int, std::unordered_map<int, float>>* edgeMap =
nullptr)
const override;
44 virtual MsgStream&
dump(MsgStream& out)
const override;
45 virtual std::ostream&
dump(std::ostream& out)
const override;
51 static constexpr std::array<const char*, NUM_FEATURES>
FEATURE_NAMES = {{
52 "r",
"phi",
"z",
"eta",
53 "cluster_r_1",
"cluster_phi_1",
"cluster_z_1",
"cluster_eta_1",
54 "cluster_r_2",
"cluster_phi_2",
"cluster_z_2",
"cluster_eta_2"
69 StringProperty
m_moduleMapPath{
this,
"moduleMapPath",
"",
"Path to module map ROOT files"};
70 StringProperty
m_gnnPath{
this,
"gnnPath",
"",
"Path to GNN model (.onnx, .pt, or .engine)"};
71 FloatProperty
m_edgeCut{
this,
"edgeCut", 0.5,
"Edge classification cut"};
72 UnsignedIntegerProperty
m_numTrtContexts{
this,
"numTrtContexts", 1,
"Number of TensorRT execution contexts (controls concurrency)"};
77 this,
"SpacepointFeatureTool",
"InDet::SpacepointFeatureTool"};