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
+4 -1
View File
@@ -1,4 +1,4 @@
$Id: History 92125 2015-08-18 14:35:23Z gcosmo $
$Id: History 103766 2017-04-26 14:19:53Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -16,6 +16,9 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
- Apr. 26, 2017 H.Kurashige (procman-V10-03-01)
- Use G4Log in G4VProcess
- Aug. 18, 2015 H.Kurashige (procman-V10-01-03)
- Clean up source codes for messsengers
@@ -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;
}