OpenMS
Loading...
Searching...
No Matches
FragmentIndex::Fragment Struct Reference

One entry in the fragment index. More...

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

Public Member Functions

 Fragment ()
 
 Fragment (UInt32 peptide_idx, float fragment_mz)
 

Public Attributes

UInt32 peptide_idx_
 
float fragment_mz_
 

Detailed Description

One entry in the fragment index.

Constructor & Destructor Documentation

◆ Fragment() [1/2]

Fragment ( )
inline

Leaves the members uninitialised on purpose: std::vector<Fragment>::resize() then writes nothing, so build() can fill the index in parallel instead of zeroing it serially first.

◆ Fragment() [2/2]

Fragment ( UInt32  peptide_idx,
float  fragment_mz 
)
inline

Member Data Documentation

◆ fragment_mz_

float fragment_mz_

◆ peptide_idx_

UInt32 peptide_idx_