32 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4VUserPhysicsList {
46 get_override(
"ConstructParticle")();
50 get_override(
"ConstructProcess")();
54 get_override(
"SetCuts")();
77 StorePhysicsTable, 0, 1)
84 using namespace pyG4VUserPhysicsList;
91 class_<CB_G4VUserPhysicsList, CB_G4VUserPhysicsList*, boost::noncopyable>
92 (
"G4VUserPhysicsList",
"base class of user physics list")
94 .def(
"ConstructParticle",
96 .def(
"ConstructProcess",
105 f_StorePhysicsTable())
106 .def(
"IsPhysicsTableRetrieved",
109 .def(
"GetPhysicsTableDirectory",
111 return_value_policy<return_by_value>())
118 .def(
"DumpCutValuesTableIfRequested",
void SetCutsForRegion(G4double aCut, const G4String &rname)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
G4double GetDefaultCutValue() const
G4bool IsStoredInAscii() const
const G4String & GetPhysicsTableDirectory() const
G4bool IsPhysicsTableRetrieved() const
void(G4VUserPhysicsList::* f2_SetParticleCuts)(G4double, G4ParticleDefinition *, G4Region *)
G4int GetVerboseLevel() const
void SetParticleCuts(G4double cut, G4ParticleDefinition *particle, G4Region *region=0)
void(G4VUserPhysicsList::* f1_SetParticleCuts)(G4double, G4ParticleDefinition *, G4Region *)
G4bool GetApplyCuts(const G4String &name) const
void SetCutsWithDefault()
virtual void ConstructParticle()=0
void SetDefaultCutValue(G4double newCutValue)
void DumpCutValuesTableIfRequested()
void ResetStoredInAscii()
G4bool StorePhysicsTable(const G4String &directory=".")
void SetCutValue(G4double aCut, const G4String &pname)
void(G4VUserPhysicsList::* f1_SetCutValue)(G4double, const G4String &)
void SetVerboseLevel(G4int value)
void DumpCutValuesTable(G4int flag=1)
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData
virtual void ConstructProcess()=0
void export_G4VUserPhysicsList()
void(G4VUserPhysicsList::* f2_SetCutValue)(G4double, const G4String &, const G4String &)