Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -117,8 +117,10 @@ G4XNNElasticLowE::G4XNNElasticLowE()
G4XNNElasticLowE::~G4XNNElasticLowE()
{
delete xMap[G4Proton::ProtonDefinition()->GetParticleName()];
delete xMap[G4Neutron::NeutronDefinition()->GetParticleName()];
G4String name_proton = "proton";
G4String name_neutron = "neutron";
delete xMap[name_proton];
delete xMap[name_neutron];
}
@@ -71,8 +71,11 @@ G4XNNTotalLowE::G4XNNTotalLowE()
G4XNNTotalLowE::~G4XNNTotalLowE()
{
delete theCrossSections[G4Proton::ProtonDefinition()->GetParticleName()];
delete theCrossSections[G4Neutron::NeutronDefinition()->GetParticleName()];
G4String name_proton = "proton";
G4String name_neutron = "neutron";
delete theCrossSections[name_proton];
delete theCrossSections[name_neutron];
}
G4double G4XNNTotalLowE::CrossSection(const G4KineticTrack& trk1, const G4KineticTrack& trk2) const