Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: GFlashSamplingShowerParameterisation.cc 69579 2013-05-08 13:53:57Z gcosmo $
//
//
// ------------------------------------------------------------
@@ -304,7 +304,7 @@ ApplySampling(const G4double DEne, const G4double )
if(Resolution >0.0 && DEne > 0.00)
{
G4float x1=DEne/Resolution;
G4float x2 = CLHEP::RandGamma::shoot(x1, 1.0)*Resolution;
G4float x2 = G4RandGamma::shoot(x1, 1.0)*Resolution;
DEneFluctuated=x2;
}
return DEneFluctuated;
@@ -412,6 +412,6 @@ G4double GFlashSamplingShowerParameterisation::
GenerateExponential(const G4double /* Energy */ )
{
G4double ParExp1 = 9./7.*X0eff;
G4double random = -ParExp1*CLHEP::RandExponential::shoot() ;
G4double random = -ParExp1*G4RandExponential::shoot() ;
return random;
}