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
@@ -356,7 +356,8 @@ G4PairProductionRelModel::SampleSecondaries(std::vector<G4DynamicParticle*>* fve
if (eps0 > 0.5) { return; }
//
// select target atom of the material
const G4Element* anElement = SelectRandomAtom(couple, fTheGamma, gammaEnergy);
const G4Element* anElement = SelectTargetAtom(couple, fTheGamma, gammaEnergy,
aDynamicGamma->GetLogKineticEnergy());
CLHEP::HepRandomEngine* rndmEngine = G4Random::getTheEngine();
//
// 'eps' is the total energy transferred to one of the e-/e+ pair in initial