Skip to content
Snippets Groups Projects

Persist muon hits in SelReports

Merged Thomas Boettcher requested to merge thboettc_muon_event_model into master

The goal of this MR is to add muon tracks to the event model and persist muon hits in the SelReports. This has two major uses:

  1. Information about the muon hits can be used in HLT1 selections, such as the number of muon hits shared between two tracks.
  2. The stored hits can be used to study the IsMuon decision in the downstream software.

The muon tile IDs are now recorded as part of the IsMuon algorithm. If multiple hits are found in a station, only the hit closest to the track extrapolation (normalized by the tile dimensions) is kept.

To-do:

  • Create a consolidated muon event model
  • Save muon tile IDs in IsMuon
  • Create consolidated muon track views
  • Add muon segments to BasicParticle
  • Fix validation sequence, which now gives a segfault on the CPU

Should be tested with LHCb!4413 (merged)

FYI @acasaisv

Edited by Thomas Boettcher

Merge request reports

Merged by Christina AgapopoulouChristina Agapopoulou 1 year ago (Jan 28, 2024 8:16pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Great to see this developing @thboettc!

  • Thanks a lot for starting this @thboettc !!

  • added 1 commit

    • c3a77944 - Add ConsolidateIsMuon to sequence

    Compare with previous version

  • Thomas Boettcher marked the checklist item Create consolidated muon track views as completed

    marked the checklist item Create consolidated muon track views as completed

  • Thomas Boettcher marked the checklist item Add muon segments to BasicParticle as completed

    marked the checklist item Add muon segments to BasicParticle as completed

  • Thomas Boettcher added 2 commits

    added 2 commits

    Compare with previous version

  • added 1 commit

    • de417a1a - Keep only the best matching muon hit.

    Compare with previous version

  • added 1 commit

    Compare with previous version

    • Resolved by Thomas Boettcher

      Tracks were often hitting the maximum number of hits, so I reworked the logic here so only the "best" hit is saved for each station. I define "best" as the hit with the smallest

      (x_{\rm true}-x_{\rm extrap})^2/dx^2 + (y_{\rm true} - y_{\rm extrap})^2/dy^2
      , where
      dx
      and
      dy
      are the tile dimensions. I'm not sure if this is the best choice. Ideally we'd be able to match the strategy for building muon tracks in HLT2 as closely as possible.

      @acasaisv any ideas? We should probably also test how much this affects the shared muon cut (i.e. is it still useful if we only save 1 hit per station?).

  • added 1 commit

    • b901925e - Expand CheckerTrack id array length to include muon IDs.

    Compare with previous version

  • Thomas Boettcher marked the checklist item Fix validation sequence, which now gives a segfault on the CPU as completed

    marked the checklist item Fix validation sequence, which now gives a segfault on the CPU as completed

  • Dorothea Vom Bruch resolved all threads

    resolved all threads

  • Thomas Boettcher changed the description

    changed the description

  • added 1 commit

    • 517f8ca4 - Add type conversion for MuonTileID to LHCbID

    Compare with previous version

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