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

Method consumeSpectrum

src/openms/source/FORMAT/DATAACCESS/MSDataSqlConsumer.cpp:57–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void MSDataSqlConsumer::consumeSpectrum(SpectrumType & s)
58 {
59 spectra_.push_back(s);
60 s.clear(false);
61 if (full_meta_)
62 {
63 peak_meta_.addSpectrum(s);
64 }
65 if (spectra_.size() >= flush_after_)
66 {
67 flush();
68 }
69 }
70
71 void MSDataSqlConsumer::consumeChromatogram(ChromatogramType & c)
72 {

Callers 6

storeMethod · 0.45
transformMethod · 0.45
consumeSwathSpectrum_Function · 0.45
consumeMS1Spectrum_Function · 0.45

Calls 5

flushFunction · 0.85
addSpectrumMethod · 0.80
push_backMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected