Skip to content
Snippets Groups Projects

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

Merged 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

Merge request pipeline #4973002 passed

Merge request pipeline passed for 52184f9e

Approval is optional

Merged by Sebastien PonceSebastien Ponce 2 years ago (Jan 12, 2023 1:49pm UTC)

Merge details

  • Changes merged into master with 17b26eb2 (commits were squashed).
  • Deleted the source branch.

Pipeline #4987804 passed

Pipeline passed for 17b26eb2 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added RTA label

  • Abhijit Mathad changed the description

    changed the description

  • removed RTA label

  • Abhijit Mathad marked this merge request as draft

    marked this merge request as draft

  • added RTA label

  • Sascha Stahl
  • Sascha Stahl
  • Sascha Stahl
  • How would one use the functor in a trigger line? E.g. the Topo will probably cut on something like the TOS of Hlt1(Two)?TrackMVA.*Decision. Would there be another functor which looks this up in the output map of the functor implemented here?

  • Sascha Stahl
  • Sascha Stahl
    • Resolved by Abhijit Mathad

      Thanks for the MR @amathad .

      Need to correctly set the location of Hlt1 DecReport and SelReport (@nskidmor input is needed here).

      The locations seem hard coded. Do we guarantee stability of the locations? In the end these are locations which should come out of a decoder which is functional and can be configured via PyConf.

      Hlt2 Tis/TOS (@graven : Should this be a separate MR?)

      I think HLT2 TisTos can be a separate MR.

      Need to add test in DaVinci (Hope @oozcelik can help me here). Not sure how to go about adding test in Rec.

      See other questions, what about using the functor in lines? There we also need to be able to use TISTOS. Should this be done via functors or via a dedicated algorithm?

  • Sascha Stahl
  • Abhijit Mathad added 1 commit

    added 1 commit

    • 1d8594a3 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Abhijit Mathad added 16 commits

    added 16 commits

    Compare with previous version

  • Abhijit Mathad added 3 commits

    added 3 commits

    Compare with previous version

  • Abhijit Mathad changed title from Draft: Add new functor for storing Hlt1 TIS/TOS/TOB information to Draft: Add new algorithm and a functor for storing Hlt1 TIS/TOS information

    changed title from Draft: Add new functor for storing Hlt1 TIS/TOS/TOB information to Draft: Add new algorithm and a functor for storing Hlt1 TIS/TOS information

  • Abhijit Mathad changed the description

    changed the description

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 2 commits

    added 2 commits

    Compare with previous version

  • Abhijit Mathad added 3 commits

    added 3 commits

    Compare with previous version

  • Abhijit Mathad resolved all threads

    resolved all threads

  • Abhijit Mathad
  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 36 commits

    added 36 commits

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Ozlem Ozcelik mentioned in merge request DaVinci!771 (merged)

    mentioned in merge request DaVinci!771 (merged)

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 17 commits

    added 17 commits

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 5 commits

    added 5 commits

    Compare with previous version

  • Abhijit Mathad added 8 commits

    added 8 commits

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    • acfcb30f - small modification from bool to int

    Compare with previous version

  • Abhijit Mathad added 28 commits

    added 28 commits

    Compare with previous version

  • Abhijit Mathad added 3 commits

    added 3 commits

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad changed the description

    changed the description

  • Abhijit Mathad resolved all threads

    resolved all threads

  • Abhijit Mathad added 21 commits

    added 21 commits

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    • 9a9c0615 - add a new functor and update tests and TisTos

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad mentioned in merge request LHCb!3845 (merged)

    mentioned in merge request LHCb!3845 (merged)

  • Abhijit Mathad changed the description

    changed the description

  • Abhijit Mathad added 1 commit

    added 1 commit

    • fdf11aac - change the invalid value to zero instead of -1

    Compare with previous version

  • Abhijit Mathad added 4 commits

    added 4 commits

    Compare with previous version

  • mentioned in issue #424 (closed)

  • Abhijit Mathad added 15 commits

    added 15 commits

    Compare with previous version

  • Abhijit Mathad added 101 commits

    added 101 commits

    Compare with previous version

  • Ozlem Ozcelik mentioned in merge request Analysis!935 (merged)

    mentioned in merge request Analysis!935 (merged)

  • Abhijit Mathad changed the description

    changed the description

  • Abhijit Mathad added 63 commits

    added 63 commits

    Compare with previous version

  • Ozlem Ozcelik marked this merge request as ready

    marked this merge request as ready

  • assigned to @mramospe

  • Edited by Software for LHCb
  • Abhijit Mathad mentioned in merge request !3219 (merged)

    mentioned in merge request !3219 (merged)

  • Abhijit Mathad added 6 commits

    added 6 commits

    Compare with previous version

  • Abhijit Mathad added 14 commits

    added 14 commits

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 1 commit

    added 1 commit

    Compare with previous version

  • Abhijit Mathad added 19 commits

    added 19 commits

    Compare with previous version

  • Miguel Ramos Pernas resolved all threads

    resolved all threads

  • Edited by Software for LHCb
  • Miguel Ramos Pernas resolved all threads

    resolved all threads

  • Miguel Ramos Pernas assigned to @axu and unassigned @mramospe

    assigned to @axu and unassigned @mramospe

  • Andre Gunther
  • mentioned in issue Moore#506 (closed)

  • Ao Xu unassigned @axu

    unassigned @axu

  • Abhijit Mathad added 72 commits

    added 72 commits

    Compare with previous version

  • Abhijit Mathad resolved all threads

    resolved all threads

  • Abhijit Mathad mentioned in merge request Moore!1987 (closed)

    mentioned in merge request Moore!1987 (closed)

  • Abhijit Mathad changed the description

    changed the description

  • Abhijit Mathad changed the description

    changed the description

  • assigned to @sponce

  • Sebastien Ponce resolved all threads

    resolved all threads

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading