The CLEO detector