Skip to content

Decompose functors in Combination.h

Some basic functors implemented in Combination.h could be simplified using composition to avoid the repetition of vocabulary functions.

  • Maybe it could be possible to use composition with MAX_ELEMENT @ MAP(Functor) and MAP_ALL_OF(Predicate) to get respectively MAXDOCA and MAXDOCACUT (same for SDOCA).

  • Once SUBCOMB (or COMB functor) functor is decomposed by !3236 (closed), also ALV functor (CosAngleBetweenDecayProducts) could be defined using composition probably (TBC)

cc: @graven

Edited by Tommaso Fulghesu