Add new algorithm and a functor for storing Hlt1 TIS/TOS information
The MR adds the following:
- Add
Hlt1TisTos
algorithm (based on the old toolIParicleTisTos
) - Two new functors:
-
F.VALUE
: Functor to get a value fromstd::optional
, if it encountersstd::nullopt
it throws aGaudiException
. -
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
toF.VALUE_OR(<dict>)
. - We also add tests for both
F.VALUE
andF.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)
Edited by Abhijit Mathad