Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
@@ -5,9 +5,9 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Hype.cc,v 1.5 2000/11/20 18:18:58 gcosmo Exp $
// $Id: G4Hype.cc,v 1.6 2001/01/04 18:30:50 davidw Exp $
// $Original: G4Hype.cc,v 1.0 1998/06/09 16:57:50 safai Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// --------------------------------------------------------------------
@@ -842,9 +842,9 @@ G4double G4Hype::DistanceToOut( const G4ThreeVector& p,const G4ThreeVector& v,
}
//
// Nope. Get distance.
// Nope. Get distance. Beware of zero vz.
//
sBest = (halfLenZ - pz)/vz;
sBest = (vz > DBL_MIN) ? (halfLenZ - pz)/vz : kInfinity;
vBest = true;
//