4#ifndef MUONTRUTHALGSR4_SIMHITTOTRUTHPARTASSOCALG_H
5#define MUONTRUTHALGSR4_SIMHITTOTRUTHPARTASSOCALG_H
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
25 virtual StatusCode
initialize()
override final;
26 virtual StatusCode
execute(
const EventContext& ctx)
const override final;
30 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
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.
An algorithm that can be simultaneously executed in multiple threads.
This algorihm associates the SDO / sim hit Identifiers to the truth particle using the HepMCParticle ...
virtual StatusCode initialize() override final
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_hitDecorKey
Decoration to the hit identifier vector.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthKey
Data dependency on the truth input container to decorate.
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_simHitKey
Data dependency on the sim hit container.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc for Identifier printing / manipulation.
virtual StatusCode execute(const EventContext &ctx) const override final
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.