Skip to content

Need coordinate transformation functions with momentum names #168

Closed
@jpivarski

Description

@jpivarski

I just wrote up an example that transformed a Cartesian Lorentz vector into cylindrical coordinate system with pseudorapidity and mass, and I had to say

lorentz_vector.to_rhophietatau()

although we had been talking about "pt", "phi", "eta", and "mass" coordinates earlier. What's worse, the Awkward backend makes these the field names. All 12 conversion functions should have momentum-named equivalents that ensure that the output array has momentum field names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions