Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GeomTestVolume.cc 73253 2013-08-22 13:24:02Z gcosmo $
|
||||
// $Id: G4GeomTestVolume.cc 101727 2016-11-23 08:49:05Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
@@ -156,15 +156,14 @@ void G4GeomTestVolume::TestRecursiveOverlap( G4int slevel, G4int depth )
|
||||
for( iDaughter=0; iDaughter<nDaughter; ++iDaughter )
|
||||
{
|
||||
G4VPhysicalVolume *daughter = logical->GetDaughter(iDaughter);
|
||||
const G4LogicalVolume *daughterLogical =
|
||||
daughter->GetLogicalVolume();
|
||||
|
||||
//
|
||||
// Tested already?
|
||||
//
|
||||
std::pair<std::set<const G4LogicalVolume *>::iterator, G4bool>
|
||||
there = tested.insert(daughterLogical);
|
||||
if (!there.second) continue;
|
||||
// const G4LogicalVolume *daughterLogical =
|
||||
// daughter->GetLogicalVolume();
|
||||
// std::pair<std::set<const G4LogicalVolume *>::iterator, G4bool>
|
||||
// there = tested.insert(daughterLogical);
|
||||
// if (!there.second) continue;
|
||||
|
||||
//
|
||||
// Recurse
|
||||
|
||||
Reference in New Issue
Block a user