36 qRegisterMetaType<pappso::MsRunReaderSPtr>(
"pappso::MsRunReaderSPtr");
90 std::vector<size_t> ms_levels;
91 for(std::size_t i = 1; i < 9; i++)
93 ms_levels.push_back(i);
108 .arg(error.
qwhat()));
114 .arg(error.
qwhat()));
147 .arg(error.
qwhat()));
153 .arg(error.
qwhat()));
180 .arg(error.
qwhat()));
186 .arg(error.
qwhat()));
196 QObject::tr(
"instrument model name not found in %1").arg(
mcsp_msRunId.get()->getFileName()));
void setNeedPeakList(bool need_peak_list)
void setMsLevels(std::vector< std::size_t > ms_levels)
collect retention times along MS run
const std::vector< double > & getRetentionTimeLine() const
provides a multimap to find quickly spectrum index from scan number
calculate a TIC chromatogram
Trace getTicChromatogram() const
MsRunIdCstSPtr mcsp_msRunId
virtual const OboPsiModTerm getOboPsiModTermInstrumentModelName() const
get OboPsiModTerm corresponding to the instrument model name child of : [Term] id: MS:1000031 name: i...
MsRunReader(const MsRunIdCstSPtr &ms_run_id)
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 void readSpectrumCollection2(const MsRunReadConfig &config, SpectrumCollectionHandlerInterface &handler)=0
function to visit an MsRunReader and get each Spectrum in a spectrum collection handler
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...
bool isMonoThread() const
virtual Trace getTicChromatogram()
get a TIC chromatogram
const MsRunIdCstSPtr & getMsRunId() const
virtual const QString & qwhat() const
A simple container of DataPoint instances.
int msRunReaderSPtrMetaTypeId
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const MsRunId > MsRunIdCstSPtr