Skip to content

FIND_DECAY and FIND_MCDECAY functor

Tommaso Fulghesu requested to merge tfulghes-finddecay-functor into master

Create two functor named FIND_DECAY and FIND_MC_DECAY that implements respectively the algorithms DecayFinder (new, see !3091 (merged)) and MCDecayFinder.

To be used in composition with other functors to get information about particles belonging to the decay chain.

FIND_DECAY (FIND_MC_DECAY) is MAP of _FIND_DECAY (_FIND_MC_DECAY), functor accepting const LHCb::Particle* (const LHCb::MCParticle*) or const LHCb::Particle& (const LHCb::MCParticle&) and returning a const LHCb::Particle* (const LHCb::MCParticle*).

TODO:

  • Fix test;
  • Adapt the functor to support MCParticles.

Perhaps related to issue: #356

Example in the DV MR DaVinci!781 (merged)

cc: @amathad

Edited by Tommaso Fulghesu

Merge request reports

Loading