Skip to content

Optimization for TrackIsolationFilter

Kevin Pedro requested to merge github/fork/kpedro88/Run2_2017 into Run2_2017

The mT calculation for PF candidates involves trig operations, which are relatively CPU-heavy. By avoiding this calculation until after most other conditions are checked, the TrackIsolationFilter module's CPU usage is reduced by ~50%. (It is the top TreeMaker-specific module for MC samples with pileup, so a worthwhile reduction.)

Merge request reports

Loading