Skip to content

Commit

Permalink
Merge branch 'main' into remove-path-limit-from-navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand authored Nov 2, 2023
2 parents 3ac4000 + 3fd6166 commit fc3d52c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 64 deletions.
14 changes: 14 additions & 0 deletions Core/include/Acts/Propagator/DirectNavigator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@ class DirectNavigator {
// Initialize the surface sequence
state.navigation.navSurfaces = navSurfaces;
state.navigation.navSurfaceIter = state.navigation.navSurfaces.begin();

// In case the start surface is in the list of nav surfaces
// we need to correct the iterator to point to the next surface
// in the vector
if (state.navigation.startSurface) {
auto surfaceIter = std::find(state.navigation.navSurfaces.begin(),
state.navigation.navSurfaces.end(),
state.navigation.startSurface);
// if current surface in the list, point to the next surface
if (surfaceIter != state.navigation.navSurfaces.end()) {
state.navigation.navSurfaceIter = ++surfaceIter;
}
}

r.initialized = true;
}
}
Expand Down
6 changes: 3 additions & 3 deletions Core/include/Acts/Propagator/Navigator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ class Navigator {
<< " surfaces remain to try.");
const auto& intersection = state.navigation.navSurface();
// Take the surface
auto surface = intersection.object();
const auto* surface = intersection.object();
// Screen output which surface you are on
ACTS_VERBOSE(volInfo(state) << "Next surface candidate will be "
<< surface->geometryId());
Expand Down Expand Up @@ -845,7 +845,7 @@ class Navigator {
state.navigation.navLayers.size()) {
const auto& intersection = state.navigation.navLayer();
// The layer surface
auto layerSurface = intersection.representation();
const auto* layerSurface = intersection.representation();
// We are on the layer
if (state.navigation.currentSurface == layerSurface) {
ACTS_VERBOSE(volInfo(state) << "We are on a layer, resolve Surfaces.");
Expand Down Expand Up @@ -1000,7 +1000,7 @@ class Navigator {
state.navigation.navBoundaries.size()) {
const auto& intersection = state.navigation.navBoundary();
// That is the current boundary surface
auto boundarySurface = intersection.representation();
const auto* boundarySurface = intersection.representation();
// Step towards the boundary surfrace
auto boundaryStatus = stepper.updateSurfaceStatus(
state.stepping, *boundarySurface, intersection.index(),
Expand Down
59 changes: 0 additions & 59 deletions Tests/UnitTests/Core/Utilities/FpeMonitorTests.cpp

This file was deleted.

3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@
linkcheck_ignore = [
r"https://doi.org/.*",
r"https://cernvm.cern.ch/.*",
r"https://tavianator.com/.*",
r"http://eigen.tuxfamily.org.*",
r"https://pythia.org.*",
r"https://lcginfo.cern.ch/.*",
r"https://.*\.?intel.com/.*",
]

# -- Options for HTML output --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ components:
- [Doxygen](http://doxygen.org) >= 1.8.15 for the documentation
- [Geant4](http://geant4.org/) for some examples
- [HepMC](https://gitlab.cern.ch/hepmc/HepMC3) >= 3.2.1 for some examples
- [Intel Threading Building Blocks](https://01.org/tbb) >= 2020.1 for the examples
- [Intel Threading Building Blocks](https://github.com/oneapi-src/oneTBB) >= 2020.1 for the examples
- [ONNX Runtime](https://onnxruntime.ai/) >= 1.12.0 for the ONNX plugin, the Exa.TrkX plugin and some examples
- [Pythia8](https://pythia.org) for some examples
- [ROOT](https://root.cern.ch) >= 6.20 for the TGeo plugin and the examples
Expand Down

0 comments on commit fc3d52c

Please sign in to comment.