Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4ErrorPlaneSurfaceTarget.cc 66356 2012-12-18 09:02:32Z gcosmo $
// $Id: G4ErrorPlaneSurfaceTarget.cc 107408 2017-11-10 13:35:09Z gcosmo $
//
//
// --------------------------------------------------------------------
@@ -148,8 +148,7 @@ G4double G4ErrorPlaneSurfaceTarget::
GetDistanceFromPoint( const G4ThreeVector& pt ) const
{
G4ThreeVector vec = point() - pt;
G4double alpha = std::acos( vec * normal() / vec.mag() / normal().mag() );
G4double dist = std::fabs(vec.mag() * std::cos( alpha ));
G4double dist = std::fabs(vec * normal() / normal().mag());
#ifdef G4VERBOSE
if(G4ErrorPropagatorData::verbose() >= 3 )