34#include <pwiz/data/msdata/MSData.hpp>
35#include <pwiz/data/msdata/MSDataFile.hpp>
37#include "../../types.h"
38#include "../../msfile/msfileaccessor.h"
39#include "../../msfile/msfilereader.h"
53 virtual MassSpectrumSPtr massSpectrumSPtr(std::size_t spectrum_index)
override;
57 bool want_binary_data =
true)
const override;
65 newXicCoordSPtrFromSpectrumIndex(std::size_t spectrum_index,
74 unsigned int ms_level)
override;
77 virtual std::size_t spectrumListSize()
const override;
79 virtual bool hasScanNumbers()
const override;
81 virtual bool releaseDevice()
override;
83 virtual bool acquireDevice()
override;
92 spectrumStringIdentifier2SpectrumIndex(
const QString &spectrum_identifier)
override;
96 readSpectrumCollectionWithMsrunReadConfig(
const MsRunReadConfig &config,
99 virtual void initialize()
override;
100 virtual bool accept(
const QString &file_name)
const override;
102 bool processRetentionTime(pwiz::msdata::Spectrum *spectrum_p,
104 bool processDriftTime(pwiz::msdata::Spectrum *spectrum_p,
108 bool want_binary_data,
112 qualifiedMassSpectrumFromPwizSpectrumPtr(
const MassSpectrumId &massSpectrumId,
113 pwiz::msdata::Spectrum *spectrum_p,
114 bool want_binary_data,
117 pwiz::msdata::SpectrumPtr getPwizSpectrumPtr(pwiz::msdata::SpectrumList *p_spectrum_list,
118 std::size_t spectrum_index,
119 bool want_binary_data)
const;
121 static std::string setGlobalLocaleToEnglish();
123 static void setGlobalLocaleToCurrentOs(
const std::string &environment_locale);
125 virtual const OboPsiModTerm getOboPsiModTermInstrumentModelName()
const override;
129 pwiz::msdata::MSDataPtr msp_msData =
nullptr;
133 bool m_hasScanNumbers =
false;
base class to read MSrun the only way to build a MsRunReader object is to use the MsRunReaderFactory
Class representing a fully specified mass spectrum.
interface to collect spectrums from the MsRunReader class
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const MsRunId > MsRunIdCstSPtr
std::shared_ptr< const MassSpectrum > MassSpectrumCstSPtr
std::shared_ptr< MassSpectrum > MassSpectrumSPtr
std::shared_ptr< XicCoord > XicCoordSPtr