Commit 9c54eefb authored by Christian Gutschow's avatar Christian Gutschow Committed by Chris Hays
Browse files

Allow for Single Particle Guns setups with unstable particles

parent 2622e3e7
......@@ -409,7 +409,7 @@ const HepMC::GenEvent* Rivet_i::checkEvent(const HepMC::GenEvent* event) {
if (!modEvent->valid_beam_particles()) {
if (m_isSPG && modEvent->particles_size() == 1) {
if (m_isSPG) {
// a single particle gun only has one particle without
// a production vertex. In this kludge, we add a
// dummy vertex with an exact copy of the particle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment