uproot3-methods icon indicating copy to clipboard operation
uproot3-methods copied to clipboard

angle between two vectors

Open wiso opened this issue 4 years ago • 3 comments

Is there a reason why the angle between two vectors is not implemented?

wiso avatar Nov 04 '20 08:11 wiso

You should redirect this to https://github.com/scikit-hep/vector

That's where new development is happening in spatial same Lorentz vectors.

jpivarski avatar Nov 04 '20 12:11 jpivarski

is that mature? Is this deprecated?

wiso avatar Nov 04 '20 13:11 wiso

But uproot-methods is part of the Awkward 0/Uproot 3 project, which will be replaced by Awkward 1/Uproot 4 on December 1, 2020. There are some visible deprecation warnings on some of these, but there are a lot of paths into these libraries, and it's possible that some of them haven't been covered.

Vector is not quite mature (it only has cartesian vectors, the last time I checked), but it needs to become so soon. (Actually, this transition was originally supposed to happen in April, but things happened.)

Uproot 4 doesn't have an equivalent of uproot-methods; separating this out into its own repo hasn't led to widespread community development of ROOT class functionality. Instead, Uproot 4 will have all the behavior overloads built-in (in a separate submodule, but the same repo and package), and these will mostly just have export functions: histograms have to_boost() and to_hist() for exporting to boost-histogram and hist, and TVector2D, TVector3D, TLorentzVector, and the equivalents in ROOT::TMath will be converted (internally by Uproot) into the objects in Vector, in keeping with Uproot being an I/O only library.

jpivarski avatar Nov 04 '20 14:11 jpivarski