Import Geant4 11.3.2 source tree

This commit is contained in:
Gabriele Cosmo
2025-04-28 13:52:33 +02:00
parent df176550b3
commit 20a218bbe1
266 changed files with 8007 additions and 7819 deletions
@@ -6,6 +6,11 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2025-04-06 Dmitri Konstantinov (fastsimchanneling-V11-02-05)
- In G4VChannelingFastSimCrystalData::IonizationLosses(), fixed bug
in the electron ionization loss correction formula.
Issue was spotted by PVS-Studio static analysis.
## 2024-11-11 Gabriele Cosmo (fastsimchanneling-V11-02-04)
- Fixed compilation warnings on macOS/XCode for implicit type conversions
in G4CoherentPairProduction.
@@ -530,7 +530,7 @@ G4double G4VChannelingFastSimCrystalData::IonizationLosses(G4double dz,
{
loge+=(-G4Log(2.) + 1
-(2*fGamma - 1)/fGamma/fGamma*G4Log(2.) +
1/8*((fGamma - 1)/fGamma)*((fGamma - 1)/fGamma));
1./8.*((fGamma - 1)/fGamma)*((fGamma - 1)/fGamma));
}
else if(fParticleName=="e+")
{