Predicate that determines if an MSn spectrum was generated with a collision energy in the given range. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
IsInCollisionEnergyRange (double min, double max, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const SpectrumType &s) const |
Private Attributes | |
double | min_energy_ |
double | max_energy_ |
bool | reverse_ |
Predicate that determines if an MSn spectrum was generated with a collision energy in the given range.
|
inline |
Constructor.
min | minimum collision energy to be included in the range. |
max | maximum collision energy to be included in the range. |
reverse | if reverse is true, operator() returns true if the collision energy lies outside the range. |
|
inline |
|
private |
|
private |
|
private |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:09 using doxygen 1.8.13 |