ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
FlavorTagInference
FlavorTagInference
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
8
#include "
FlavorTagInference/INNSharingSvc.h
"
9
#include "
FlavorTagInference/GNN.h
"
10
#include "
FlavorTagInference/GNNOptions.h
"
11
#include "
AsgServices/AsgService.h
"
12
#include "
AsgTools/PropertyWrapper.h
"
13
14
#include <memory>
15
16
namespace
FlavorTagInference
{
17
20
class
PassThroughModelSvc
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
AsgService.h
GNNOptions.h
INNSharingSvc.h
GNN.h
PropertyWrapper.h
FlavorTagInference::PassThroughModelSvc
Service that creates GNN objects wrapping a PassThroughSaltModel.
Definition
PassThroughModelSvc.h:22
FlavorTagInference::PassThroughModelSvc::m_jsonFile
Gaudi::Property< std::string > m_jsonFile
Definition
PassThroughModelSvc.h:33
FlavorTagInference::PassThroughModelSvc::initialize
virtual StatusCode initialize() override
Definition
PassThroughModelSvc.cxx:16
FlavorTagInference::PassThroughModelSvc::m_variableRemapping
Gaudi::Property< std::map< std::string, std::string > > m_variableRemapping
Definition
PassThroughModelSvc.h:37
FlavorTagInference::PassThroughModelSvc::get
virtual std::shared_ptr< const GNN > get(const std::string &nn_name, const GNNOptions &opts) override
Definition
PassThroughModelSvc.cxx:64
FlavorTagInference::PassThroughModelSvc::m_gnn
std::shared_ptr< const GNN > m_gnn
Definition
PassThroughModelSvc.h:42
FlavorTagInference
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition
CaloClusterLoader.h:27
FlavorTagInference::GNNOptions
Definition
GNNOptions.h:15
Generated on
for ATLAS Offline Software by
1.17.0