Skip to content
Snippets Groups Projects
Commit 75a58f99 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

TrkExTools: Remove unused StatusCode return value

parent a166205e
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ namespace Trk { ...@@ -134,7 +134,7 @@ namespace Trk {
(void)trackPar; (void)trackPar;
} }
StatusCode updateTrackingGeometry() const; void updateTrackingGeometry() const;
bool m_validationMode; //!<This becomes a dummy option for now bool m_validationMode; //!<This becomes a dummy option for now
......
...@@ -605,16 +605,13 @@ Trk::Navigator::trackingGeometry() const { ...@@ -605,16 +605,13 @@ Trk::Navigator::trackingGeometry() const {
return m_trackingGeometry; return m_trackingGeometry;
} }
StatusCode void
Trk::Navigator::updateTrackingGeometry() const { Trk::Navigator::updateTrackingGeometry() const {
// -------------------- public TrackingGeometry (from DetectorStore) ---------------------------- // -------------------- public TrackingGeometry (from DetectorStore) ----------------------------
StatusCode s = StatusCode::SUCCESS; if (detStore()->retrieve(m_trackingGeometry, m_trackingGeometryName).isFailure()) {
s = detStore()->retrieve(m_trackingGeometry, m_trackingGeometryName);
if (s.isFailure()) {
ATH_MSG_FATAL("Could not retrieve TrackingGeometry '" << m_trackingGeometryName << "' from DetectorStore."); ATH_MSG_FATAL("Could not retrieve TrackingGeometry '" << m_trackingGeometryName << "' from DetectorStore.");
ATH_MSG_FATAL(" - probably the chosen layout is not supported / no cool tag exists. "); ATH_MSG_FATAL(" - probably the chosen layout is not supported / no cool tag exists. ");
throw Trk::NavigatorException(); throw Trk::NavigatorException();
} }
return s;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment