Probing nuclear matter with jet conversions