ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
InDetPVNNSelection
InDetPVNNSelection
PVNNTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PVNN_TOOL_H
6
#define PVNN_TOOL_H
7
8
// Tool includes
9
#include "
AsgTools/AsgTool.h
"
10
#include "
IVertexDecorator.h
"
11
12
// EDM includes
13
#include "
xAODTracking/VertexFwd.h
"
14
#include "
InDetPVNNSelection/PVNN.h
"
15
16
#include <memory>
17
#include <string>
18
#include <map>
19
32
33
namespace
InDetPVNNSelection
{
34
35
class
PVNNTool
:
public
asg::AsgTool
,
36
virtual
public
IVertexDecorator
37
{
38
39
ASG_TOOL_CLASS
(
PVNNTool
,
IVertexDecorator
)
40
41
public
:
42
PVNNTool
(
const
std::string& name);
43
~PVNNTool
();
44
45
StatusCode
initialize
()
override
;
46
47
virtual
float
decorate
(
const
xAOD::Vertex
& vertex)
const override
;
48
49
private
:
50
Gaudi::Property<std::string>
m_nn_file
{
51
this
,
52
"nnFile"
,
53
"InDetGNNHardScatterSelection/v0/HSGN2_export_090824.onnx"
,
54
"the path to the netowrk file used to run inference"
55
};
56
57
std::unique_ptr<const PVNN>
m_pvnn
;
58
};
59
}
60
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IVertexDecorator.h
PVNN.h
VertexFwd.h
IVertexDecorator
Definition
IVertexDecorator.h:13
InDetPVNNSelection::PVNNTool::initialize
StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
PVNNTool.cxx:15
InDetPVNNSelection::PVNNTool::m_nn_file
Gaudi::Property< std::string > m_nn_file
Definition
PVNNTool.h:50
InDetPVNNSelection::PVNNTool::PVNNTool
PVNNTool(const std::string &name)
Definition
PVNNTool.cxx:10
InDetPVNNSelection::PVNNTool::decorate
virtual float decorate(const xAOD::Vertex &vertex) const override
Method to decorate a vertex.
Definition
PVNNTool.cxx:24
InDetPVNNSelection::PVNNTool::m_pvnn
std::unique_ptr< const PVNN > m_pvnn
Definition
PVNNTool.h:57
InDetPVNNSelection::PVNNTool::~PVNNTool
~PVNNTool()
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
InDetPVNNSelection
Definition
InnerDetector/InDetRecTools/InDetPVNNSelection/InDetPVNNSelection/ConstituentsLoader.h:22
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
Generated on
for ATLAS Offline Software by
1.17.0