ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaAlgs
src
egammaTrackThinner.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 EGAMMAALGS_EGAMMATRACKTHINNER_H
6
#define EGAMMAALGS_EGAMMATRACKTHINNER_H
10
11
12
// INCLUDE HEADER FILES:
13
#include "
xAODEgamma/ElectronContainerFwd.h
"
14
#include "
xAODEgamma/PhotonContainerFwd.h
"
15
#include "
xAODTracking/TrackParticleContainerFwd.h
"
16
#include "
xAODTracking/VertexContainerFwd.h
"
17
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
#include "GaudiKernel/ToolHandle.h"
20
#include "
StoreGate/ReadHandleKey.h
"
21
#include "
StoreGate/ThinningHandleKey.h
"
22
23
24
class
egammaTrackThinner
:
public
AthReentrantAlgorithm
25
{
26
public
:
27
29
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
30
31
33
StatusCode
initialize
()
override
final
;
35
StatusCode
finalize
()
override
final
;
37
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
38
39
private
:
40
41
43
SG::ReadHandleKey<xAOD::ElectronContainer>
m_InputElectronContainerKey
{
this
,
44
"InputElectronContainerName"
,
45
"Electrons"
,
46
"Name of the input electron container"
};
47
49
SG::ReadHandleKey<xAOD::PhotonContainer>
m_InputPhotonContainerKey
{
this
,
50
"InputPhotonContainerName"
,
51
"Photons"
,
52
"Name of the input photon container"
};
53
55
SG::ReadHandleKey<xAOD::ElectronContainer>
m_InputForwardElectronContainerKey
56
{
this
,
57
"InputForwardElectronContainerName"
,
58
""
,
59
"Name of the input electron container"
};
60
62
SG::ThinningHandleKey<xAOD::TrackParticleContainer>
m_TrackParticlesKey
{
this
,
63
"TrackParticleContainerName"
,
64
""
,
65
"Name of the Track Particle container to thin"
};
66
68
SG::ThinningHandleKey<xAOD::VertexContainer>
m_VertexKey
{
this
,
69
"VertexContainerName"
,
70
""
,
71
"Name of the Vertex container to thin"
};
72
74
StringProperty
m_streamName
75
{
this
,
"StreamName"
,
""
,
"Name of the stream being thinned"
};
76
78
Gaudi::Property<bool>
m_doThinning
{
this
,
"doThinning"
,
true
,
"Bool to do Thinning"
};
79
};
80
81
#endif
82
AthReentrantAlgorithm.h
ElectronContainerFwd.h
PhotonContainerFwd.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
TrackParticleContainerFwd.h
VertexContainerFwd.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition
ThinningHandleKey.h:39
egammaTrackThinner
GSFTrackParticle collection.
Definition
egammaTrackThinner.h:25
egammaTrackThinner::m_VertexKey
SG::ThinningHandleKey< xAOD::VertexContainer > m_VertexKey
GSF vertex container to thin.
Definition
egammaTrackThinner.h:68
egammaTrackThinner::m_InputForwardElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputForwardElectronContainerKey
forward electron collection input name
Definition
egammaTrackThinner.h:56
egammaTrackThinner::m_InputElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputElectronContainerKey
electron collection input name
Definition
egammaTrackThinner.h:43
egammaTrackThinner::m_TrackParticlesKey
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_TrackParticlesKey
GSF Track Particle container to thin.
Definition
egammaTrackThinner.h:62
egammaTrackThinner::m_doThinning
Gaudi::Property< bool > m_doThinning
Bool to decide if we actually do the Thinning.
Definition
egammaTrackThinner.h:78
egammaTrackThinner::initialize
StatusCode initialize() override final
initialize method
Definition
egammaTrackThinner.cxx:30
egammaTrackThinner::finalize
StatusCode finalize() override final
finalize method
Definition
egammaTrackThinner.cxx:47
egammaTrackThinner::m_InputPhotonContainerKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_InputPhotonContainerKey
photon collection input name
Definition
egammaTrackThinner.h:49
egammaTrackThinner::m_streamName
StringProperty m_streamName
Name of the stream being thinned.
Definition
egammaTrackThinner.h:75
egammaTrackThinner::execute
StatusCode execute(const EventContext &ctx) const override final
execute method
Definition
egammaTrackThinner.cxx:54
Generated on
for ATLAS Offline Software by
1.17.0