Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -22,9 +22,6 @@
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// G4NormalNavigation Inline Implementation
//
@@ -62,16 +59,16 @@ G4NormalNavigation::LevelLocate( G4NavigationHistory& history,
targetPhysical = history.GetTopVolume();
targetLogical = targetPhysical->GetLogicalVolume();
targetNoDaughters = targetLogical->GetNoDaughters();
targetNoDaughters = G4int(targetLogical->GetNoDaughters());
G4bool found = false;
if (targetNoDaughters!=0)
if ( targetNoDaughters!=0 )
{
//
// Search daughters in volume
//
for ( G4int sampleNo=targetNoDaughters-1; sampleNo>=0; sampleNo-- )
for ( auto sampleNo=targetNoDaughters-1; sampleNo>=0; sampleNo-- )
{
samplePhysical = targetLogical->GetDaughter(sampleNo);
if ( samplePhysical!=blockedVol )