  We studied the transport properties of electrons in graphene as they are
scattered by a double barrier potential in the presence of an inhomogeneous
magnetic field. We computed the transmission coefficient and Goos-H\"anchen
like shifts for our system and noticed that transmission is not allowed for
certain range of energies. In particular, we found that, in contrast to the
electrostatic barriers, the magnetic barriers are able to confine Dirac
fermions. We also established some correlation between the electronic
transmission properties of Dirac fermions with the Goos-H\"anchen like shifts,
as reflected in the numerical data.
