A wedge-shaped scintillation detector for a magnetic spectrometer