Dynamics of a quantum particle in a static modulated magnetic field B=(0,0,B/cosh ((x−x0)/δ))