Beam dynamics effects in the CERN SPS used as a lepton injector | IEEE Conference Publication | IEEE Xplore