Import Geant4 10.4.0.beta source tree
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user