Connecting accelerator experiments and cosmic ray showers