Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -23,12 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
//
|
||||
// G4GeomTestVolume
|
||||
// class G4GeomTestVolume implementation
|
||||
//
|
||||
// Author: G.Cosmo, CERN
|
||||
// --------------------------------------------------------------------
|
||||
@@ -36,7 +31,6 @@
|
||||
#include <set>
|
||||
|
||||
#include "G4GeomTestVolume.hh"
|
||||
|
||||
#include "G4PhysicalConstants.hh"
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
@@ -50,7 +44,7 @@ G4GeomTestVolume::G4GeomTestVolume( G4VPhysicalVolume *theTarget,
|
||||
G4int numberOfPoints,
|
||||
G4bool theVerbosity )
|
||||
: target(theTarget), tolerance(theTolerance),
|
||||
resolution(numberOfPoints), maxErr(1), verbosity(theVerbosity)
|
||||
resolution(numberOfPoints), verbosity(theVerbosity)
|
||||
{;}
|
||||
|
||||
//
|
||||
@@ -151,8 +145,7 @@ void G4GeomTestVolume::TestRecursiveOverlap( G4int slevel, G4int depth )
|
||||
|
||||
const G4LogicalVolume *logical = target->GetLogicalVolume();
|
||||
G4int nDaughter = logical->GetNoDaughters();
|
||||
G4int iDaughter;
|
||||
for( iDaughter=0; iDaughter<nDaughter; ++iDaughter )
|
||||
for( auto iDaughter=0; iDaughter<nDaughter; ++iDaughter )
|
||||
{
|
||||
G4VPhysicalVolume *daughter = logical->GetDaughter(iDaughter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user