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 DoubleReal &mz_left, const DoubleReal &mz_right, bool reverse=false) | |
| Constructor.  More... | |
| bool | operator() (const SpectrumType &s) const | 
| Protected Attributes | |
| DoubleReal | mz_left_ | 
| DoubleReal | 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 criterium.
| 
 | 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()().
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5 |