32 #include <boost/python.hpp>
90 DefineWorldVolume, 1, 2)
105 class_<G4RunManager, boost::noncopyable>
106 (
"G4RunManager",
"run manager class")
109 "Get an instance of G4RunManager",
110 return_value_policy<reference_existing_object>())
111 .staticmethod(
"GetRunManager")
118 f_BeamOn((arg(
"n_event"), arg(
"macroFile")=0,
120 "Starts event loop."))
131 .def(
"GetUserDetectorConstruction",
133 return_internal_reference<>())
134 .def(
"GetUserPhysicsList",
136 return_internal_reference<>())
137 .def(
"GetUserPrimaryGeneratorAction",
139 return_internal_reference<>())
141 return_internal_reference<>())
143 return_internal_reference<>())
145 return_internal_reference<>())
147 return_internal_reference<>())
149 return_internal_reference<>())
152 f_AbortRun((arg(
"soft_abort")=
false),
153 "Abort run (event loop)."))
156 f_DefineWorldVolume())
161 .def(
"RestoreRandomNumberStatus",
167 f_GeometryHasBeenModified())
171 return_value_policy<reference_existing_object>())
173 return_value_policy<reference_existing_object>())
176 return_value_policy<reference_existing_object>())
178 return_internal_reference<>())
void GeometryHasBeenModified(G4bool prop=true)
G4int GetVerboseLevel() const
virtual void AbortRun(G4bool softAbort=false)
const G4String & GetVersionString() const
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
const G4VUserPrimaryGeneratorAction * GetUserPrimaryGeneratorAction() const
void(G4RunManager::* f1_DumpRegion)(const G4String &) const
void(G4RunManager::* f1_SetUserInitialization)(G4VUserDetectorConstruction *)
void(G4RunManager::* f6_SetUserAction)(G4UserSteppingAction *)
const G4String & GetRandomNumberStoreDir() const
void SetVerboseLevel(G4int vl)
G4bool GetRandomNumberStore() const
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
void(G4RunManager::* f2_SetUserAction)(G4VUserPrimaryGeneratorAction *)
virtual void BeamOn(G4int n_event, const char *macroFile=0, G4int n_select=-1)
void SetRandomNumberStore(G4bool flag)
const G4UserSteppingAction * GetUserSteppingAction() const
const G4Run * GetCurrentRun() const
G4bool GetGeometryToBeOptimized()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
virtual void RestoreRandomNumberStatus(const G4String &fileN)
virtual void rndmSaveThisRun()
void(G4RunManager::* f5_SetUserAction)(G4UserTrackingAction *)
const G4UserStackingAction * GetUserStackingAction() const
void PhysicsHasBeenModified()
virtual void rndmSaveThisEvent()
const G4UserEventAction * GetUserEventAction() const
const G4UserTrackingAction * GetUserTrackingAction() const
void(G4RunManager::* f3_SetUserAction)(G4UserEventAction *)
static G4RunManager * GetRunManager()
void SetRunIDCounter(G4int i)
void(G4RunManager::* f1_SetUserAction)(G4UserRunAction *)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DefineWorldVolume, DefineWorldVolume, 1, 2) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_GeometryHasBeenModified
virtual void Initialize()
virtual void AbortEvent()
const G4UserRunAction * GetUserRunAction() const
const G4Event * GetCurrentEvent() const
const G4VUserPhysicsList * GetUserPhysicsList() const
void SetRandomNumberStoreDir(const G4String &dir)
void(G4RunManager::* f4_SetUserAction)(G4UserStackingAction *)
void(G4RunManager::* f2_DumpRegion)(G4Region *) const
void(G4RunManager::* f2_SetUserInitialization)(G4VUserPhysicsList *)
void DumpRegion(const G4String &rname) const
virtual void SetUserAction(G4UserRunAction *userAction)
void export_G4RunManager()