OpenMS  2.4.0
Static Public Member Functions | Public Attributes | List of all members
SimpleSearchEngine::AnnotatedHit Struct Reference

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

Static Public Member Functions

static bool hasBetterScore (const AnnotatedHit &a, const AnnotatedHit &b)
 

Public Attributes

StringView sequence
 
SignedSize peptide_mod_index
 
double score = 0
 
std::vector< PeptideHit::PeakAnnotationfragment_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 
)
inlinestatic

References score.

Member Data Documentation

◆ fragment_annotations

std::vector<PeptideHit::PeakAnnotation> fragment_annotations

◆ peptide_mod_index

SignedSize peptide_mod_index

◆ score

double score = 0

◆ sequence

StringView sequence