rivet is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (Repository path '/hepforge/hg/rivet/public/rivet' does not exist.). Look in the Trac log for more information.

Opened 11 years ago

Last modified 7 years ago

#303 assigned enhancement

Improve InvMassFinalState interface

Reported by: Andy Buckley Owned by: Andy Buckley
Priority: major Milestone: 2.2.0 -- jets, tagging, cuts
Component: Projections Version: HEAD
Keywords: Cc: Frank Siegert

Description

As Adam Davison mentioned, the InvMassFinalState? interface is pretty crap:

I've been trying to use the InvMassFinalState class but the interface 
seems a bit difficult. It returns all particles that could be used to 
make, for example a Z, excluding duplicates. This means that if there's 
more than one candidate in an event, it can do some wierd things, like 
return a list of 3 or 5 particles. This makes it quite hard to apply any 
further cuts to the candidates, like pt, since in order to identify 
which particles are actually matching pairs, you have to loop over 
everything again anyway.

The ZFinder, which is the only place in Rivet I saw this being used 
returns if the size of the list isn't 2. Which unless I've 
misunderstood, potentially throws away events with good Z candidates in.

Change History (5)

comment:1 Changed 11 years ago by Andy Buckley

Status: newassigned

comment:2 Changed 11 years ago by Andy Buckley

Cc: Frank Siegert added

Frank, can you take a look at improving this? I'm a little disconnected from how it would be best from a user perspective!

comment:3 Changed 11 years ago by Andy Buckley

Milestone: Version 1.2.0Version 1.3.0

comment:4 Changed 8 years ago by Andy Buckley

Milestone: 2.0.02.1.0

comment:5 Changed 7 years ago by Andy Buckley

Milestone: 2.1.02.2.0
Note: See TracTickets for help on using tickets.