Import Geant4 11.3.2 source tree
This commit is contained in:
@@ -6,6 +6,13 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2025-04-04 G.Cosmo (emutils-V11-02-21)
|
||||
- Fix in G4EmTableType header to make self-consistent.
|
||||
Reported in [GitHub PR#85](https://github.com/Geant4/geant4/pull/85).
|
||||
|
||||
## 2025-03-27 V.Ivanchenko
|
||||
- G4VAtomDeexcitation - fixed problem #2650 - allowed to simulate PIXE
|
||||
|
||||
## 2024-10-31 V.Ivanchenko (emutils-V11-02-20)
|
||||
- G4EmCalculator - fixed Coverity warning
|
||||
|
||||
|
||||
@@ -39,10 +39,11 @@
|
||||
// 06.04.21 Removed two types (V.Ivanchenko)
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
#ifndef G4EmTableType_h
|
||||
#define G4EmTableType_h 1
|
||||
|
||||
#include "G4Types.hh"
|
||||
|
||||
enum G4EmTableType
|
||||
{
|
||||
fTotal = 0,
|
||||
@@ -60,7 +61,8 @@ enum G4CrossSectionType
|
||||
fEmTwoPeaks
|
||||
};
|
||||
|
||||
struct G4TwoPeaksXS {
|
||||
struct G4TwoPeaksXS
|
||||
{
|
||||
G4double e1peak;
|
||||
G4double e1deep;
|
||||
G4double e2peak;
|
||||
|
||||
@@ -262,9 +262,9 @@ G4VAtomDeexcitation::AlongStepDeexcitation(std::vector<G4Track*>& tracks,
|
||||
G4double& eLossMax,
|
||||
G4int coupleIndex)
|
||||
{
|
||||
if (!activePIXEMedia[coupleIndex] || eLossMax <= 0.0) { return; }
|
||||
G4double truelength = step.GetStepLength();
|
||||
if(!flagPIXE && !activePIXEMedia[coupleIndex]) { return; }
|
||||
if(eLossMax <= 0.0 || truelength <= 0.0) { return; }
|
||||
if (truelength <= 0.0) { return; }
|
||||
|
||||
// step parameters
|
||||
const G4StepPoint* preStep = step.GetPreStepPoint();
|
||||
|
||||
Reference in New Issue
Block a user