Skip to content

Add new algorithm and a functor for storing Hlt1 TIS/TOS information

Abhijit Mathad requested to merge AM_Hlt1TisTos into master

The MR adds the following:

  • Add Hlt1TisTos algorithm (based on the old tool IParicleTisTos)
  • Two new functors:
    • F.VALUE: Functor to get a value from std::optional, if it encounters std::nullopt it throws a GaudiException.
    • F.MAP_TO_RELATED: Functor to store TIS/TOS information of user-specified Hlt1 lines using relations table.
  • Changes the functor grammer so that one can pass a dict to F.VALUE_OR(<dict>).
  • We also add tests for both F.VALUE and F.VALUE_OR(<dict>).

This MR only addresses Hlt1 Tis/Tos information. The Hlt2 Tis/TOS needs to be separate MR

Relates to https://gitlab.cern.ch/lhcb-dpa/project/-/issues/142.

To be tested with: LHCb!3845 (merged) DaVinci!771 (merged) Analysis!935 (merged)

FYI: @erodrigu , @pkoppenb , @yingl , @emarinov

Edited by Abhijit Mathad

Merge request reports