Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
// This class helps G4ErrorPropagatorManager with the initialization of
|
||||
// This class helps G4ErrorPropagatorManager with the initialization of
|
||||
// geometry and physics, definition of actions and run termination
|
||||
// (things done by G4RunManager in an standard GEANT4 run)
|
||||
// It holds a pointer to G4RunManagerKernel
|
||||
@@ -49,49 +49,45 @@ class G4VUserPhysicsList;
|
||||
class G4UserTrackingAction;
|
||||
class G4UserSteppingAction;
|
||||
|
||||
class G4ErrorRunManagerHelper
|
||||
class G4ErrorRunManagerHelper
|
||||
{
|
||||
|
||||
public: // with description
|
||||
|
||||
G4ErrorRunManagerHelper();
|
||||
virtual ~G4ErrorRunManagerHelper();
|
||||
|
||||
static G4ErrorRunManagerHelper* GetRunManagerKernel();
|
||||
// Static method which returns the singleton pointer of
|
||||
// G4ErrorRunManagerHelper
|
||||
// Static method which returns the singleton pointer of
|
||||
// G4ErrorRunManagerHelper
|
||||
|
||||
void SetUserInitialization(G4VUserDetectorConstruction* userInit);
|
||||
// Initialize geometry by passing a G4VUserDetectorConstruction
|
||||
// Initialize geometry by passing a G4VUserDetectorConstruction
|
||||
void SetUserInitialization(G4VPhysicalVolume* userInit);
|
||||
// Initialize geometry by passing a G4VPhysicalVolume
|
||||
// Initialize geometry by passing a G4VPhysicalVolume
|
||||
|
||||
void SetUserInitialization(G4VUserPhysicsList* userInit);
|
||||
// Initializes physics
|
||||
// Initializes physics
|
||||
|
||||
void SetUserAction(G4UserTrackingAction* userAction);
|
||||
// Set the user tracking action
|
||||
// Set the user tracking action
|
||||
void SetUserAction(G4UserSteppingAction* userAction);
|
||||
// Set the user stepping action
|
||||
// Set the user stepping action
|
||||
|
||||
void RunInitialization();
|
||||
// Invokes G4RunManagerKernel RunInitialization();
|
||||
// Invokes G4RunManagerKernel RunInitialization();
|
||||
|
||||
void InitializeGeometry();
|
||||
// Initializes GEANT4 geometry
|
||||
// Initializes GEANT4 geometry
|
||||
void InitializePhysics();
|
||||
// Initializes GEANT4 physics
|
||||
// Initializes GEANT4 physics
|
||||
|
||||
void RunTermination();
|
||||
// Invokes G4RunManagerKernel RunTermination();
|
||||
// Invokes G4RunManagerKernel RunTermination();
|
||||
|
||||
G4VUserPhysicsList* GetUserPhysicsList() const
|
||||
{ return theUserPhysicsList; }
|
||||
G4VUserPhysicsList* GetUserPhysicsList() const { return theUserPhysicsList; }
|
||||
|
||||
private:
|
||||
|
||||
static G4ThreadLocal G4ErrorRunManagerHelper* fRunManagerKernel;
|
||||
|
||||
|
||||
G4VUserPhysicsList* theUserPhysicsList;
|
||||
G4VPhysicalVolume* theUserWorld;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user