32#include "../../pappsomspp/exception/exceptionnotfound.h"
36 qRegisterMetaType<pappso::MsRunReaderSPtr>(
"pappso::MsRunReaderSPtr");
48 : mcsp_msRunId(other.mcsp_msRunId)
101 .arg(error.
qwhat()));
107 .arg(error.
qwhat()));
137 .arg(error.
qwhat()));
143 .arg(error.
qwhat()));
166 .arg(error.
qwhat()));
172 .arg(error.
qwhat()));
collect retention times along MS run
const std::vector< double > & getRetentionTimeLine() const
provides a multimap to find quickly spectrum index from scan number
std::size_t getSpectrumIndexFromScanNumber(std::size_t scan_number) const
calculate a TIC chromatogram
Trace getTicChromatogram() const
base class to read MSrun the only way to build a MsRunReader object is to use the MsRunReaderFactory
MsRunIdCstSPtr mcsp_msRunId
MsRunReaderScanNumberMultiMap * mpa_multiMapScanNumber
virtual bool hasScanNumbers() const
tells if spectra can be accessed using scan numbers by default, it returns false. Only overrided func...
void setMonoThread(bool is_mono_thread)
set only one is_mono_thread to true
virtual std::vector< double > getRetentionTimeLine()
retention timeline get retention times along the MSrun in seconds
virtual std::size_t scanNumber2SpectrumIndex(std::size_t scan_number)
if possible, converts a scan number into a spectrum index This is a convenient function to help trans...
virtual void readSpectrumCollection(SpectrumCollectionHandlerInterface &handler)=0
function to visit an MsRunReader and get each Spectrum in a spectrum collection handler
bool isMonoThread() const
virtual Trace getTicChromatogram()
get a TIC chromatogram
MsRunReader(MsRunIdCstSPtr &ms_run_id)
virtual void readSpectrumCollectionByMsLevel(SpectrumCollectionHandlerInterface &handler, unsigned int ms_level)=0
function to visit an MsRunReader and get each Spectrum in a spectrum collection handler by Ms Levels
const MsRunIdCstSPtr & getMsRunId() const
virtual const QString & qwhat() const
A simple container of DataPoint instances.
int msRunReaderSPtrMetaTypeId
base interface to read MSrun files
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const MsRunId > MsRunIdCstSPtr