Import Geant4 10.6.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2019-06-28 11:59:04 +02:00
parent 28a70706e0
commit d0f911957d
1056 changed files with 95168 additions and 78160 deletions
@@ -484,8 +484,8 @@ void G4eBremParametrizedModel::SampleSecondaries(
SetupForMaterial(particle, couple->GetMaterial(),kineticEnergy);
const G4Element* elm =
SelectRandomAtom(couple,particle,kineticEnergy,cut,emax);
const G4Element* elm = SelectTargetAtom(couple,particle,kineticEnergy,
dp->GetLogKineticEnergy(),cut,emax);
SetCurrentElement(elm->GetZ());
kinEnergy = kineticEnergy;