What's new in Geant4 11.2.1
Mar 2, 2024
- ist f fixes included in this public patch since the public release 11.2.0:
- Cnfiguratin
- CMake:
- Added -F flag n macS with a framewrk build f Qt.
- Addressing prblem reprt #2589.
- Fixed detectin f SQt/Xt packages, by manually checking versins f
- fund packages. Geant4 nly requires a minimum versin.
- Gemetry:
- slids/CSG:
- In wrapper G4UTrap, use GetThetaCsPhi() and GetThetaSinPhi() in
- methd GetVertices(); this vercmes a prblem with trapezid reprted
- in CMSSW after migratin t VecGem 1.2.6.
- Als fixed typ in methd SetAllParameters(), setter used in
- parameterisatin f shape dimensins.
- Glbal:
- G4PhysicsMdelCatalg: added ID fr the Light-In QMD mdel.
- Updated date and versin fr 11.2.1.
- Physics Lists:
- cnstructrs/electrmagnetic
- G4GammaGeneralPrcess: fixed sampling f mun pair prductin.
- Addressing prblem reprt #2543.
- G4EmStandardPhysics_ptin3: restre step limit type t use
- 'fUseDistanceTBundary' and set default RangeFactr frm 0.03 t 0.04,
- fixing inaccuracy in medical benchmarks.
- cnstructrs/gamma_lept_nuclear
- G4NeutrinPhysics: fixed neutrin physics instantiatin.
- Addressing prblem reprt #2594.
- Prcesses - Electrmagnetic:
- dna
- G4DNABrnAngle: fixed numerical prblem; added prtectin fr csTheta;
- use relativistic frmula fr maximum energy transfer t delta-electrns.
- lweneegy
- G4MicrElecInelasticMdel_new: fixed Cverity reprt fr memry leak at
- exit. Minr cde cleanup.
- G4MicrElecLPhnnMdel: minr cde cleanup.
- standard
- G4InICRU73Data: fix fr the case when target material has an element
- with Z>92; imprved debug printuts. In the Lindhard-Srensen mdel t
- cmpute dEdx the first try is t take it frm ICRU73 r ICRU90 data,
- if this class returns zer, then dEdx is cmputed frm G4GenericIn
- and effective charge. Addressing prblem reprt #2586.
- utils
- G4VEmPrcess, G4VEnergyLssPrcess: minr CPU ptimisatin with
- reductin f number f calls fr lg() f kinetic energy.
- xrays
- G4GaussXTRadiatr, G4VXTRenergyLss: flexible summatin in SpectralXTRdEdx;
- clean-up in GetStackFactr() based n std::cmplex methds.
- In G4Scintillatin::sample_time(), refactred the scintillatin time
- sampling.
- Prcesses - Hadrnic:
- crss_sectins
- G4KkulinMunNuclearXS: use faster interface t G4PhysicsVectr.
- G4ElectrNuclearCrssSectin: added lw-energy limit f 100 MeV fr
- crss-sectin.
- management
- G4HadrnicPrcess: explicitly define crss-sectin type per particle
- type, this might prvide sme CPU speedup.
- mdels/de_excitatin
- G4FermiBreakUpVI, G4FermiFragmentsPlVI: fix in prductin f fake
- excited ismeres, by mving the check n lifetime limit t the Initialise()
- methd f the mdel, allwing t change this limit in an applicatin;
- d nt cnsider decay chains with n final state.
- Addressing prblem reprt #2584.
- G4StatMFChannel: replaced use f C-arrays with std::vectr, clearing
- cmpilatin warnings n gcc cmpiler when LT settings are enabled.
- mdels/lend
- Fixed cmpilatin errr n recent Windws VC++ cmpiler 17.8.3 fr use
- f std::isfinite(). Addressing prblem reprt #2582.
- Fixed cmpilatin warnings n gcc cmpiler when LT settings are
- enabled.
- mdels/particle_hp
- G4ParticleHPFissinFS, G4ParticleHPFFFissinFS: added extra prtectins
- against cases when fissin data are nt available fr sme istpes.
- Addressing prblem #2590.
- G4ParticleHPFSFissinFS, G4ParticleHPFissinBaseFS: replaced use f
- C-arrays with std::vectr, clearing cmpilatin warnings n gcc
- cmpiler when LT settings are enabled.
- qmd
- Fixed mdel ID (mdel_LightInQMDMdel) in G4LightInQMDReactin.
- radiactive_decay
- G4Radiactivatin: added DBL_EPSILN check n transitin energy fr
- metastables t prevent creatin f zer energy levels which have n
- decay prducts.
- G4BetaPlusDecay, G4BetaMinusDecay: fixed sampling algrithm.
- Addressing prblem reprt #2588.
- Run:
- Crrectly reprt number f threads frm G4TaskRunManager.
- Tracking:
- G4TrackingMessenger: fixed Cverity reprt fr memry leak at exit,
- by mving static thread-lcal variable t becme class member, as
- G4TrackingManager and its messenger are thread-lcal by nature.
- Examples:
- basic/B2
- Updated PrimaryGeneratrActin::GeneratePrimaries() in B2a and B2b
- examples t avid placing f the initial psitin n the wrld
- bundary. Updated READMEs.
- extended/electrmagnetic/TestEm1
- Updated initial gun psitin in PrimaryGeneratrActin t nt lay n
- the wrld vlume surface.
- extended/electrmagnetic/TestEm5
- Updated initial gun psitin in PrimaryGeneratrActin t nt lay n
- the wrld vlume surface.
- In TrackingActin, added a prtectin against ptential wrng argument
- t std::acs(), rarely happening fr very high energy prjectile
- particles.
- extended/electrmagnetic/TestEm11
- Updated initial gun psitin in PrimaryGeneratrActin t nt lay n
- the wrld vlume surface.
- extended/electrmagnetic/TestEm16
- Updated READMEs t dcument all macrs.
- extended/medical/dna/neurn
- Cleanup t reduce number f Valgrind warnings; applied cding style
- recmmendatins; remved cmmented lines, remved unused methds;
- substituted C-arrays with vectrs; imprved algrithm f reading f
- data file.