Hadroproduction of photons and leptons