The following MR adds examples for testing the WeightedRelationAlg and the functors for the evaluation of track isolation, f.e. SUMCONE, MAXCONE, MINCONE, ASYM.
Option file for testing the ParticleIsolationAlg algorithm and the related ThOr functors SUMCONE and SUM_RANGE.
The job runs over a spruced sample and retrieves a set of B0 -> Ds K+ candidates. For each candidate the ParticleIsolationAlg
looks at the TES location defined via the 'make_long_pions_from_spruce' function and creates a 'one-to-many' relation map
relating all the available tracks to the B candidate of the events.
Then the SUMCONE functor takes in input this relation map and evaluates the sum of the result of the application of an external functor (i.e F.P, F.PT)