diff --git a/Generators/share/egconfig/pythia8_NeNe.cfg b/Generators/share/egconfig/pythia8_NeNe.cfg new file mode 100644 index 0000000000000..fff1dbb5f3d59 --- /dev/null +++ b/Generators/share/egconfig/pythia8_NeNe.cfg @@ -0,0 +1,8 @@ +### beams +Beams:idA 1000100200 # Neon +Beams:idB 1000100200 # Neon +Beams:eCM 10720. # GeV + +### decays +ParticleDecays:limitTau0 on +ParticleDecays:tau0Max 10. diff --git a/Generators/src/GeneratorPythia8.cxx b/Generators/src/GeneratorPythia8.cxx index 385eb148412ef..e883ceb6470a9 100644 --- a/Generators/src/GeneratorPythia8.cxx +++ b/Generators/src/GeneratorPythia8.cxx @@ -209,6 +209,8 @@ Bool_t GeneratorPythia8::Init() mPythia.setUserHooksPtr((Pythia8::UserHooksPtr)powhegHooks); } } + /** Add 20Neon to collision particle database */ + mPythia.particleData.addParticle(1000100200, "20Ne", 6, 30, 0, 19.992440); /** initialise **/ if (!mPythia.init()) { LOG(fatal) << "Failed to init \'Pythia8\': init returned with error";