Import Geant4 10.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 14:11:04 +02:00
parent c9b32a6c0a
commit d4af681f38
4886 changed files with 420149 additions and 1023309 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4eeToTwoPiModel.cc 82961 2014-07-21 09:20:49Z gcosmo $
// $Id: G4eeToTwoPiModel.cc 91869 2015-08-07 15:21:02Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -105,6 +105,7 @@ void G4eeToTwoPiModel::SampleSecondaries(std::vector<G4DynamicParticle*>* newp,
G4double cost;
do {
cost = 2.0*G4UniformRand() - 1.0;
// Loop checking, 07-Aug-2015, Vladimir Ivanchenko
} while( G4UniformRand() > 1.0 - cost*cost );
G4double sint = sqrt(1.0 - cost*cost);