Skip to content
Snippets Groups Projects

Functor to replace MCTupleToolPrompt

Merged Aodhan Burke requested to merge aburke/mcprompt into master

Functor writing campaign: https://gitlab.cern.ch/lhcb-dpa/project/-/issues/61

Functor to replace the Run 2 tuple tool here.

General idea:

  • loop over ancestral history of a MCParticle
  • get the true (PDG) lifetimes of each ancestor
  • if any lifetime > 0.1 fs the MCParticle is considered not prompt

If not prompt, the Run 2 tool also created _ID and _KEY branches of the first long lived ancestor.
Changed here to first create FirstLongLivedAncestor Functor with IsPrompt Functor built on top. (thanks to @jzhuo)

This should be tested with: DaVinci!800 (merged) and Analysis!937 (merged)

Edited by Jiahui Zhuo

Merge request reports

Loading
Loading

Activity

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

    added 32 commits

    Compare with previous version

  • assigned to @jzhuo

  • Jiahui Zhuo added 1 commit

    added 1 commit

    Compare with previous version

  • Jiahui Zhuo resolved all threads

    resolved all threads

  • Jiahui Zhuo added 1 commit

    added 1 commit

    Compare with previous version

  • Jiahui Zhuo requested review from @amathad, @pkoppenb, and @erodrigu

    requested review from @amathad, @pkoppenb, and @erodrigu

  • Eduardo Rodrigues removed review request for @erodrigu

    removed review request for @erodrigu

  • [Removing myself as I'm not responsible for Rec as project and am not a FunctorCore expert/responsible.]

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