MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / RTEnd

Method RTEnd

src/openms/source/KERNEL/MSExperiment.cpp:169–174  ·  view source on GitHub ↗

@brief Fast search for spectrum range end (returns the past-the-end iterator) Returns the first scan which has higher (>) RT than @p rt. @note Make sure the spectra are sorted with respect to retention time! Otherwise the result is undefined. */

Source from the content-addressed store, hash-verified

167 @note Make sure the spectra are sorted with respect to retention time! Otherwise the result is undefined.
168 */
169 MSExperiment::ConstIterator MSExperiment::RTEnd(CoordinateType rt) const
170 {
171 SpectrumType s;
172 s.setRT(rt);
173 return upper_bound(spectra_.begin(), spectra_.end(), s, SpectrumType::RTLess());
174 }
175
176 /**
177 @brief Fast search for spectrum range begin

Callers 15

updateIntensityScaleMethod · 0.45
paintMethod · 0.45
paintPrecursorPeaks_Method · 0.45
paintMethod · 0.45
filterChromFunction · 0.45
getRangeForAreaFunction · 0.45
isBlacklistedMethod · 0.45
filterMethod · 0.45
filterMethod · 0.45

Calls 4

RTLessClass · 0.50
setRTMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected