Energy spectrum of a 2D Dirac oscillator in the presence of a constant magnetic field and an antidot potential