OpenMS  2.7.0
Static Public Member Functions | List of all members
DaTrait Struct Reference

#include <OpenMS/DATASTRUCTURES/MatchedIterator.h>

Static Public Member Functions

template<typename T >
static float allowedTol (float tol, const T &)
 
template<typename T >
static float getDiffAbsolute (const T &elem_ref, const T &elem_tgt)
 for Peak1D & Co More...
 

Detailed Description

Trait for MatchedIterator to find pairs with a certain Th/Da distance in m/z. Requires container elements to support .getMZ() as member function

Member Function Documentation

◆ allowedTol()

static float allowedTol ( float  tol,
const T &   
)
inlinestatic

◆ getDiffAbsolute()

static float getDiffAbsolute ( const T &  elem_ref,
const T &  elem_tgt 
)
inlinestatic

for Peak1D & Co