Fixing some problems in the setup of the ElectronEfficiencyCorrectionTool for PLIV WPs
This MR is to fix several problems with the setup of the ElectronEfficiencyCorrectionTool for the PLIV WP in the TopEgammaCPTools.
-
The PLIV-related checks were not done separately for the instances of the tool for
Loose
andTight
electrons, leading to the fact that e.g. the code crashed due to a seemingly unsupported ID+ISO-combination for loose electrons (even if the isolation WP in the top-config was set toNone
for loose leptons) -
The switch between the
xxx.root
andxxxECIDS.root
files in the e/gamma calibration area (ifUseElectronChargeIDSelection True
is used) did not work. The same files were selected for both configurations.
Edited by Fabio Cardillo