Skip to content
Snippets Groups Projects
Commit 7967bdfc authored by Sanghyun Ko's avatar Sanghyun Ko Committed by MarkusFrankATcernch
Browse files

Adopt a suggestion for improving comments


Co-authored-by: default avatarAndre Sailer <andre.philippe.sailer@cern.ch>
parent e6ec5ca8
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ detail::GeoHandler& detail::GeoHandler::i_collect(const TGeoNode* /* parent */, ...@@ -166,7 +166,7 @@ detail::GeoHandler& detail::GeoHandler::i_collect(const TGeoNode* /* parent */,
} }
} }
/// Collect the hierarchy of placements /// Collect the hierarchy of placements
/// perform lookup using std::set::emplace (faster than std::find for the large number of geometries) /// perform lookup using std::set::emplace (faster than std::find for very large number of volumes)
if ( (*m_set_data)[level].emplace(current).second ) { if ( (*m_set_data)[level].emplace(current).second ) {
(*m_data)[level].push_back(current); (*m_data)[level].push_back(current);
} }
......
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