python bindings to be tested (arm vs intep python issues)
This commit is contained in:
@@ -58,6 +58,9 @@ void ActionInitialization::BuildForMaster() const
|
||||
void ActionInitialization::Build() const
|
||||
{
|
||||
auto gen = new PrimaryGeneratorAction;
|
||||
gen->setMinPartEnergy(minEnergy);
|
||||
gen->setMaxPartEnergy(maxEnergy);
|
||||
gen->setPartSpecies(partSpecies);
|
||||
SetUserAction(gen);
|
||||
auto runact = new RunAction;
|
||||
SetUserAction(runact);
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ namespace B4
|
||||
RunAction::RunAction()
|
||||
{
|
||||
// set printing event number per each event
|
||||
G4RunManager::GetRunManager()->SetPrintProgress(1);
|
||||
G4RunManager::GetRunManager()->SetPrintProgress(1000);
|
||||
|
||||
// Create analysis manager
|
||||
// The choice of the output format is done via the specified
|
||||
|
||||
Reference in New Issue
Block a user