L-shaped linacs