Text this: Trapping of part of a beam of injected electrons in an accelerator with a magnetic-mirror control field configuration