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.
const xAOD::MuonSimHit * truthMatchPrd(Viewer_t< xAOD::MuonSimHitContainer > &simHits, const xAOD::UncalibratedMeasurement *measurement) const
Searches for the best matching sim hit to a measurement.
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_simHitsKey
Key to the associated simHit container.
ElementLink< xAOD::MuonSimHitContainer > LinkType
Attached sim-hit link decoration to the measurement container.
SG::ReadHandleKey< xAOD::UncalibratedMeasurementContainer > m_prdHitKey
Key to the uncalibrated measurements to decorate.
StatusCode execute(const EventContext &ctx) const override final
SG::WriteDecorHandleKey< xAOD::UncalibratedMeasurementContainer > m_decorKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
StatusCode initialize() 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.
MuonSimHit_v1 MuonSimHit
Defined the version of the MuonSimHit.
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.