File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
GeneratorInterface/Pythia8Interface/src Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,15 @@ namespace gen {
7070 }
7171
7272 bool Py8HMC3InterfaceBase::readSettings (int ) {
73+ // Pythia 8's default value for first argument to constructor
74+ const string xmlDir = " ../share/Pythia8/xmldoc" ;
75+ bool printBanner = true ;
76+ if (fParameters .exists (" printBanner" )) {
77+ printBanner = fParameters .getUntrackedParameter <bool >(" printBanner" );
78+ }
7379 if (!fMasterGen .get ())
74- fMasterGen = std::make_unique<Pythia>();
75- fDecayer = std::make_unique<Pythia>();
80+ fMasterGen = std::make_unique<Pythia>(xmlDir, printBanner );
81+ fDecayer = std::make_unique<Pythia>(xmlDir, printBanner );
7682
7783 // add settings for resonance decay filter
7884 fMasterGen ->settings .addFlag (" BiasedTauDecayer:filter" , false );
You can’t perform that action at this time.
0 commit comments