109 uint8_t aa,
const std::size_t r_peak,
const std::size_t l_peak,
double l_mass,
bool l_support);
115 const std::vector<AaPosition> &getAaPositions(std::uint8_t aa_code)
const;
121 std::vector<AaPosition> getAaPositions(std::uint8_t aa_code,
122 std::vector<std::size_t> &peaks_to_remove)
const;
127 std::vector<double> getMassList()
const;
138 uint getPrecursorCharge()
const;
140 double getPrecursorMass()
const;
145 double getMissingMass(std::size_t peak)
const;
152 double getMZShift(std::size_t l_peak, std::size_t r_peak)
const;
154 std::size_t getComplementaryPeak(std::size_t peak)
const;
160 std::vector<std::shared_ptr<std::vector<uint8_t>>>
172 void preprocessSpectrum();
177 void removeUnsupportedMasses();
182 uint32_t computeCondition(
const std::size_t l_peak,
183 bool l_support)
const;
188 void addSupportedPeak(std::size_t peak);
193 void correctPeakIndexes();
198 void fillComplementaryPeakIndexes();