ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
InDetPVNNSelection
Root
PVNNTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
InDetPVNNSelection/PVNNTool.h
"
6
#include "
InDetPVNNSelection/PVNN.h
"
7
8
namespace
InDetPVNNSelection
{
9
10
PVNNTool::PVNNTool
(
const
std::string& name):
11
asg
::
AsgTool
(name) {}
12
13
PVNNTool::~PVNNTool
() =
default
;
14
15
StatusCode
PVNNTool::initialize
() {
16
17
ATH_MSG_INFO
(
"Initialize HS Tool (PVNN) from: "
+
m_nn_file
);
18
19
m_pvnn
= std::make_unique<const PVNN>(
m_nn_file
);
20
21
return
StatusCode::SUCCESS;
22
}
23
24
float
PVNNTool::decorate
(
const
xAOD::Vertex
& vertex)
const
{
25
return
m_pvnn
->decorate(vertex);
26
}
27
28
}
ATH_MSG_INFO
#define ATH_MSG_INFO(x,...)
Definition
AthMsgStreamMacros.h:45
PVNNTool.h
PVNN.h
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::AsgTool
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition
AsgTool.cxx:58
InDetPVNNSelection
Definition
InnerDetector/InDetRecTools/InDetPVNNSelection/InDetPVNNSelection/ConstituentsLoader.h:22
asg
Definition
DataHandleTestTool.h:28
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