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
@@ -6,6 +6,12 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2024-07-18 Alberto Ribon (hadr-string-diff-V11-02-00)
- G4FTFParameters : renamed method SetElastis as SetElastic.
This does not have any effect - the random sequence stays the same.
This typo in the name of a method is present in Geant4 since many years.
Thanks to Marc Verderi for spotting it.
## 2023-10-26 Alberto Ribon (hadr-string-diff-V11-01-00)
- G4FTFTunings : introduced a new FTF tune meant to overcome the problem of
too optimistic (i.e. narrow) pion shower energy resolutions in ATLAS
@@ -49,7 +49,7 @@ class G4FTFParameters {
// Set geometrical parameteres
void SethNcmsEnergy( const G4double s );
void SetTotalCrossSection( const G4double Xtotal );
void SetElastisCrossSection( const G4double Xelastic );
void SetElasticCrossSection( const G4double Xelastic );
void SetInelasticCrossSection( const G4double Xinelastic );
void SetProbabilityOfElasticScatt( const G4double Xtotal, const G4double Xelastic );
void SetProbabilityOfElasticScatt( const G4double aValue );
@@ -242,7 +242,7 @@ inline void G4FTFParameters::SetTotalCrossSection( const G4double Xtotal ) {
FTFXtotal = Xtotal;
}
inline void G4FTFParameters::SetElastisCrossSection( const G4double Xelastic ) {
inline void G4FTFParameters::SetElasticCrossSection( const G4double Xelastic ) {
FTFXelastic = Xelastic;
}
@@ -371,7 +371,7 @@ void G4FTFParameters::InitForInteraction( const G4ParticleDefinition* particle,
// Geometrical parameters
SetTotalCrossSection( Xtotal );
SetElastisCrossSection( Xelastic );
SetElasticCrossSection( Xelastic );
SetInelasticCrossSection( Xtotal - Xelastic );
// Interactions with elastic and inelastic collisions
@@ -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);