71 QMutexLocker lock(&m_mutex);
72 if(m_niMinAbundance == ni_min_abundance)
77 m_peptideNaturalIsotopeAverageSpListByCharge.clear();
78 m_niMinAbundance = ni_min_abundance;
81 auto it = m_peptideNaturalIsotopeAverageSpListByCharge.find(charge);
82 if(it != m_peptideNaturalIsotopeAverageSpListByCharge.end())
84 if(it->second.size() == 0)
87 mpa_peptideNaturalIsotopeList->getByIntensityRatio(charge, precision, ni_min_abundance);
94 auto it_insert = m_peptideNaturalIsotopeAverageSpListByCharge.insert(
96 mpa_peptideNaturalIsotopeList->getByIntensityRatio(charge, precision, ni_min_abundance)});
98 return it_insert.first->second;
virtual const std::vector< pappso::PeptideNaturalIsotopeAverageSp > & getPeptideNaturalIsotopeAverageSpList(pappso::PrecisionPtr precision, std::uint8_t charge, double ni_min_abundance)
get possible and distinguishable masses of isotopes get list of distinguishable isotopes given the ch...