Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PolyhedraSide.cc,v 1.6 2003/03/28 09:52:50 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
// $Id: G4PolyhedraSide.cc,v 1.7 2004/01/06 18:07:02 davidw Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
// --------------------------------------------------------------------
@@ -495,8 +495,8 @@ G4bool G4PolyhedraSide::Intersect( const G4ThreeVector &p,
// Do we remain within r/z bounds?
//
if (normSign*qa.cross(qc).dot(v) < 0) return false;
if (normSign*qb.cross(qd).dot(v) > 0) return false;
if (r[0] > 1/kInfinity && normSign*qa.cross(qc).dot(v) < 0) return false;
if (r[1] > 1/kInfinity && normSign*qb.cross(qd).dot(v) > 0) return false;
//
// We allow the face to be slightly behind the trajectory