Evaluate preselection on corrected photon variables
Currently, we evaluate the photon preselection with respect to uncorrected inputs even if flow corrections are applied. We do decorate the photons with corrected inputs and use those to evaluate the ID, but this is not reflected in the preselection. Relevant lines:
- https://gitlab.cern.ch/HiggsDNA-project/HiggsDNA/-/blob/master/higgs_dna/workflows/base.py?ref_type=heads#L440
-
https://gitlab.cern.ch/HiggsDNA-project/HiggsDNA/-/blob/master/higgs_dna/selections/photon_selections.py?ref_type=heads#L8
We might want to change the
photon_preselection
function to accept an argument that specifies whether it should be applied to corrected inputs or not (link that to--doFlow_corrections
of the main processor.
FYI @jtao