Fix the long(er) standing issue of having jet constituents without matching reconstructed particle.
ENDRELEASENOTES
The underlying reason for this is that delphes sometimes creates candidates without a gen particle, which is used for the matching of Muon, Electron and Photon. By using the UniqueID of the jet constituents directly we don't need to go back to the gen particles, but can directly match on the reconstructed particles.
@selvaggi, can you briefly verify that the logic I implemented here with the additional map, is actually what we discussed some time back?
BEGINRELEASENOTES
ENDRELEASENOTES
The underlying reason for this is that delphes sometimes creates candidates without a gen particle, which is used for the matching of Muon, Electron and Photon. By using the UniqueID of the jet constituents directly we don't need to go back to the gen particles, but can directly match on the reconstructed particles.
@selvaggi, can you briefly verify that the logic I implemented here with the additional map, is actually what we discussed some time back?