code to analyze jet energy resolution with Photon+Jet events