Measuring the transverse polarization of quarks in the proton