Mass Spectrum Generator