Think you are sitting in a chamber with your back to one wall

Think you are sitting in a chamber with your back to one wall. An electron beam moving horizontally from back wall towards the front wall, is deflected by a strong magnetic field to your right side. What is the direction of magnetic field?

Movement from electron beam from back wall to the front wall is equivalent to the flow of electric current from front wall to the back wall. The deflection of the beam means, the force is acting towards our right side.
According to Fleming’s Left Hand Rule, the direction of magnetic field is vertically downward. That is, the magnetic field is perpendicular to the plane of the paper and directed inward. Such magnetic field is shown by ® in the figure.

image