  We investigate contact magnetic curves in the real special linear group of
degree 2. They are geodesics of the Hopf tubes over the projection curve. We
prove that periodic contact magnetic curves in SL(2,R) can be quantized in the
set of rational numbers. Finally, we study contact homogeneous magnetic
trajectories in SL(2,R) and show that they project to horocycles in H2(-4).
