added macro for photon id studies

Adding a new macro to produce ntuples for photon id studies.