Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NormalNavigation.icc,v 1.2 1999/12/15 14:50:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4NormalNavigation.icc,v 1.3 2000/11/20 18:59:40 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
//
|
||||
// G4NormalNavigation Inline Implementation
|
||||
@@ -39,8 +39,6 @@ inline G4bool G4NormalNavigation::LevelLocate(G4NavigationHistory &history,
|
||||
samplePhysical=targetLogical->GetDaughter(sampleNo);
|
||||
if (samplePhysical!=blockedVol)
|
||||
{
|
||||
EInside sampleInside;
|
||||
|
||||
// Setup volume with mother ptr
|
||||
samplePhysical->Setup(targetPhysical);
|
||||
history.NewLevel(samplePhysical, kNormal, samplePhysical->GetCopyNo());
|
||||
@@ -62,7 +60,8 @@ inline G4bool G4NormalNavigation::LevelLocate(G4NavigationHistory &history,
|
||||
history.BackLevel();
|
||||
}
|
||||
#else
|
||||
sampleInside= sampleSolid->Inside(samplePoint);
|
||||
EInside sampleInside = sampleSolid->Inside(samplePoint);
|
||||
|
||||
if( sampleInside == kOutside)
|
||||
{
|
||||
history.BackLevel();
|
||||
|
||||
Reference in New Issue
Block a user