Er3+ doping of CaF2 layers grown by molecular beam epitaxy