OpenMS
2.5.0
|
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 |
Referenced by IsInCollisionEnergyRange< SpectrumType >::operator()().
|
private |
Referenced by IsInCollisionEnergyRange< SpectrumType >::operator()().
|
private |
Referenced by IsInCollisionEnergyRange< SpectrumType >::operator()().