4#ifndef MUONTRUTHSEGMENTMAKER_TrackToTruthPartAssocAlg_H
5#define MUONTRUTHSEGMENTMAKER_TrackToTruthPartAssocAlg_H
26 using AthReentrantAlgorithm::AthReentrantAlgorithm;
29 StatusCode
execute(
const EventContext& ctx)
const override final;
54 Gaudi::Property<std::vector<std::string>>
m_simHitIds{
this,
"SimHitIds", {}};
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
The TrackToTruthPartAssocAlg matches the reconstructed tracks to truth muons.
TruthReadDecorKey_t m_truMuOriginKey
FIXME ReadDecorHandle should not be used to access dynamic variables applied by the algorithm which c...
TruthReadDecorKeyArr_t m_simHitKeys
Declaration of the dependency on the simHit decorations.
TrkWriteDecorKey_t m_linkWriteKey
TrkWriteDecorKey_t m_typeWriteKey
TrkWriteDecorKey_t m_classificationWriteKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > TruthReadKey_t
Input truth particle keys.
TruthReadDecorKey_t m_truMuClassificationKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > TrkWriteDecorKey_t
SG::ReadDecorHandleKeyArray< xAOD::TruthParticleContainer > TruthReadDecorKeyArr_t
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > TruthReadDecorKey_t
StatusCode initialize() override final
SG::ReadHandleKey< xAOD::TrackParticleContainer > TrkReadKey_t
TrkWriteDecorKey_t m_originWriteKey
Decorations to be written to the TrackParticle truthOrigin/truthType/truthParticleLink.
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
Helper service to handle the Identifiers of measurements.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
StatusCode execute(const EventContext &ctx) const override final
Gaudi::Property< std::vector< std::string > > m_simHitIds
List of simHit id decorations to read from the truth particle.
TruthReadDecorKey_t m_truMuTypeKey
TruthReadKey_t m_truthMuonKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
This header ties the generic definitions in this package.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray