Text this: Constraints on the gluon density from bottom quark and prompt photon production