Flat top beam profile cavity prototype