96 else if (mz > other.
mz)
101 if (charge < other.
charge)
105 else if (charge > other.
charge)
133 if (charge != other.
charge || mz != other.
mz ||
143 class OPENMS_DLLAPI ScoreMore
147 template <
typename Arg>
150 return a.getScore() > b.getScore();
159 template <
typename Arg>
162 return a.getScore() < b.getScore();
171 template <
typename Arg>
174 return a.getRank() < b.getRank();
184 template <
typename Arg>
187 if (a.getSequence().toString() < b.getSequence().toString())
return true;
212 if (
this == &source)
return *
this;
259 Int getCharge()
const;
262 void setCharge(
Int charge);
265 const std::vector<PeptideEvidence>& getPeptideEvidences()
const;
268 void setPeptideEvidences(
const std::vector<PeptideEvidence>& peptide_evidences);
274 double getScore()
const;
277 void setScore(
double score);
280 void setAnalysisResults(std::vector<PepXMLAnalysisResult> aresult);
283 void addAnalysisResults(PepXMLAnalysisResult aresult);
286 const std::vector<PepXMLAnalysisResult>& getAnalysisResults()
const;
289 UInt getRank()
const;
292 void setRank(
UInt newrank);
295 std::vector<PeptideHit::PeakAnnotation> getPeakAnnotations()
const;
298 void setPeakAnnotations(std::vector<PeptideHit::PeakAnnotation> frag_annotations);
303 std::set<String> extractProteinAccessionsSet()
const;
double main_score
Definition: PeptideHit.h:199
A more convenient string class.
Definition: String.h:57
Lesser predicate for scores of hits.
Definition: PeptideHit.h:168
std::vector< PeptideHit::PeakAnnotation > fragment_annotations_
annotations of fragments in the corresponding spectrum
Definition: PeptideHit.h:324
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: PeptideHit.h:315
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
bool operator<(const PeptideHit::PeakAnnotation &other) const
Definition: PeptideHit.h:89
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
std::map< String, double > sub_scores
Definition: PeptideHit.h:200
Representation of a peptide/protein sequence.
Definition: AASequence.h:107
double mz
Definition: PeptideHit.h:86
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Lesser predicate for (modified) sequence of hits.
Definition: PeptideHit.h:182
std::vector< PepXMLAnalysisResult > * analysis_results_
additional scores attached to the original, aggregated score
Definition: PeptideHit.h:312
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:148
bool higher_is_better
Definition: PeptideHit.h:198
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:172
String annotation
Definition: PeptideHit.h:84
String score_type
Definition: PeptideHit.h:197
bool operator==(const PeptideHit::PeakAnnotation &other) const
Definition: PeptideHit.h:131
Representation of a peptide hit.
Definition: PeptideHit.h:54
Representation of a peptide evidence.
Definition: PeptideEvidence.h:50
Int charge_
the charge of the peptide
Definition: PeptideHit.h:318
bool operator==(const PepXMLAnalysisResult &rhs) const
additional scores attached to the original, aggregated score
Definition: PeptideHit.h:202
double intensity
Definition: PeptideHit.h:87
Analysis Result (containing search engine / prophet results)
Definition: PeptideHit.h:194
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Lesser predicate for scores of hits.
Definition: PeptideHit.h:156
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:185
int charge
Definition: PeptideHit.h:85
double score_
the score of the peptide hit
Definition: PeptideHit.h:309
Contains annotations of a peak.
Definition: PeptideHit.h:82
int Int
Signed integer type.
Definition: Types.h:102
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:160
AASequence sequence_
Definition: PeptideHit.h:306
PepXMLAnalysisResult & operator=(const PepXMLAnalysisResult &source)
Definition: PeptideHit.h:210
std::vector< PeptideEvidence > peptide_evidences_
information on the potential peptides observed through this PSM.
Definition: PeptideHit.h:321