68 virtual bool needMsLevelPeakList(
unsigned int ms_level)
const final;
72 virtual void setNeedMsLevelPeakList(
unsigned int ms_level,
bool want_peak_list)
final;
73 virtual bool shouldStop();
74 virtual void loadingEnded();
75 virtual void spectrumListHasSize(std::size_t size);
81 virtual void setReadAhead(
bool is_read_ahead)
final;
85 virtual bool isReadAhead()
const;
88 bool m_isReadAhead =
false;
90 std::vector<bool> m_needPeakListByMsLevel = {
91 true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true};
104 virtual bool needPeakList()
const override;
105 virtual void loadingEnded()
override;
107 unsigned long getMsLevelCount(
unsigned int ms_level)
const;
109 unsigned long getTotalCount()
const;
123 virtual bool needPeakList()
const override;
125 std::size_t getSpectrumIndexFromScanNumber(std::size_t scan_number)
const;
139 virtual bool needPeakList()
const override;
141 const std::vector<double> &getRetentionTimeLine()
const;
153 virtual bool needPeakList()
const override;
155 Trace getTicChromatogram()
const;
170 virtual bool needPeakList()
const override;
171 virtual void spectrumListHasSize(std::size_t size)
override;
173 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
MapTrace m_ticChromMapTrace
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...