detector change might work - might

This commit is contained in:
Jan Kieseler
2023-09-20 22:51:37 +02:00
parent a6dfa6079c
commit bdcd83e63f
5 changed files with 35 additions and 19 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void makeConstructionWrapper(M & m, std::string name){
template<class M>
void makeG4System(M& m, std::string name){
py::class_<G4System>(m, name.data()).def(py::init())
.def("init", &G4System::init, py::arg("cw"), py::arg("gui")=false)
.def("init", &G4System::init, py::arg("cw"))
.def("run_gui", &G4System::run_gui)
.def("run_batch", &G4System::run_batch, py::arg("nEvents"), py::arg("partSpecies"), py::arg("minEnergy_GeV"), py::arg("maxEnergy_GeV"))
.def("run_visualize", &G4System::run_visualize, py::arg("partSpecies"), py::arg("minEnergy_GeV"), py::arg("maxEnergy_GeV"))