ATLAS Offline Software
Loading...
Searching...
No Matches
PassThroughModelSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FLAVORTAGINFERENCE_PASSTHROUGHMODELSVC_H
6#define FLAVORTAGINFERENCE_PASSTHROUGHMODELSVC_H
7
13
14#include <memory>
15
16namespace FlavorTagInference {
17
21 : public extends<asg::AsgService, INNSharingSvc>
22 {
23 public:
24 using extends::extends;
25
26 virtual StatusCode initialize() override;
27
28 virtual std::shared_ptr<const GNN> get(
29 const std::string& nn_name,
30 const GNNOptions& opts) override;
31
32 private:
33 Gaudi::Property<std::string> m_jsonFile {
34 this, "JsonFile", "",
35 "Path to JSON config listing pass-through variables"};
36
37 Gaudi::Property<std::map<std::string, std::string>> m_variableRemapping {
38 this, "VariableRemapping", {},
39 "Map from default link names to actual names, e.g. "
40 "BTagTrackToJetAssociator -> GhostTrack"};
41
42 std::shared_ptr<const GNN> m_gnn;
43 };
44
45} // namespace FlavorTagInference
46
47#endif
Service that creates GNN objects wrapping a PassThroughSaltModel.
Gaudi::Property< std::string > m_jsonFile
Gaudi::Property< std::map< std::string, std::string > > m_variableRemapping
virtual std::shared_ptr< const GNN > get(const std::string &nn_name, const GNNOptions &opts) override
This file contains "getter" functions used for accessing tagger inputs from the EDM.