7#ifndef THINNINGUTILS_ThinTrkTrackAlg_H
8#define THINNINGUTILS_ThinTrkTrackAlg_H
17#include "GaudiKernel/ServiceHandle.h"
18#include "GaudiKernel/ToolHandle.h"
32 using AthReentrantAlgorithm::AthReentrantAlgorithm;
34 virtual StatusCode
initialize()
override final;
37 virtual StatusCode
execute(
const EventContext& ctx)
const override final;
41 StatusCode
doEGamma(
const EventContext& ctx)
const;
42 StatusCode
doMuons(
const EventContext& ctx)
const;
47 "Name of the stream being thinned" };
55 "StoreGate key for muons container"
62 "StoreGate key for electrons container"
69 "StoreGate key for photon container"
75 "CombinedMuonsTrackKey",
77 "StoreGate key for combined muons Trk::Track container"
84 "StoreGate key for GSF Trk::Track container"
89 Gaudi::Property<bool>
m_doMuons{
this,
"doMuons",
true };
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.
Gaudi::Property< bool > m_doMuons
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsKey
Gaudi::Property< double > m_minptMuons
Gaudi::Property< bool > m_bestonlyPhotons
SG::ThinningHandleKey< TrackCollection > m_GSFTracksKey
StatusCode doEGamma(const EventContext &ctx) const
Inline method.
Gaudi::Property< bool > m_bestonlyElectrons
virtual StatusCode initialize() override final
Athena algorithm's initalize hook.
StringProperty m_streamName
StatusCode doMuons(const EventContext &ctx) const
Gaudi::Property< double > m_minptPhotons
SG::ReadHandleKey< xAOD::MuonContainer > m_muonsKey
Should the thinning run?
virtual StatusCode execute(const EventContext &ctx) const override final
Athena algorithm's execute hook.
Gaudi::Property< double > m_minptElectrons
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey
Gaudi::Property< bool > m_doElectrons
Gaudi::Property< bool > m_doPhotons
SG::ThinningHandleKey< TrackCollection > m_CombinedMuonsTracksKey
Containers to thin.