ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
TrackParametersAtPV.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 DERIVATIONFRAMEWORK_TRACKPARAMETERSATPV_H
6
#define DERIVATIONFRAMEWORK_TRACKPARAMETERSATPV_H
7
8
#include<string>
9
10
// Gaudi & Athena basics
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "
xAODTracking/TrackParticleContainer.h
"
13
#include "
xAODTracking/VertexContainer.h
"
14
#include <vector>
15
16
#include <
StoreGate/ReadHandleKey.h
>
17
#include <
StoreGate/WriteHandleKey.h
>
18
#include <
StoreGate/WriteDecorHandleKey.h
>
19
20
// DerivationFramework includes
21
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
22
23
namespace
DerivationFramework
{
24
32
class
TrackParametersAtPV
:
public
extends<AthAlgTool, IAugmentationTool> {
33
34
public
:
35
36
using
base_class::base_class;
37
38
// Athena algtool's Hooks
39
virtual
StatusCode
initialize
()
override
final
;
40
42
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
43
44
private
:
45
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_collTrackKey
46
{
this
,
"TrackParticleContainerName"
,
"InDetTrackParticles"
,
""
};
47
SG::ReadHandleKey<xAOD::VertexContainer>
m_collVertexKey
48
{
this
,
"VertexContainerName"
,
"PrimaryVertices"
,
""
};
49
50
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_trackZ0PVDecoKey
51
{
this
,
"Z0SGEntryName"
,
m_collTrackKey
,
"DFCommonInDetTrackZ0AtPV"
};
52
53
};
54
55
}
56
57
#endif
AthAlgTool.h
TrackParticleContainer.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
VertexContainer.h
DerivationFramework::TrackParametersAtPV
the code used in this implementation is kindly stolen from: atlasoff:: ISF/ISF_Core/ISF_Tools
Definition
TrackParametersAtPV.h:32
DerivationFramework::TrackParametersAtPV::m_trackZ0PVDecoKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackZ0PVDecoKey
Definition
TrackParametersAtPV.h:51
DerivationFramework::TrackParametersAtPV::m_collVertexKey
SG::ReadHandleKey< xAOD::VertexContainer > m_collVertexKey
Definition
TrackParametersAtPV.h:48
DerivationFramework::TrackParametersAtPV::initialize
virtual StatusCode initialize() override final
Definition
TrackParametersAtPV.cxx:17
DerivationFramework::TrackParametersAtPV::m_collTrackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_collTrackKey
Definition
TrackParametersAtPV.h:46
DerivationFramework::TrackParametersAtPV::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Check that the current event passes this filter.
Definition
TrackParametersAtPV.cxx:32
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