76 void readSpectrum(qint64 position_of_spectrum_in_file, std::size_t index_count);
void readSpectrumListAndLeave()
only the spectrum list of targeted msrun, then stop parsing
MsRunIdCstSPtr mcsp_msRunId
std::vector< qint64 > m_spectrumIndexPositionInFile
std::map< QString, std::size_t > m_nativeId2SpectrumIndexMap
const std::vector< qint64 > & getSpectrumIndexPositionInFile() const
virtual void readMsrun() override
read only the targeted msrun
virtual void readCbor(QFile *cborp, pappso::UiMonitorInterface &monitor) override
read mzCBOR file
const std::map< QString, std::size_t > & getNativeId2SpectrumIndexMap() const
MzcborBuildIndexReader(const MsRunIdCstSPtr &msrun_id)
void readSpectrum(qint64 position_of_spectrum_in_file, std::size_t index_count)
read each spectrum in the targeted msrun (msrunId)
read mzcbor stream or file
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const MsRunId > MsRunIdCstSPtr
base interface to read MSrun files