64 virtual bool needMsLevelPeakList(
unsigned int ms_level)
const final;
68 virtual void setNeedMsLevelPeakList(
unsigned int ms_level,
bool want_peak_list)
final;
69 virtual bool shouldStop();
70 virtual void loadingEnded();
71 virtual void spectrumListHasSize(std::size_t size);
77 virtual void setReadAhead(
bool is_read_ahead)
final;
81 virtual bool isReadAhead()
const;
84 bool m_isReadAhead =
false;
86 std::vector<bool> m_needPeakListByMsLevel = {
87 true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true};
100 virtual bool needPeakList()
const override;
101 virtual void loadingEnded()
override;
103 unsigned long getMsLevelCount(
unsigned int ms_level)
const;
105 unsigned long getTotalCount()
const;
119 virtual bool needPeakList()
const override;
121 std::size_t getSpectrumIndexFromScanNumber(std::size_t scan_number)
const;
135 virtual bool needPeakList()
const override;
137 const std::vector<double> &getRetentionTimeLine()
const;
149 virtual bool needPeakList()
const override;
151 Trace getTicChromatogram()
const;
167 virtual bool needPeakList()
const override;
168 virtual void spectrumListHasSize(std::size_t size)
override;
170 const std::vector<QualifiedMassSpectrum> &getQualifiedMassSpectrumList()
const;
Load all qualified spectrum into a vector.
std::vector< QualifiedMassSpectrum > m_qualifiedSpectrumList
collect retention times along MS run
std::vector< double > m_retention_time_list
provides a multimap to find quickly spectrum index from scan number
std::multimap< std::size_t, std::size_t > m_mmap_scan2index
calculate a TIC chromatogram
example of interface to count MS levels of all spectrum in an MSrun
std::vector< unsigned long > m_countMsLevelSpectrum
Class representing a fully specified mass spectrum.
interface to collect spectrums from the MsRunReader class
virtual bool needPeakList() const =0
tells if we need the peak list (if we want the binary data) for each spectrum
virtual void setQualifiedMassSpectrum(const QualifiedMassSpectrum &spectrum)=0
A simple container of DataPoint instances.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...