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
@@ -418,7 +418,7 @@ SampleX(G4double anXmin, G4int nSea, G4int totalSea, G4double aBeta)
}
do
{
x1 = CLHEP::RandFlat::shoot(anXmin, xMax);
x1 = G4RandFlat::shoot(anXmin, xMax);
y = std::pow(x1, alpha);
y *= std::pow( std::pow(1-x1-totalSea*anXmin, alpha+1) - std::pow(anXmin, alpha+1), nSea);
y *= std::pow(1-x1-totalSea*anXmin, aBeta+1) - std::pow(anXmin, aBeta+1);