Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ class G4RunManager
inline void SetRandomNumberStoreDir(const G4String& dir)
{
G4String dirStr = dir;
if(dirStr(dirStr.length() - 1) != '/')
if(dirStr.back() != '/')
dirStr += "/";
#ifndef WIN32
G4String shellCmd = "mkdir -p ";
+8 -1
View File
@@ -51,6 +51,7 @@
#include "G4VUPLSplitter.hh"
#include "G4Threading.hh"
#include "G4PhysicsModelCatalog.hh"
class G4UserPhysicsListMessenger;
class G4PhysicsListHelper;
@@ -222,7 +223,11 @@ class G4VUserPhysicsList
void RemoveProcessManager();
// Remove and delete ProcessManagers for all particles in the
// Particle Table. Function invoked from RunManager.
// Particle Table.
void RemoveTrackingManager();
// Remove and delete TrackingManagers for all particles in the
// Particle Table.
void AddProcessManager(G4ParticleDefinition* newParticle,
G4ProcessManager* newManager = nullptr);
@@ -318,6 +323,8 @@ inline void G4VUserPhysicsList::Construct()
G4cout << "G4VUserPhysicsList::Construct()" << G4endl;
#endif
if ( G4Threading::IsMasterThread() ) G4PhysicsModelCatalog::Initialize();
InitializeProcessManager();
#ifdef G4VERBOSE