Measurement of the inclusive isolated photon production cross section in \(\text{ p }\text{ p }\) collisions at \(\sqrt{s}=7\) TeV