FIND_DECAY and FIND_MCDECAY functor
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
Merge request reports
Activity
assigned to @tfulghes
added RTA label
mentioned in issue #403
- Resolved by Tommaso Fulghesu
Just to add a todo here from the private conversation. Need to extend the support to MCParticles, this is particularly useful for semileptonic and other WGs to get true information of partially reconstructed decays.
added DPA-WP3 label
- Resolved by Tommaso Fulghesu
added 33 commits
-
f47a4ee3...8914b6e6 - 17 commits from branch
master
- 37ed61b1 - First setup for the FIND_DECAY functor
- 334505f1 - Add FIND_DECAY functor tests
- 41d90abd - Adapt changes on tests
- 06d82798 - Fixed formatting
- 295679aa - Fixed formatting
- d01aff6f - Add mask
- 3c6932cd - Fix test error
- 01e879c9 - Adding test on InstantiateFunctors
- 168e384e - Fixed formatting
- f446f4f3 - Type fix
- f3a0b87b - Fixed formatting
- 6b1996c8 - Add MC decay finder
- e55dcd68 - Fix MC Decay Finder implementation
- e40f544a - Fix template argument
- ab5cc8cd - Fix MC checks
- 68f19341 - Separate functors, introduce mask, improve tests
Toggle commit list-
f47a4ee3...8914b6e6 - 17 commits from branch