Import Geant4 10.6.1 source tree

This commit is contained in:
Gabriele Cosmo
2020-02-14 15:32:52 +01:00
parent 5baee230e9
commit 8c87fe78c4
278 changed files with 24232 additions and 22963 deletions
@@ -14,6 +14,12 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
05 February 2020 A. Ribon (hadr-stopping-V10-05-03)
--------------------------------------------------------------------
- G4MuonicAtomDecay : (applied fix made by Vladimir Ivanchenko on
27 January 2020 on the master) fixed Coverity warning by addition
of G4Exception.
06 November 2019 V.Ivanchenko (hadr-stopping-V10-05-02)
--------------------------------------------------------------------
- G4MuonMinusAtomicCapture - fixed trivial Coverity warning
@@ -256,6 +256,12 @@ G4VParticleChange* G4MuonicAtomDecay::DecayIt(const G4Track& aTrack,
}
#endif
products = decaychannel->DecayIt(aParticle->GetMass());
if(!products) {
G4ExceptionDescription ed;
ed << "No products are generated for "
<< aParticleDef->GetParticleName();
G4Exception("G4MuonicAtomDecay::DecayIt","DECAY003",FatalException,ed);
}
#ifdef G4VERBOSE
if (GetVerboseLevel()>1) {
decaychannel->SetVerboseLevel(temp);