Skip to content

WIP: add ADD and OR functions

Katya Govorkova requested to merge katya-add-AND-OR into master

one of the possible solutions to #3 (closed)

AND() and OR()

We want to allow users to define the order of algorithms.

Use case from @graven: in J/\psi \phi line we want to not combine \phi \to K^+K^- if there is no J/\psi in the event. So, we want to first look for J/\psi.

In order to allow user to impose the order we introduce OR() and AND() functions, which take as an input the list of algorithms and creates CompositeNode with the logic type defined in the name. Where OR is NONLAZY by default and AND is LAZY by default, however this behaviour can be changed if needed.

Merge request reports