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();
90 template <
typename Arg>
93 return a.getRank() < b.getRank();
118 if (
this == &source)
return *
this;
165 Int getCharge()
const;
168 void setCharge(
Int charge);
171 const std::vector<PeptideEvidence>& getPeptideEvidences()
const;
174 void setPeptideEvidences(
const std::vector<PeptideEvidence>& peptide_evidences);
180 double getScore()
const;
183 void setScore(
double score);
186 void setAnalysisResults(std::vector<PepXMLAnalysisResult> aresult);
189 void addAnalysisResults(PepXMLAnalysisResult aresult);
192 const std::vector<PepXMLAnalysisResult>& getAnalysisResults()
const;
195 UInt getRank()
const;
198 void setRank(
UInt newrank);
202 std::set<String> extractProteinAccessions()
const;
225 #endif // OPENMS_METADATA_PEPTIDEHIT_H
double main_score
Definition: PeptideHit.h:105
A more convenient string class.
Definition: String.h:57
Lesser predicate for scores of hits.
Definition: PeptideHit.h:87
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: PeptideHit.h:214
std::map< String, double > sub_scores
Definition: PeptideHit.h:106
Representation of a peptide/protein sequence.
Definition: AASequence.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::vector< PepXMLAnalysisResult > * analysis_results_
additional scores attached to the original, aggregated score
Definition: PeptideHit.h:211
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:67
bool higher_is_better
Definition: PeptideHit.h:104
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:91
String score_type
Definition: PeptideHit.h:103
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:217
Analysis Result (containing search engine / prophet results)
Definition: PeptideHit.h:100
bool operator==(const PepXMLAnalysisResult &rhs) const
additional scores attached to the original, aggregated score
Definition: PeptideHit.h:108
Lesser predicate for scores of hits.
Definition: PeptideHit.h:75
double score_
the score of the peptide hit
Definition: PeptideHit.h:208
int Int
Signed integer type.
Definition: Types.h:103
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:79
AASequence sequence_
Definition: PeptideHit.h:205
PepXMLAnalysisResult & operator=(const PepXMLAnalysisResult &source)
Definition: PeptideHit.h:116
std::vector< PeptideEvidence > peptide_evidences_
information on the potential peptides observed through this PSM.
Definition: PeptideHit.h:220