OpenMS  2.8.0
Static Public Member Functions | List of all members
PpmTrait Struct Reference

#include <OpenMS/DATASTRUCTURES/MatchedIterator.h>

Static Public Member Functions

template<typename T >
static float allowedTol (float tol, const T &elem_ref)
 
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 ppm distance in m/z. Requires container elements to support .getMZ() as member function

Member Function Documentation

◆ allowedTol()

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

◆ getDiffAbsolute()

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

for Peak1D & Co