Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4SeltzerBergerModel.cc 93567 2015-10-26 14:51:41Z gcosmo $
// $Id: G4SeltzerBergerModel.cc 97798 2016-06-13 12:10:14Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -268,8 +268,13 @@ G4SeltzerBergerModel::SampleSecondaries(std::vector<G4DynamicParticle*>* vdp,
// majoranta
G4double x0 = cut/kineticEnergy;
G4double vmax = dataSB[Z]->Value(x0, y, idx, idy)*1.02;
// G4double invbeta1 = 0;
G4double vmax;
if(Z <= 92) {
vmax = dataSB[Z]->Value(x0, y, idx, idy)*1.02;
} else {
idx = idy = 0;
vmax = dataSB[Z]->Value(x0, y, idx, idy)*1.2;
}
// majoranta corrected for e-
if(isElectron && x0 < 0.97 &&