ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkJetEtMiss
src
TVAAugmentationTool.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_TVAAUGMENTATIONTOOL_H
6
#define DERIVATIONFRAMEWORK_TVAAUGMENTATIONTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
10
#include "
AsgTools/ToolHandle.h
"
11
#include "
TrackVertexAssociationTool/ITrackVertexAssociationTool.h
"
12
#include "AthLinks/ElementLink.h"
13
#include "
xAODTracking/TrackParticleContainer.h
"
14
#include "
xAODTracking/VertexContainer.h
"
15
#include <memory>
16
17
namespace
DerivationFramework
{
18
class
TVAAugmentationTool
:
public
extends<AthAlgTool, IAugmentationTool>
19
{
20
public
:
21
22
using
base_class::base_class;
23
24
virtual
StatusCode
initialize
()
override
final
;
25
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
26
private
:
27
// Properties
28
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trackName
{
this
,
"TrackName"
,
"InDetTrackParticles"
};
29
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexName
{
this
,
"VertexName"
,
"PrimaryVertices"
};
30
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_vtxDec_key
{
this
,
"LinkName"
,
m_trackName
,
""
,
"Decoration for associated vertex"
};
31
PublicToolHandle<CP::ITrackVertexAssociationTool>
m_tool
{
this
,
"TVATool"
,
""
};
32
// Internals
33
using
vtxLink_t
=
ElementLink<xAOD::VertexContainer>
;
34
35
};
//> end class TVAAugmentationTool
36
}
//> end namespace DerivationFramework
37
38
#endif
//> !DERIVATIONFRAMEWORK_TVAAUGMENTATIONTOOL_H
AthAlgTool.h
TrackParticleContainer.h
IAugmentationTool.h
ITrackVertexAssociationTool.h
ToolHandle.h
VertexContainer.h
DerivationFramework::TVAAugmentationTool
Definition
TVAAugmentationTool.h:19
DerivationFramework::TVAAugmentationTool::m_vtxDec_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_vtxDec_key
Definition
TVAAugmentationTool.h:30
DerivationFramework::TVAAugmentationTool::m_trackName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackName
Definition
TVAAugmentationTool.h:28
DerivationFramework::TVAAugmentationTool::initialize
virtual StatusCode initialize() override final
Definition
TVAAugmentationTool.cxx:10
DerivationFramework::TVAAugmentationTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
TVAAugmentationTool.cxx:21
DerivationFramework::TVAAugmentationTool::m_tool
PublicToolHandle< CP::ITrackVertexAssociationTool > m_tool
Definition
TVAAugmentationTool.h:31
DerivationFramework::TVAAugmentationTool::m_vertexName
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexName
Definition
TVAAugmentationTool.h:29
DerivationFramework::TVAAugmentationTool::vtxLink_t
ElementLink< xAOD::VertexContainer > vtxLink_t
Definition
TVAAugmentationTool.h:33
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0