shortened by simplifiing if with match photon jet
added match photon, lepton