Large transverse momentum direct photon, pi o and n production with a carbon target