Electron beam tracking in a preformed density channel