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

Method RTBegin

src/openms/source/KERNEL/MSExperiment.cpp:155–160  ·  view source on GitHub ↗

@brief Fast search for spectrum range begin Returns the first scan which has equal or 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

153 @note Make sure the spectra are sorted with respect to retention time! Otherwise the result is undefined.
154 */
155 MSExperiment::ConstIterator MSExperiment::RTBegin(CoordinateType rt) const
156 {
157 SpectrumType s;
158 s.setRT(rt);
159 return lower_bound(spectra_.begin(), spectra_.end(), s, SpectrumType::RTLess());
160 }
161
162 /**
163 @brief Fast search for spectrum range end (returns the past-the-end iterator)

Callers 15

updateIntensityScaleMethod · 0.45
paintMethod · 0.45
getFirstScanMethod · 0.45
paintPrecursorPeaks_Method · 0.45
paintMethod · 0.45
contextMenuEventMethod · 0.45
filterChromFunction · 0.45
getRangeForAreaFunction · 0.45
isBlacklistedMethod · 0.45
extractXICsMethod · 0.45

Calls 4

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

Tested by 3

getSpectraByRTMethod · 0.36
getSpectraByRTMethod · 0.36
START_SECTIONFunction · 0.36