Skip to content
Snippets Groups Projects
Commit d6478f40 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'unordered_set' into 'master'

GSFTrackExtrapolator  : Use unordered set

See merge request atlas/athena!35116
parents c6438a2d ccab2a48
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ decription : Implementation code for GsfExtrapolator class
#include "TrkTrack/TrackStateOnSurface.h"
#include <utility>
#include <unordered_set>
namespace {
const bool useBoundaryMaterialUpdate(true);
......@@ -482,7 +483,7 @@ Trk::GsfExtrapolator::extrapolate(
ATH_MSG_DEBUG("MultiComponentState is empty...");
return {};
}
cache.reset();
// Set the propagator to that one corresponding to the configuration level
......@@ -706,7 +707,7 @@ Trk::GsfExtrapolator::extrapolateToVolumeBoundary(
*navigationParameters,
direction,
trackingVolume);
nextVolume = nextNavigationCell.nextVolume;
if (navigationPropagatorIndex >= 1) {
delete navigationParameters;
......@@ -961,7 +962,7 @@ Trk::GsfExtrapolator::extrapolateFromLayerToLayer(
const Trk::Layer* nextLayer =
currentLayer->nextLayer(currentPosition, currentDirection);
std::set<const Trk::Layer*> layersHit;
std::unordered_set<const Trk::Layer*> layersHit;
layersHit.insert(currentLayer);
// Begin while loop over all intermediate layers
......
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