RD common builders in the ThOr framework
**See !1150 (merged) **
This is an attempt to migrate the rdbuilder.py
(the original rdbuilder.py is preserved as is for now) to the ThOr framework, simultaneously adding several new useful hadronic combiners.
The dilepton builders are for now kept minimalistic without MVA as the ParticleFilterWithTMVA
does not seem to be easy to port to ThOr.
Similarly, the neutral particle builders are kept minimalistic as the CL
does not seem to be available yet.
The V0 builders (KS, Lambda) are built from scratch as filtering (e.g. applying child IP cuts) the existing ones built in the Hlt2 is apparently not trivial.
I also took some freedom to alter some of the cuts which existed in the LoKi version which I did not consider as necessary (e.g. hasRich requirement for every downstream track).
A dummy setup was used to check that this code does not crash as is, but it still needs to be tested in a real-life envirnoment for some brand new ThOr-based HLT line.
Some TODOs (can be done after merging this code):
- Add the loose lifetime cut on V0 candidates after the BPVLTIME functor is fixed (Rec!2486 (closed), Rec!2566 (merged))
- Add CL cuts on the neutrals
- migrate ParticleFilterWithTMVA once they are ThOr-compatible. Until then, they can be sourced from the LoKi rdbuilder.
- If CHILD functors become available, revisit the tau->3pi combiner adding the second OS-dipion mass cut.