Skip to content

Commit

Permalink
Remove impossible code path
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 9, 2025
1 parent 35a2dff commit 3fcae7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ std::optional<int32_t> attachParticleIDMetaData(IMPL::LCEventImpl* lcEvent, cons
if (!pidMetaInfo.has_value()) {
return std::nullopt;
}
if (pidMetaInfo.has_value() && !recoName.has_value()) {
return pidMetaInfo->algoType();
}

UTIL::PIDHandler pidHandler(lcEvent->getCollection(recoName.value()));
return pidHandler.addAlgorithm(pidMetaInfo->algoName, pidMetaInfo->paramNames);
Expand Down

0 comments on commit 3fcae7f

Please sign in to comment.