Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user