Skip to content
Snippets Groups Projects
Commit 6f3fc1a1 authored by Christian Gumpert's avatar Christian Gumpert
Browse files

Merge branch 'fix_map_accessors' into 'master'

fix map accessors



See merge request !100
parents 33bcee3b ac83b41a
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ void Acts::GlueVolumesDescriptor::registerGlueVolumes(Acts::BoundarySurfaceFace
auto searchIter= m_glueVolumes.find(bsf);
if (searchIter == m_glueVolumes.end()) m_glueFaces.push_back(bsf);
// simple assignment overwrites already existing entries
m_glueVolumes.at(bsf) = gvs; //!< @todo change to addGlueVolumes principle
m_glueVolumes[bsf] = gvs; //!< @todo change to addGlueVolumes principle
}
......
......@@ -60,7 +60,7 @@ void Acts::TrackingGeometry::registerTrackingVolumes(const Acts::TrackingVolume&
tvol.setMotherVolume(mvol);
m_trackingVolumes.at(tvol.volumeName()) = (&tvol);
m_trackingVolumes[tvol.volumeName()] = (&tvol);
std::shared_ptr<const Acts::TrackingVolumeArray> confinedVolumes = tvol.confinedVolumes();
if (confinedVolumes){
for (auto& volumesIter: confinedVolumes->arrayObjects())
......
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