A lead-glass gamma-ray detector for relativistic heavy-ion collisions☆