5#ifndef EGAMMAALGS_EGAMMATRACKTHINNER_H
6#define EGAMMAALGS_EGAMMATRACKTHINNER_H
19#include "GaudiKernel/ToolHandle.h"
29 using AthReentrantAlgorithm::AthReentrantAlgorithm;
35 StatusCode
finalize()
override final;
37 StatusCode
execute(
const EventContext& ctx)
const override final;
44 "InputElectronContainerName",
46 "Name of the input electron container"};
50 "InputPhotonContainerName",
52 "Name of the input photon container"};
57 "InputForwardElectronContainerName",
59 "Name of the input electron container" };
63 "TrackParticleContainerName",
65 "Name of the Track Particle container to thin"};
69 "VertexContainerName",
71 "Name of the Vertex container to thin"};
75 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
78 Gaudi::Property<bool>
m_doThinning{
this,
"doThinning",
true,
"Bool to do Thinning"};
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
GSFTrackParticle collection.
SG::ThinningHandleKey< xAOD::VertexContainer > m_VertexKey
GSF vertex container to thin.
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputForwardElectronContainerKey
forward electron collection input name
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputElectronContainerKey
electron collection input name
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_TrackParticlesKey
GSF Track Particle container to thin.
Gaudi::Property< bool > m_doThinning
Bool to decide if we actually do the Thinning.
StatusCode initialize() override final
initialize method
StatusCode finalize() override final
finalize method
SG::ReadHandleKey< xAOD::PhotonContainer > m_InputPhotonContainerKey
photon collection input name
StringProperty m_streamName
Name of the stream being thinned.
StatusCode execute(const EventContext &ctx) const override final
execute method