Skip to content

FunTuple support for tupling vector ThOr functors with LingAlg::Vec type and improve error message

Abhijit Mathad requested to merge AM_tuple_LinAlg into master

Support tupling of ThOr functors that output vectors (e.g. Rec!2643 (merged)).

  • For v1 the types:
    • Three vector type is LHCb::LinAlg::Vec<double, 3>.
    • Three vector type is LHCb::LinAlg::Vec3<double>.
    • Four vector type is LHCb::LinAlg::Vec<double, 4>;.
  • For v2 the types:
    • Three vector type is LHCb::LinAlg::Vec<SIMDWrapper::scalar::float_v, 3>.
    • Three vector type is LHCb::LinAlg::Vec3<SIMDWrapper::scalar::float_v>.
    • Four vector type is LHCb::LinAlg::Vec<SIMDWrapper::scalar::float_v, 4>.

Also improve error message when tupling, giving user hint as to which exact functor is failing.

cc: @mferrill

Towards DPA task https://gitlab.cern.ch/lhcb-dpa/project/-/issues/121.

Edited by Abhijit Mathad

Merge request reports

Loading