Skip to content

Commit

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

### Briefly, what does this PR introduce?
Workaround for #340

### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No

### Does this PR change default behavior?
No
  • Loading branch information
veprbl authored Mar 27, 2023
1 parent c840e40 commit f375494
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 @@ -60,7 +60,7 @@ namespace eicrecon {

m_geoSvc = geo_svc;

m_BField = std::dynamic_pointer_cast<const eicrecon::BField::DD4hepBField>(m_geoSvc->getFieldProvider());
m_BField = std::static_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 f375494

Please sign in to comment.