Spin–orbit interaction effects on the optical properties of quantum wires under the influence of in-plane magnetic fields