Skip to content

Cleanup/optimise Hlt2SharedParticles

Olli Lupton requested to merge olupton-basicparticles into master

This MR cuts down on the number of sets of basic particles created in Hlt2.

Some straight duplicates are removed, and other containers are now created by using FilterDesktop on the more inclusive containers. This has the benefit that in most cases (not electrons) the cuts are now explicit LoKi functors, and it's generally faster (I think...)

Unfortunately the electrons are still a bit different to the other species, because running the BremAdder on all tracks without an electron PID requirement is slow. It's unfortunate that it doesn't seem to be possible to run the BremAdder in a separate step, but anyhow this wouldn't help much in the current model where it modifies particles in-place.

The FromL0 particles are also removed, which were cluttering things up in various places but not actually used.

Merge request reports