Old Code for resolution analysis with photon+jet events