Skip to content

Commit

Permalink
Use non-deprecated overload
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Mar 12, 2024
1 parent af6b34c commit 927955e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ namespace EDM4hep2LCIOConv {
void resolveRelationsSimTrackerHits(SimTrHitMapT& simTrHitMap, const MCParticleMapT& mcParticleMap)
{
for (auto& [lcio_strh, edm_strh] : simTrHitMap) {
auto edm_strh_mcp = edm_strh.getMCParticle();
auto edm_strh_mcp = edm_strh.getParticle();
if (edm_strh_mcp.isAvailable()) {
if (const auto lcio_mcp = k4EDM4hep2LcioConv::detail::mapLookupFrom(edm_strh_mcp, mcParticleMap)) {
lcio_strh->setMCParticle(lcio_mcp.value());
Expand Down

0 comments on commit 927955e

Please sign in to comment.