From 7716c03bf5cc77cba4a237f1c73858d66414dc8a Mon Sep 17 00:00:00 2001 From: Jan Kieseler Date: Fri, 8 Sep 2023 17:28:11 +0200 Subject: [PATCH] fix attempt --- src/SystemBuilder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SystemBuilder.cc b/src/SystemBuilder.cc index 48d5cf6..a062ce4 100644 --- a/src/SystemBuilder.cc +++ b/src/SystemBuilder.cc @@ -62,7 +62,7 @@ void SystemBuilder::run_gui(){ void SystemBuilder::run_batch(int nEvents, std::string partSpecies, double minEnergy, double maxEnergy){ G4String partSpec = (G4String)partSpecies; G4cout << "running with particle species " << partSpec << G4endl; - actionInitialization->setGeneratorProperties(minEnergy, maxEnergy, partSpec; + actionInitialization->setGeneratorProperties(minEnergy, maxEnergy, partSpec); UImanager->ApplyCommand("/run/initialize"); runManager->BeamOn(nEvents); } \ No newline at end of file