check
This commit is contained in:
@@ -60,6 +60,8 @@ 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, (G4String)partSpecies);
|
||||
UImanager->ApplyCommand("/run/initialize");
|
||||
runManager->BeamOn(nEvents);
|
||||
|
||||
Reference in New Issue
Block a user