Skip to content

Functor to replace MCTupleToolPrompt

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