| OpenMS 2.5.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 & |
| ) |  |

inline static

## ◆ getDiffAbsolute()

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

inline static

for Peak1D & Co