output file

This commit is contained in:
Jan Kieseler
2023-10-13 09:09:02 +02:00
parent 69cc376c5f
commit 381aa6ea91
9 changed files with 42 additions and 9 deletions
+2 -1
View File
@@ -62,7 +62,8 @@ void ActionInitialization::Build() const
gen->setMaxPartEnergy(maxEnergy);
gen->setPartSpecies(partSpecies);
SetUserAction(gen);
auto runact = new RunAction;
runact = new RunAction;
runact -> setFileName(filename);
SetUserAction(runact);
auto eventAction = new EventAction;
eventAction->setRunAction(runact);