11 GNNTool::GNNTool(
const std::string&
name):
16 "the path to the netowrk file used to run inference");
20 GNNTool::~GNNTool() {}
25 if (!m_nnsvc.empty()) {
27 m_gnn = m_nnsvc->get(m_nn_file,
opts);
29 ATH_MSG_INFO(
"Initialize bTagging Tool (GNN) from: " + m_nn_file);
30 m_gnn.reset(
new GNN(m_nn_file,
opts));
33 return StatusCode::SUCCESS;
37 m_gnn->decorate(btag);
43 m_gnn->decorateWithDefaults(
jet);
48 m_gnn->decorate(
jet, btag);
52 std::set<std::string> GNNTool::getDecoratorKeys()
const {
53 return m_gnn->getDecoratorKeys();
55 std::set<std::string> GNNTool::getAuxInputKeys()
const {
56 return m_gnn->getAuxInputKeys();
58 std::set<std::string> GNNTool::getConstituentAuxInputKeys()
const {
59 return m_gnn->getConstituentAuxInputKeys();