Source code for photon + lepton analysis