Add the option to apply medium photon ID WP
The purpose of this MR is to make it general to apply both tight and medium photon ID (the current version only works for tight ID).
-
Tested code with both tight and medium ID, obtained the same number of events:
-
Tight ID: compared with the current version
-
Medium ID: compared with the version in which simply modified for medium ID
-
See the plots of "events passed" with both tight and medium ID here (VBFHH_SM mc20a: all events and 1k): https://sizhang.web.cern.ch/sizhang/PublicPlots/ATLASresults/non-resonant-HHbbyy/Plots/medium_photonID/MR1210/
- You can see the difference of the labels "TWO_TIGHTID_PHOTONS/TWO_MEDIUMID_PHOTONS" and "TWO_TIGHTID_ISO_PHOTONS/TWO_MEDIUMID_ISO_PHOTONS" clearly.
-
-
The way to apply medium ID (default is tight ID):
-
bbyyAnalysis/share/RunConfig-bbyy-base.yaml : move this line to the first in "extra_wps:" of 'Photon'
- ["Medium", "FixedCutLoose"]
-
bbyyAnalysis/share/RunConfig-bbyy-skimming-loose.yaml (or anyone else): use the following lines:
- TWO_MEDIUMID_PHOTONS
- TWO_MEDIUMID_ISO_PHOTONS
instead of the default:
- TWO_TIGHTID_PHOTONS
- TWO_TIGHTID_ISO_PHOTONS
-