Skip to content

Commit

Permalink
add currentPortal
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Harris committed Jun 7, 2024
1 parent 4a8ab5b commit 0ba9813
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/include/Acts/Navigation/DetectorNavigator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ class DetectorNavigator {
return state.currentSurface;
}

const Portal* currentPortal(const State& state) const {
return state.currentPortal;
}

const DetectorVolume* currentVolume(const State& state) const {
return state.currentVolume;
}
Expand Down

0 comments on commit 0ba9813

Please sign in to comment.