4#ifndef MUONTRUTHALGSR4_PREPDATATOSIMHITASSOCALG_H
5#define MUONTRUTHALGSR4_PREPDATATOSIMHITASSOCALG_H
25 using AthReentrantAlgorithm::AthReentrantAlgorithm;
28 StatusCode
execute(
const EventContext & ctx)
const override final;
35 template <
typename PrdType_t>
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.
ElementLink implementation for ROOT usage.
The PrepDataToSimHitAssocAlg matches the uncalibrated measurements to the MuonSimHits or to the MuonS...
xAOD::ChamberViewer< Cont_t > Viewer_t
Abrivate the chamber viewer type.
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_simHitsKey
Key to the associated simHit container.
SG::ReadHandleKey< xAOD::MuonMeasurementContainer > m_prdHitKey
Key to the uncalibrated measurements to decorate.
ElementLink< xAOD::MuonSimHitContainer > LinkType
Attached sim-hit link decoration to the measurement container.
StatusCode execute(const EventContext &ctx) const override final
const xAOD::MuonSimHit * truthMatchPrd(Viewer_t< xAOD::MuonSimHitContainer > &simHits, const xAOD::MuonMeasurement *measurement) const
Searches for the best matching sim hit to a measurement.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
StatusCode initialize() override final
SG::WriteDecorHandleKey< xAOD::MuonMeasurementContainer > m_decorKey
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.
MuonMeasurement_v1 MuonMeasurement
MuonSimHit_v1 MuonSimHit
Defined the version of the MuonSimHit.