make MinDeltaRDouble more versatile
Created by: fojensen
two modifications:
-
instead of selecting an isHardProcess() photon or Z, use just the status 23 objects (which is a subset, in the photon/Z MC there is only ever 1 status 23 boson)
-
add functionality such that if there is no status 23 photon or Z in the event, minDeltaR will be calculated with respect to the highest pT photon of any status (which in the case of a QCD test file I looked at is always status 1)