Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+8 -1
View File
@@ -41,6 +41,8 @@
#include "G4UserLimits.hh"
#include "G4VSensitiveDetector.hh" // Include from 'hits/digi'
#include "G4GeometryTolerance.hh"
#include "G4Profiler.hh"
#include "G4TiMemory.hh"
//////////////////////////////////////
G4SteppingManager::G4SteppingManager()
@@ -112,6 +114,10 @@ G4SteppingManager::~G4SteppingManager()
G4StepStatus G4SteppingManager::Stepping()
//////////////////////////////////////////
{
#ifdef GEANT4_USE_TIMEMORY
ProfilerConfig profiler{ fStep };
#endif
//--------
// Prelude
//--------
@@ -254,7 +260,8 @@ G4StepStatus G4SteppingManager::Stepping()
G4UserSteppingAction* regionalAction = fStep->GetPreStepPoint()
->GetPhysicalVolume()->GetLogicalVolume()
->GetRegion()->GetRegionalSteppingAction();
if( regionalAction ) regionalAction->UserSteppingAction(fStep);
if(regionalAction)
regionalAction->UserSteppingAction(fStep);
// Stepping process finish. Return the value of the StepStatus
//