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
+10
View File
@@ -40,6 +40,8 @@
#include "G4TransportationManager.hh"
#include "G4Navigator.hh"
#include "Randomize.hh"
#include "G4Profiler.hh"
#include "G4TiMemory.hh"
G4ThreadLocal G4EventManager* G4EventManager::fpEventManager = nullptr;
@@ -128,6 +130,10 @@ void G4EventManager::DoProcessing(G4Event* anEvent)
if(userEventAction) userEventAction->BeginOfEventAction(currentEvent);
#if defined(GEANT4_USE_TIMEMORY)
eventProfiler.reset(new ProfilerConfig(currentEvent));
#endif
#ifdef G4VERBOSE
if ( verboseLevel > 1 )
{
@@ -247,6 +253,10 @@ void G4EventManager::DoProcessing(G4Event* anEvent)
sdManager->TerminateCurrentEvent(currentEvent->GetHCofThisEvent());
}
#if defined(GEANT4_USE_TIMEMORY)
eventProfiler.reset();
#endif
if(userEventAction)
{
userEventAction->EndOfEventAction(currentEvent);