ATLAS Offline Software
Loading...
Searching...
No Matches
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:
17
19#include "GaudiKernel/ToolHandle.h"
22
23
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
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
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