|  | OpenMS
    2.6.0
    | 
Predicate that determines if a spectrum's precursor is within a certain m/z range. More...
#include <OpenMS/KERNEL/RangeUtils.h>
| Public Member Functions | |
| InPrecursorMZRange (const double &mz_left, const double &mz_right, bool reverse=false) | |
| Constructor.  More... | |
| bool | operator() (const SpectrumType &s) const | 
| Protected Attributes | |
| double | mz_left_ | 
| double | mz_right_ | 
| bool | reverse_ | 
Predicate that determines if a spectrum's precursor is within a certain m/z range.
SpectrumType must have a getPrecursors() method
If multiple precursors are present, all must fulfill the range criterion.
| 
 | inline | 
Constructor.
| mz_left | left m/z boundary (closed interval) | 
| mz_right | right m/z boundary (closed interval) | 
| reverse | if reverseis true, operator() returns true if the precursor's m/z is outside of the given interval. | 
| 
 | inline | 
| 
 | protected | 
| 
 | protected | 
Referenced by InPrecursorMZRange< SpectrumType >::operator()().
| 
 | protected | 
Referenced by InPrecursorMZRange< SpectrumType >::operator()().
 1.8.16
 1.8.16