Analysis of the data from a magnetic spectrometer with position- and cutting angle-sensitive detectors