The NOE detector for a long baseline neutrino oscillation experiment