-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The current coordinate systems XYZT, PxPyPzE, PtEtaPhiM are very inconsistent what and how they define. For instance in PxPyPzE.jl there are defined accessors for any coordinate system
| x(cs, p) = px(p) |
The correspondence between x, y, z,t and px,py,pz,E is mentioned only in their docstring. It's not reflected in the "interface" code (only added ad-hoc in PxPyPzE.jl).
I'm not sure if this can be automatically enforced (or even desired), but I think the provided coordinate systems should follow the design described in the docs. that is defining all accessors from except accessors from coordinate_names. In particular XYZT with coordinate_names=(:x, :y, :z, :t) shouldn't define x, y,z,t and leave them to vector types
Metadata
Metadata
Assignees
Labels
No labels