35 #ifndef OPENMS_METADATA_PEPTIDEHIT_H
36 #define OPENMS_METADATA_PEPTIDEHIT_H
62 class OPENMS_DLLAPI ScoreMore
66 template <
typename Arg>
69 return a.getScore() > b.getScore();
78 template <
typename Arg>
81 return a.getScore() < b.getScore();
124 Int getCharge()
const;
127 void setCharge(
Int charge);
130 const std::vector<PeptideEvidence>& getPeptideEvidences()
const;
133 void setPeptideEvidences(
const std::vector<PeptideEvidence>& peptide_evidences);
139 double getScore()
const;
142 void setScore(
double score);
145 UInt getRank()
const;
148 void setRank(
UInt newrank);
152 std::set<String> extractProteinAccessions()
const;
171 #endif // OPENMS_METADATA_PEPTIDEHIT_H
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: PeptideHit.h:160
Representation of a peptide/protein sequence.
Definition: AASequence.h:70
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:67
Representation of a peptide hit.
Definition: PeptideHit.h:55
Representation of a peptide evidence.
Definition: PeptideEvidence.h:51
Int charge_
the charge of the peptide
Definition: PeptideHit.h:163
Lesser predicate for scores of hits.
Definition: PeptideHit.h:75
double score_
the score of the peptide hit
Definition: PeptideHit.h:157
int Int
Signed integer type.
Definition: Types.h:96
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:79
AASequence sequence_
Definition: PeptideHit.h:154
std::vector< PeptideEvidence > peptide_evidences_
information on the potential peptides observed through this PSM.
Definition: PeptideHit.h:166