Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -6,6 +6,10 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2024-10-10 Pedro Arce (procscore-V11-02-00)
|
||||
- Safeguard for 0 energy deposited in G4EnergySplitter
|
||||
- Fix bug #2629
|
||||
|
||||
## 2023-08-31 Gabriele Cosmo (procscore-V11-01-03)
|
||||
- Removed unnecessary forward declarations to G4VTouchable.
|
||||
- Minor code cleanup.
|
||||
|
||||
@@ -61,6 +61,10 @@ G4int G4EnergySplitter::SplitEnergyInVolumes(const G4Step* aStep)
|
||||
|
||||
G4double edep = aStep->GetTotalEnergyDeposit();
|
||||
|
||||
if( edep == 0. ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef VERBOSE_ENERSPLIT
|
||||
G4bool verbose = 1;
|
||||
if (verbose)
|
||||
|
||||
Reference in New Issue
Block a user