| 145 | } |
| 146 | |
| 147 | void Precursor::setIsolationWindowUpperOffset(double bound) |
| 148 | { |
| 149 | if (bound < 0) |
| 150 | { |
| 151 | throw Exception::InvalidValue(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "Precursor::setIsolationWindowUpperOffset() received a negative lower offset", String(bound)); |
| 152 | } |
| 153 | window_up_ = bound; |
| 154 | } |
| 155 | |
| 156 | double Precursor::getDriftTime() const |
| 157 | { |