OpenMS
FragmentIndex::SpectrumMatchesTopN Struct Reference

container for SpectrumMatch. Also keeps count of total number of candidates and total number of matches. More...

#include <OpenMS/ANALYSIS/ID/FragmentIndex.h>

Collaboration diagram for FragmentIndex::SpectrumMatchesTopN:
[legend]

Public Member Functions

 SpectrumMatchesTopN ()=default
 
SpectrumMatchesTopNoperator+= (const SpectrumMatchesTopN &other)
 Appends the a SpectrumMatchesTopN to another one. Add the number of all matched peaks up. Same for number of scored candidates The. More...
 
void clear ()
 

Public Attributes

std::vector< SpectrumMatchhits_
 The preliminary candidates. More...
 

Detailed Description

container for SpectrumMatch. Also keeps count of total number of candidates and total number of matches.

Constructor & Destructor Documentation

◆ SpectrumMatchesTopN()

SpectrumMatchesTopN ( )
default

Member Function Documentation

◆ clear()

void clear ( )
inline

◆ operator+=()

SpectrumMatchesTopN& operator+= ( const SpectrumMatchesTopN other)
inline

Appends the a SpectrumMatchesTopN to another one. Add the number of all matched peaks up. Same for number of scored candidates The.

Parameters
otherThe appended struct
Returns
The struct after the attachment

References FragmentIndex::SpectrumMatchesTopN::hits_.

Member Data Documentation

◆ hits_

std::vector<SpectrumMatch> hits_

The preliminary candidates.

Referenced by FragmentIndex::SpectrumMatchesTopN::operator+=().