Rogue-wave interaction for a higher-order nonlinear Schrödinger–Maxwell–Bloch system in the optical-fiber communication