Real time monitoring of electron emissions during electron beam powder bed fusion for arbitrary geometries and toolpaths