Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
9c54eefb
Commit
9c54eefb
authored
Aug 03, 2020
by
Christian Gutschow
Committed by
Chris Hays
Aug 03, 2020
Browse files
Allow for Single Particle Guns setups with unstable particles
parent
2622e3e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Generators/Rivet_i/src/Rivet_i.cxx
View file @
9c54eefb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment