fix attempt
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user