Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
@@ -1,8 +1,14 @@
# Category had-hadronization History
See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top). It must **not**
be used as a substitute for writing good git commit messages!
which **must** added in reverse chronological order (newest at the top).
It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2024-08-21 Gabriele Cosmo (had-hadronization-V11-02-01)
- Fixed reported Coverity defect in G4NucleiModel for redundant assignment
in G4LundStringFragmentation::Sample4Momentum().
## 2024-02-02 Vladimir Ivanchenko (had-hadronization-V11-02-00)
- G4ExcitedStringDecay - fixed minor memory leak suggested by Coverity,
@@ -1326,10 +1326,6 @@ void G4LundStringFragmentation::Sample4Momentum(G4LorentzVector* Mom, G4doub
SigmaQT = SigmaQTw;
if ( loopCounter >= maxNumberOfLoops ) {
AvailablePz2 = 0.0;
}
AvailablePz2= sqr(InitialMass*InitialMass - sqr(MassMt) - sqr(AntiMassMt)) -
4.*sqr(MassMt*AntiMassMt);