Antiproton production as a baryonometer in ultrarelativistic heavy ion collisions