34 #include "../../massspectrum/massspectrum.h"
35 #include "../../peptide/peptide.h"
47 unsigned int size)
const;
64 const std::vector<PeptideIon> &ion_list);
75 unsigned int parent_charge);
Class to represent a mass spectrum.
unsigned int getTotalMatchedIons() const
unsigned int getXtandemPredictedIonIntensityFactor(const QString &sequence, PeptideIon ion_type, unsigned int size) const
pappso_double m_protoHyperscore
bool m_isRefineSpectrumSynthesis
static AaFactorMap m_aaIonFactorY
std::map< char, pappso_double > AaFactorMap
bool computeXtandemHyperscore(const MassSpectrum &spectrum, const Peptide &peptide, unsigned int parent_charge)
XtandemHyperscoreBis(bool refine_spectrum_synthesis, PrecisionPtr precision, const std::vector< PeptideIon > &ion_list)
PrecisionPtr mp_precision
unsigned int m_ionCount[PEPTIDE_ION_TYPE_COUNT]
std::vector< PeptideIon > m_ionList
pappso_double getHyperscore() const
unsigned int getMatchedIons(PeptideIon ion_type) const
static AaFactorMap m_aaIonFactorBb
unsigned int m_totalMatchedIons
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
PeptideIon
PeptideIon enum defines all types of ions (Nter or Cter)
double pappso_double
A type definition for doubles.
#define PEPTIDE_ION_TYPE_COUNT
only usefull for inernal usefull DO not change this value : it is used to define static array size