Next-to-leading order predictions matched to parton showers are compared with recent ATLAS data on inclusive photon production and CMS data on associated photon and jet production in pp and pPb collisions at different centre-of-mass energies of the LHC. We find good agreement and, as expected, considerably reduced scale uncertainties compared to previous theoretical calculations. Predictions are made for the ratio of inclusive photons over decay photons $R_gamma$, an important quantity to evaluate the significance of additional photon sources, e.g. thermal radiation from a Quark-Gluon-Plasma, and for distributions in the parton momentum fraction in lead ions $x_{rm Pb}^{rm obs}$, that could be determined by ALICE, ATLAS, CMS and LHCb in ongoing analyses of photon+jet production in pPb collisions at $sqrt{s_{NN}}=5.02$ TeV. These data should have an important impact on the determination of nuclear effects such as shadowing at low $x$.