Import Geant4 10.6.1 source tree
This commit is contained in:
@@ -15,6 +15,11 @@ code and to keep track of all tags.
|
||||
* Please list in reverse chronological order (last date on top)
|
||||
---------------------------------------------------------------
|
||||
|
||||
17 December 2019 Vladimir Ivanchenko (hadr-proc-V10-05-09)
|
||||
----------------------------------------------------------
|
||||
- G4HadronElasticProcess : removed forgotten try/catch pattern for
|
||||
target isotope selection, which should be a part of 10.6
|
||||
|
||||
11 July 2019 Alberto Ribon (hadr-proc-V10-05-06)
|
||||
-----------------------------------------------------
|
||||
- Created new inelastic processes for heavy hadron - nucleus interactions:
|
||||
|
||||
@@ -82,21 +82,8 @@ G4HadronElasticProcess::PostStepDoIt(const G4Track& track,
|
||||
G4Nucleus* targNucleus = GetTargetNucleusPointer();
|
||||
|
||||
// Select element
|
||||
const G4Element* elm = nullptr;
|
||||
try
|
||||
{
|
||||
elm = GetCrossSectionDataStore()->SampleZandA(dynParticle, material,
|
||||
*targNucleus);
|
||||
}
|
||||
catch(G4HadronicException & aR)
|
||||
{
|
||||
G4ExceptionDescription ed;
|
||||
aR.Report(ed);
|
||||
DumpState(track,"SampleZandA",ed);
|
||||
ed << " PostStepDoIt failed on element selection" << G4endl;
|
||||
G4Exception("G4HadronElasticProcess::PostStepDoIt", "had003",
|
||||
FatalException, ed);
|
||||
}
|
||||
const G4Element* elm =
|
||||
GetCrossSectionDataStore()->SampleZandA(dynParticle, material, *targNucleus);
|
||||
|
||||
// Initialize the hadronic projectile from the track
|
||||
G4HadProjectile theProj(track);
|
||||
|
||||
Reference in New Issue
Block a user