Skip to content

Return values from jet selectors are wrong #197

@graeme-a-stewart

Description

@graeme-a-stewart

The return values from the jet selectors are incorrect, as they create a LorentzVectorCyl, but use the rapidity in place of pseudo rapidity:

LorentzVectorCyl(pt(jet), rapidity(jet), phi(jet), mass(jet)))

and

LorentzVectorCyl(pt(jet), rapidity(jet), phi(jet), mass(jet)))

This needs to be fixed to use correctly the eta(jet).

This has gone unnoticed because in the constructor for FinalJet from a LorentzVectorCyl the pseudo rapidity was taken and used as if it were the rapidity,

FinalJet(LorentzVectorHEP.eta(jet), LorentzVectorHEP.phi(jet),
LorentzVectorHEP.pt(jet)))

which turned out to be the workflow for all of the unit tests.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions