We investigate the magnetoresistance of two-dimensional electrons confined
by a strong gradient of magnetic field in a hybrid semiconductor/ferromagne
t structure. Ferromagnets with increasingly large saturation magnetization
are used to systematically study the dependence of the recently reported re
sistance resonance peak [Nogaret et al., Phys. Rev. Lett. 84, 2231 (2000)]
on the amplitude of the magnetic modulation. We report the collapse of snak
e orbit channelling at the Curie temperature of dysprosium while above T-c,
a weaker structure is observed that is well explained by the magnetic prop
erties of helical dysprosium. These results allow us to identify two separa
te contributions in the magnetoresistance: one arising from 2D electrons ma
gnetically confined in snake orbits and a second one, much weaker, arising
from the field dependence of the magnetization.