| 131 | } |
| 132 | |
| 133 | void Precursor::setIsolationWindowLowerOffset(double bound) |
| 134 | { |
| 135 | if (bound < 0) |
| 136 | { |
| 137 | throw Exception::InvalidValue(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "Precursor::setIsolationWindowLowerOffset() received a negative lower offset", String(bound)); |
| 138 | } |
| 139 | window_low_ = bound; |
| 140 | } |
| 141 | |
| 142 | double Precursor::getIsolationWindowUpperOffset() const |
| 143 | { |