Skip to content

Fix XYZ functions in ThOr and fix functor testing

Mengzhen Wang requested to merge fix_F_XYZ into master

Closes Moore#323 (closed) .

This MR is to be reviewed, ci-tested and merged together with Moore!1031 (merged).

The matching table at https://lhcbdoc.web.cern.ch/lhcbdoc/moore/master/selection/thor_functors.html#functor-translation-table seems to be wrong. The existing F.X, F.Y and F.Z are not designed for vertices but tracks.

This MR defines a new F.VX(Y,Z, Rho) in Composite.h.

Also update BPVVDRHO and BPVVDZ. Not use composite.position(), but Sel::Utils::endVertexPos( composite ) to get the position info. This allows an additional check of whether the object is a legacy particle.

Edited by Rosen Matev

Merge request reports

Loading