ATLAS Offline Software
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
7 
12 // INCLUDE HEADER FILES:
17 
19 #include "GaudiKernel/ToolHandle.h"
22 
23 
25 {
26  public:
27 
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 
44  "InputElectronContainerName",
45  "Electrons",
46  "Name of the input electron container"};
47 
50  "InputPhotonContainerName",
51  "Photons",
52  "Name of the input photon container"};
53 
56  { this,
57  "InputForwardElectronContainerName",
58  "",
59  "Name of the input electron container" };
60 
63  "TrackParticleContainerName",
64  "",
65  "Name of the Track Particle container to thin"};
66 
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 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
VertexContainerFwd.h
egammaTrackThinner::m_streamName
StringProperty m_streamName
Name of the stream being thinned.
Definition: egammaTrackThinner.h:75
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
egammaTrackThinner::finalize
StatusCode finalize() override final
finalize method
Definition: egammaTrackThinner.cxx:47
egammaTrackThinner::m_VertexKey
SG::ThinningHandleKey< xAOD::VertexContainer > m_VertexKey
GSF vertex container to thin.
Definition: egammaTrackThinner.h:68
egammaTrackThinner::m_InputPhotonContainerKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_InputPhotonContainerKey
photon collection input name
Definition: egammaTrackThinner.h:49
egammaTrackThinner::execute
StatusCode execute(const EventContext &ctx) const override final
execute method
Definition: egammaTrackThinner.cxx:54
SG::ReadHandleKey< xAOD::ElectronContainer >
egammaTrackThinner
Definition: egammaTrackThinner.h:25
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
egammaTrackThinner::m_doThinning
Gaudi::Property< bool > m_doThinning
Bool to decide if we actually do the Thinning.
Definition: egammaTrackThinner.h:78
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PhotonContainerFwd.h
AthReentrantAlgorithm.h
egammaTrackThinner::m_InputForwardElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputForwardElectronContainerKey
forward electron collection input name
Definition: egammaTrackThinner.h:56
ElectronContainerFwd.h
egammaTrackThinner::m_InputElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputElectronContainerKey
electron collection input name
Definition: egammaTrackThinner.h:43
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
TrackParticleContainerFwd.h
egammaTrackThinner::m_TrackParticlesKey
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_TrackParticlesKey
GSF Track Particle container to thin.
Definition: egammaTrackThinner.h:62
egammaTrackThinner::initialize
StatusCode initialize() override final
initialize method
Definition: egammaTrackThinner.cxx:30