ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkExamples
src
AugmentationToolExample.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_AUGMENTATIONTOOLEXAMPLE_H
6
#define DERIVATIONFRAMEWORK_AUGMENTATIONTOOLEXAMPLE_H
7
8
#include <string>
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
12
#include "
xAODTracking/TrackParticleContainer.h
"
13
#include "
xAODTracking/VertexContainer.h
"
14
15
namespace
DerivationFramework
{
16
17
class
AugmentationToolExample
:
public
extends<AthAlgTool, IAugmentationTool> {
18
public
:
19
using
base_class::base_class;
20
virtual
StatusCode
initialize
()
override
final
;
21
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
22
23
private
:
24
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexContainerKey
{
this
,
"VertexContainer"
,
"PrimaryVertices"
,
""
};
25
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trackPartContainerKey
{
this
,
"TrackParticleContainer"
,
"InDetTrackParticles"
,
"Container to be decorated"
};
26
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_exampleDecorKey
{
this
,
"ExampleDecorKey"
,
m_trackPartContainerKey
,
"DFDecoratorExample"
,
"Decoration"
};
27
SG::WriteHandleKey<std::vector<float>
>
m_decisionKey
{
this
,
"DecisionKey"
,
"DFAugmentationExample"
,
"Write decision to SG for access by downstream algs"
};
28
};
29
}
30
31
#endif
// DERIVATIONFRAMEWORK_AUGMENTATIONTOOLEXAMPLE_H
AthAlgTool.h
TrackParticleContainer.h
IAugmentationTool.h
VertexContainer.h
DerivationFramework::AugmentationToolExample
Definition
AugmentationToolExample.h:17
DerivationFramework::AugmentationToolExample::m_trackPartContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackPartContainerKey
Definition
AugmentationToolExample.h:25
DerivationFramework::AugmentationToolExample::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
AugmentationToolExample.cxx:32
DerivationFramework::AugmentationToolExample::m_exampleDecorKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_exampleDecorKey
Definition
AugmentationToolExample.h:26
DerivationFramework::AugmentationToolExample::m_decisionKey
SG::WriteHandleKey< std::vector< float > > m_decisionKey
Definition
AugmentationToolExample.h:27
DerivationFramework::AugmentationToolExample::initialize
virtual StatusCode initialize() override final
Definition
AugmentationToolExample.cxx:23
DerivationFramework::AugmentationToolExample::m_vertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Definition
AugmentationToolExample.h:24
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0