Import Geant4 10.4.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2017-06-30 10:49:55 +02:00
parent 3a5407696b
commit 1a1316fea4
2180 changed files with 237880 additions and 59109 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4VProcess.cc 75600 2013-11-04 13:03:02Z gcosmo $
// $Id: G4VProcess.cc 103766 2017-04-26 14:19:53Z gcosmo $
//
//
// --------------------------------------------------------------
@@ -48,6 +48,7 @@
#include "G4MaterialTable.hh"
#include "G4ElementTable.hh"
#include "G4ElementVector.hh"
#include "G4Log.hh"
G4VProcess::G4VProcess(const G4String& aName, G4ProcessType aType )
: aProcessManager(0),
@@ -94,7 +95,7 @@ G4VProcess::G4VProcess(const G4VProcess& right)
void G4VProcess::ResetNumberOfInteractionLengthLeft()
{
theNumberOfInteractionLengthLeft = -std::log( G4UniformRand() );
theNumberOfInteractionLengthLeft = -1.*G4Log( G4UniformRand() );
theInitialNumberOfInteractionLength = theNumberOfInteractionLengthLeft;
}