A Formula for the Electron Cloud Map Coefficient in the Presence of a Magnetic Field