libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
31 #include "../../msfile/msfileaccessor.h"
32 #include "../../msfile/msfilereader.h"
33 #include "../../vendors/tims/timsdata.h"
55 bool want_binary_data =
true)
const override;
66 virtual bool accept(
const QString &file_name)
const override;
TimsMsRunReader(MsRunIdCstSPtr &msrun_id_csp)
std::shared_ptr< const MassSpectrum > MassSpectrumCstSPtr
base class to read MSrun the only way to build a MsRunReader object is to use the MsRunReaderFactory
virtual MassSpectrumSPtr massSpectrumSPtr(std::size_t spectrum_index) override
get a MassSpectrumSPtr class given its spectrum index
tries to keep as much as possible monoisotopes, removing any possible C13 peaks
std::shared_ptr< const MsRunId > MsRunIdCstSPtr
virtual ~TimsMsRunReader()
virtual bool hasScanNumbers() const override
tells if spectra can be accessed using scan numbers by default, it returns false. Only overrided func...
virtual MassSpectrumCstSPtr massSpectrumCstSPtr(std::size_t spectrum_index) override
virtual void initialize() override
Class representing a fully specified mass spectrum.
virtual void readSpectrumCollection(SpectrumCollectionHandlerInterface &handler) override
function to visit an MsRunReader and get each Spectrum in a spectrum collection handler
virtual bool accept(const QString &file_name) const override
tells if the reader is able to handle this file must be implemented by private MS run reader,...
virtual std::size_t spectrumListSize() const override
get the totat number of spectrum conained in the MSrun data file
virtual QualifiedMassSpectrum qualifiedMassSpectrum(std::size_t spectrum_index, bool want_binary_data=true) const override
get a QualifiedMassSpectrum class given its scan number
interface to collect spectrums from the MsRunReader class
std::shared_ptr< MassSpectrum > MassSpectrumSPtr