The laser control of the muon g-2 experiment at Fermilab