libpappsomspp
Library for mass spectrometry
|
#include <peptidenaturalisotopeaverage.h>
Public Member Functions | |
PeptideNaturalIsotopeAverage (const PeptideInterfaceSp &peptide, unsigned int askedIsotopeRank, unsigned int isotopeLevel, unsigned int charge, PrecisionPtr precision) | |
PeptideNaturalIsotopeAverage (const PeptideNaturalIsotopeList &isotopeList, unsigned int askedIsotopeRank, unsigned int isotopeLevel, unsigned int charge, PrecisionPtr precision) | |
PeptideNaturalIsotopeAverage (const PeptideNaturalIsotopeAverage &other) | |
~PeptideNaturalIsotopeAverage () | |
PeptideNaturalIsotopeAverageSp | makePeptideNaturalIsotopeAverageSp () const |
pappso_double | getMz () const |
pappso_double | getIntensityRatio () const |
unsigned int | getCharge () const |
unsigned int | getIsotopeNumber () const |
unsigned int | getIsotopeRank () const |
const std::vector< PeptideNaturalIsotopeSp > & | getComponents () const |
const PeptideInterfaceSp & | getPeptideInterfaceSp () const |
PrecisionPtr | getPrecision () const |
virtual bool | matchPeak (pappso_double peak_mz) const final |
bool | isEmpty () const |
Private Member Functions | |
void | recursiveDepletion (std::vector< PeptideNaturalIsotopeSp > &v_isotope_list, unsigned int rank) |
Private Attributes | |
const PeptideInterfaceSp | mcsp_peptideSp |
std::vector< PeptideNaturalIsotopeSp > | m_peptideNaturalIsotopeSpList |
pappso_double | m_averageMz |
pappso_double | m_abundanceRatio |
unsigned int | m_isotopeLevel |
unsigned int | m_isotopeRank = 1 |
unsigned int | m_z |
PrecisionPtr | mp_precision = nullptr |
Definition at line 42 of file peptidenaturalisotopeaverage.h.
pappso::PeptideNaturalIsotopeAverage::PeptideNaturalIsotopeAverage | ( | const PeptideInterfaceSp & | peptide, |
unsigned int | askedIsotopeRank, | ||
unsigned int | isotopeLevel, | ||
unsigned int | charge, | ||
PrecisionPtr | precision | ||
) |
Definition at line 32 of file peptidenaturalisotopeaverage.cpp.
pappso::PeptideNaturalIsotopeAverage::PeptideNaturalIsotopeAverage | ( | const PeptideNaturalIsotopeList & | isotopeList, |
unsigned int | askedIsotopeRank, | ||
unsigned int | isotopeLevel, | ||
unsigned int | charge, | ||
PrecisionPtr | precision | ||
) |
Definition at line 46 of file peptidenaturalisotopeaverage.cpp.
References pappso::PeptideNaturalIsotopeList::getByIsotopeNumber(), m_abundanceRatio, m_averageMz, m_z, and recursiveDepletion().
pappso::PeptideNaturalIsotopeAverage::PeptideNaturalIsotopeAverage | ( | const PeptideNaturalIsotopeAverage & | other | ) |
Definition at line 159 of file peptidenaturalisotopeaverage.cpp.
References m_abundanceRatio, m_averageMz, m_isotopeLevel, m_isotopeRank, m_peptideNaturalIsotopeSpList, and m_z.
pappso::PeptideNaturalIsotopeAverage::~PeptideNaturalIsotopeAverage | ( | ) |
Definition at line 173 of file peptidenaturalisotopeaverage.cpp.
unsigned int pappso::PeptideNaturalIsotopeAverage::getCharge | ( | ) | const |
Definition at line 190 of file peptidenaturalisotopeaverage.cpp.
References m_z.
const std::vector< PeptideNaturalIsotopeSp > & pappso::PeptideNaturalIsotopeAverage::getComponents | ( | ) | const |
Definition at line 208 of file peptidenaturalisotopeaverage.cpp.
References m_peptideNaturalIsotopeSpList.
pappso_double pappso::PeptideNaturalIsotopeAverage::getIntensityRatio | ( | ) | const |
Definition at line 184 of file peptidenaturalisotopeaverage.cpp.
References m_abundanceRatio.
Referenced by pappso::MassSpectrumWidget::computeIsotopeMassList(), and pappso::PeptideNaturalIsotopeList::getByIntensityRatio().
unsigned int pappso::PeptideNaturalIsotopeAverage::getIsotopeNumber | ( | ) | const |
Definition at line 196 of file peptidenaturalisotopeaverage.cpp.
References m_isotopeLevel.
unsigned int pappso::PeptideNaturalIsotopeAverage::getIsotopeRank | ( | ) | const |
Definition at line 202 of file peptidenaturalisotopeaverage.cpp.
References m_isotopeRank.
Referenced by pappso::MassSpectrumWidget::computeIsotopeMassList(), pappso::PeptideNaturalIsotopeList::getByIntensityRatio(), and pappso::getByIntensityRatioByIsotopeNumber().
pappso_double pappso::PeptideNaturalIsotopeAverage::getMz | ( | ) | const |
Definition at line 178 of file peptidenaturalisotopeaverage.cpp.
References m_averageMz.
Referenced by matchPeak(), and recursiveDepletion().
const PeptideInterfaceSp & pappso::PeptideNaturalIsotopeAverage::getPeptideInterfaceSp | ( | ) | const |
Definition at line 214 of file peptidenaturalisotopeaverage.cpp.
References mcsp_peptideSp.
PrecisionPtr pappso::PeptideNaturalIsotopeAverage::getPrecision | ( | ) | const |
Definition at line 220 of file peptidenaturalisotopeaverage.cpp.
References mp_precision.
bool pappso::PeptideNaturalIsotopeAverage::isEmpty | ( | ) | const |
Definition at line 235 of file peptidenaturalisotopeaverage.cpp.
References m_peptideNaturalIsotopeSpList.
Referenced by pappso::getByIntensityRatioByIsotopeNumber().
PeptideNaturalIsotopeAverageSp pappso::PeptideNaturalIsotopeAverage::makePeptideNaturalIsotopeAverageSp | ( | ) | const |
Definition at line 154 of file peptidenaturalisotopeaverage.cpp.
Referenced by pappso::MassSpectrumWidget::computeIsotopeMassList(), pappso::PeptideNaturalIsotopeList::getByIntensityRatio(), and pappso::getByIntensityRatioByIsotopeNumber().
|
finalvirtual |
Definition at line 226 of file peptidenaturalisotopeaverage.cpp.
References getMz(), and mp_precision.
Referenced by pappso::PeptideIsotopeSpectrumMatch::getBestPeakIterator().
|
private |
Definition at line 90 of file peptidenaturalisotopeaverage.cpp.
References pappso::MzRange::contains(), getMz(), m_abundanceRatio, m_averageMz, m_isotopeRank, m_peptideNaturalIsotopeSpList, m_z, and mp_precision.
Referenced by PeptideNaturalIsotopeAverage().
|
private |
Definition at line 81 of file peptidenaturalisotopeaverage.h.
Referenced by PeptideNaturalIsotopeAverage(), getIntensityRatio(), and recursiveDepletion().
|
private |
Definition at line 80 of file peptidenaturalisotopeaverage.h.
Referenced by PeptideNaturalIsotopeAverage(), getMz(), and recursiveDepletion().
|
private |
Definition at line 82 of file peptidenaturalisotopeaverage.h.
Referenced by PeptideNaturalIsotopeAverage(), and getIsotopeNumber().
|
private |
Definition at line 83 of file peptidenaturalisotopeaverage.h.
Referenced by PeptideNaturalIsotopeAverage(), getIsotopeRank(), and recursiveDepletion().
|
private |
Definition at line 78 of file peptidenaturalisotopeaverage.h.
Referenced by PeptideNaturalIsotopeAverage(), getComponents(), isEmpty(), and recursiveDepletion().
|
private |
Definition at line 84 of file peptidenaturalisotopeaverage.h.
Referenced by PeptideNaturalIsotopeAverage(), getCharge(), and recursiveDepletion().
|
private |
Definition at line 77 of file peptidenaturalisotopeaverage.h.
Referenced by getPeptideInterfaceSp().
|
private |
Definition at line 85 of file peptidenaturalisotopeaverage.h.
Referenced by getPrecision(), matchPeak(), and recursiveDepletion().