avoid copy 
SplineSpectrum::SplineSpectrum(const MSSpectrum<Peak1D>& rawSpectrum, double scaling)