use proper MSModSpec_monomass or MSModSpec_averagemass depending on MSSearchSettings_precursorsearchtype