| OpenMS 2.5.0

Static Public Member Functions | Public Attributes | List of all members
SimpleSearchEngineAlgorithm::AnnotatedHit_ Struct Reference

Slimmer structure as storing all scored candidates in PeptideHit objects takes too much space. More...

`#include <OpenMS/ANALYSIS/ID/SimpleSearchEngineAlgorithm.h>`

## Static Public Member Functions

static bool | hasBetterScore (const AnnotatedHit_ &a, const AnnotatedHit_ &b)

## Public Attributes

StringView | sequence
SignedSize | peptide_mod_index
| enumeration index of the non-RNA peptide modification More...
double | score = 0
| main score More...
std::vector< PeptideHit::PeakAnnotation > | fragment_annotations

## Detailed Description

Slimmer structure as storing all scored candidates in PeptideHit objects takes too much space.

## Member Function Documentation

## ◆ hasBetterScore()

static bool hasBetterScore | ( | const AnnotatedHit_ & | a,
|  | const AnnotatedHit_ & | b
| ) |  |

inline static

References SimpleSearchEngineAlgorithm::AnnotatedHit_::score.

## Member Data Documentation

## ◆ fragment_annotations

std::vector<PeptideHit::PeakAnnotation> fragment_annotations

## ◆ peptide_mod_index

SignedSize peptide_mod_index

enumeration index of the non-RNA peptide modification

## ◆ score

double score = 0

main score

Referenced by SimpleSearchEngineAlgorithm::AnnotatedHit_::hasBetterScore().

## ◆ sequence

StringView sequence