Photon Reweighting Code