OpenMS
|
Predicate that determines if the isolation window covers ANY of the given m/z values. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
IsInIsolationWindow (std::vector< double > vec_mz, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const SpectrumType &s) const |
Private Attributes | |
std::vector< double > | vec_mz_ |
bool | reverse_ |
Predicate that determines if the isolation window covers ANY of the given m/z values.
|
inline |
Constructor.
vec_mz | Vector of m/z values, of which at least one needs to be covered |
reverse | if reverse is true, operator() returns true if the isolation window is outside for ALL m/z values. |
References IsInIsolationWindow< SpectrumType >::vec_mz_.
|
inline |
|
private |
Referenced by IsInIsolationWindow< SpectrumType >::operator()().
|
private |