Skip to content

Commit

Permalink
fix symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Nov 29, 2024
1 parent d69324a commit deab3d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Plugins/EDM4hep/src/EDM4hepUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
#include <edm4hep/SimTrackerHit.h>
#include <edm4hep/TrackState.h>

namespace Acts::EDM4hepUtil::detail {
namespace Acts::EDM4hepUtil {
namespace detail {

ActsSquareMatrix<6> jacobianToEdm4hep(double theta, double qOverP, double Bz) {
// Calculate jacobian from our internal parametrization (d0, z0, phi, theta,
Expand Down Expand Up @@ -189,6 +190,8 @@ BoundTrackParameters convertTrackParametersFromEdm4hep(
return {params.surface, targetPars, cov, params.particleHypothesis};
}

} // namespace detail

#if EDM4HEP_VERSION_MAJOR >= 1 || \
(EDM4HEP_VERSION_MAJOR == 0 && EDM4HEP_VERSION_MINOR == 99)
edm4hep::MCParticle getParticle(const edm4hep::SimTrackerHit& hit) {
Expand All @@ -210,4 +213,4 @@ void setParticle(edm4hep::MutableSimTrackerHit& hit,
}
#endif

} // namespace Acts::EDM4hepUtil::detail
} // namespace Acts::EDM4hepUtil

0 comments on commit deab3d2

Please sign in to comment.