|
[Rivet] UnstableFinalState::particlesByPt() not working?David Grellscheid david.grellscheid at durham.ac.ukTue Jan 24 14:33:14 GMT 2012
Hi Kiran, can you please send a minimal analysis file that can be compiled with 'rivet-buildplugin' which shows the problem? Thanks, David On 24/01/12 14:29, Kiran Joshi wrote: > Hello, > > When I do something like: > const ParticleVector& unstableFS = applyProjection<UnstableFinalState>(event, "UNSTABLE_FS").particlesByPt(); > I find that the ParticleVector is empty. > > However, when I instead do: > const ParticleVector& unstableFS = applyProjection<UnstableFinalState>(event, "UNSTABLE_FS").particles(); > I can see the (several hundred) unstable final state particles that I expect to find. > > I have been defining my UnstableFinalState as follows: > UnstableFinalState unstable_fs(-4.5, 4.5, 0.0*GeV); > addProjection(unstable_fs, "UNSTABLE_FS"); > > Is this a bug, or is particlesByPt() not supposed to be used with the UnstableFinalState? > (Or am I just implementing it incorrectly?) > > Thanks, > Kiran > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > http://www.hepforge.org/lists/listinfo/rivet
More information about the Rivet mailing list |