material printout added but doesn't work yet

This commit is contained in:
Jan Kieseler
2023-09-22 12:14:36 +02:00
parent 5344586a7a
commit fb00ca0a7a
4 changed files with 14 additions and 2 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ void makeG4System(M& m, std::string name){
.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"))
.def("applyUICommand", &G4System::applyUICommand, py::arg("command"));
.def("applyUICommand", &G4System::applyUICommand, py::arg("command"))
.def("printMaterial", &G4System::printMaterial, py::arg("name"));
}
PYBIND11_MODULE(minicalo, m) {