Modify ↓
#248 closed enhancement (fixed)
Fastjet scale setter and selectors
Reported by: | Generic User (don't modify these fields) | Owned by: | support@sherpa-mc.de |
---|---|---|---|
Priority: | minor | Milestone: | rel-2.0.0 |
Component: | Unknown | Version: | 1.4.0 |
Keywords: | Cc: |
Description
I couldn't find anywhere in Fastjet docs whether ClusterSequence::inclusive_jets output is guaranteed to be ordered in any defined way.
Examples in the manual and the source code suggest that one has to take care of it in the calling code. For instance it will be useful to have them sorted by p_t e.g.
std::vector<fastjet::PseudoJet> jets = fastjet::sorted_by_pt(cs.inclusive_jets());
(see attached patch for details)
In such case it will be possible to use FastjetSelector to add a cut on the hardest jet.
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | 0001-Sort-jets-by-p_t.patch added |
---|
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Milestone: | → rel-2.0.0 |
---|
Note: See
TracTickets for help on using
tickets.
Thanks for the patch. It is implemented into the current trunk and will be in the next release.