Skip to content

Commit

Permalink
[evtgen] add additional arguments as used by stephane monteil
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
vvolkl committed Oct 14, 2020
1 parent 4741bdd commit 3923383
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Generation/src/components/PythiaInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,17 @@ StatusCode PythiaInterface::initialize() {

// Set up evtGen
if (m_doEvtGenDecays) {
m_evtgen = new EvtGenDecays(m_pythiaSignal.get(), m_EvtGenDecayFile.value(), m_EvtGenParticleDataFile.value());
m_evtgen = new EvtGenDecays(
m_pythiaSignal.get(), // the pythia instance
m_EvtGenDecayFile.value(), // the file name of the evtgen decay file
m_EvtGenParticleDataFile.value(), // the file name of the evtgen data file
nullptr, // the optional EvtExternalGenList pointer (must be be provided if the next argument is provided to avoid double initializations)
nullptr, // the EvtAbsRadCorr pointer to pass to EvtGen
1, // the mixing type to pass to EvtGen
false, // a flag to use XML files to pass to EvtGen
true, // a flag to limit decays based on the Pythia criteria (based on the particle decay vertex)
true, // a flag to use external models with EvtGen
false); // a flag if an FSR model should be passed to EvtGen (pay attention to this, default is true)
m_evtgen->readDecayFile(m_EvtGenDecayFile);
}

Expand Down

0 comments on commit 3923383

Please sign in to comment.