Skip to content

Commit

Permalink
Revert "CKFTracking: disable RTTI type checks until EICrecon conforms…
Browse files Browse the repository at this point in the history
… to ODR (#551)"

This reverts commit f375494.
  • Loading branch information
veprbl authored Sep 24, 2023
1 parent 209fd12 commit 80596a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/tracking/CKFTracking.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace eicrecon {

m_geoSvc = geo_svc;

m_BField = std::static_pointer_cast<const eicrecon::BField::DD4hepBField>(m_geoSvc->getFieldProvider());
m_BField = std::dynamic_pointer_cast<const eicrecon::BField::DD4hepBField>(m_geoSvc->getFieldProvider());
m_fieldctx = eicrecon::BField::BFieldVariant(m_BField);

// eta bins, chi2 and #sourclinks per surface cutoffs
Expand Down

0 comments on commit 80596a5

Please sign in to comment.