29std::vector<PeakIonIsotopeMatch>::iterator
31 std::vector<PeakIonIsotopeMatch>::iterator end,
33 std::size_t peptide_size)
70 :
PeakIonMatch(peak, ion_sp, naturalIsotopeAverageSp.get()->getCharge()),
71 _naturalIsotopeAverageSp(naturalIsotopeAverageSp)
112 return QString(
"%1isotope%2r%3mz%4")
PeakIonIsotopeMatch(const DataPoint &peak, const PeptideNaturalIsotopeAverageSp &naturalIsotopeAverageSp, const PeptideFragmentIonSp &ion_sp)
virtual QString toString() const
PeakIonIsotopeMatch & operator=(const PeakIonIsotopeMatch &other)
PeptideNaturalIsotopeAverageSp _naturalIsotopeAverageSp
virtual const PeptideNaturalIsotopeAverageSp & getPeptideNaturalIsotopeAverageSp() const
virtual ~PeakIonIsotopeMatch()
const DataPoint & getPeak() const
PeptideIon getPeptideIonType() const
virtual const PeptideFragmentIonSp & getPeptideFragmentIonSp() const
virtual QString toString() const
PeakIonMatch & operator=(const PeakIonMatch &other)
unsigned int getCharge() const
virtual unsigned int size() const override
unsigned int getIsotopeNumber() const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const PeptideFragmentIon > PeptideFragmentIonSp
std::shared_ptr< const PeptideNaturalIsotopeAverage > PeptideNaturalIsotopeAverageSp
bool peptideIonTypeIsComplement(PeptideIon ion_type_ref, PeptideIon ion_type)
tells if an ion type is the complement ion of the other
std::vector< PeakIonIsotopeMatch >::iterator findComplementIonType(std::vector< PeakIonIsotopeMatch >::iterator begin, std::vector< PeakIonIsotopeMatch >::iterator end, const PeakIonIsotopeMatch &peak_ion, std::size_t peptide_size)
find the first element containing the complementary ion complementary ion of y1 is b(n-1) for instanc...