Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -313,8 +313,9 @@ G4NavigationLogger::CheckDaughterEntryPoint(const G4VSolid* sampleSolid,
G4ThreeVector localReEntryPoint = localPoint+distToReEntry*localDirection;
// Clear error -- Daughter entry point is bad
constexpr G4double eps= 1.0e-10;
G4bool DaughterEntryIsOutside = SuspiciousDaughterDist
&& ( (sampleStep < distToReEntry) || (insideMother == kOutside ) );
&& ( (sampleStep * (1.0+eps) < distToReEntry) || (insideMother == kOutside ) );
G4bool EntryIsMotherExit = std::fabs(sampleStep-motherStep) < kCarTolerance;
// Check for more subtle error - is exit point of daughter correct ?