libpappsomspp
Library for mass spectrometry
|
#include <msrun.h>
Public Member Functions | |
MsRun (pappso::MsRunReaderSPtr msrun_reader) | |
virtual | ~MsRun () |
const pappso::MsRunReaderSPtr & | getMsRunReaderSPtr () const |
pappso::MsRunReaderSPtr & | getMsRunReaderSPtr () |
const PrecursorSp & | getPrecursorSPtrBySpectrumIndex (std::size_t spectrum_index) const |
const PrecursorSp & | getPrecursorSPtrByScanNumber (std::size_t scan_number) const |
const std::vector< double > & | getRetentionTimeLine () const |
bool | hasTimsTofMobilityIndex () const |
Private Attributes | |
pappso::MsRunReaderSPtr | msp_msRunReader |
std::map< std::size_t, PrecursorSp > | m_spectrumIndex2precursorMap |
new map dedicated to spectrum index to replace obsolete scan number | |
pappso::MsRunXicExtractorInterfaceSp | msp_msRunXicExtractorInterfaceSp |
PrecursorParser * | mpa_precursorParser |
std::vector< double > | m_retentionTimeLine |
bool | m_hasTimsTofMobilityIndex = false |
@description group together an msrun reader object and list of precursors (MS1 peak chosen for fragmentation)
pappso::masschroq::MsRun::MsRun | ( | pappso::MsRunReaderSPtr | msrun_reader | ) |
Default constructor
Definition at line 35 of file msrun.cpp.
References getRetentionTimeLine(), m_hasTimsTofMobilityIndex, m_retentionTimeLine, mpa_precursorParser, msp_msRunReader, pappso::MsRunReadConfig::setMsLevels(), and pappso::MsRunReadConfig::setNeedPeakList().
|
virtual |
pappso::MsRunReaderSPtr & pappso::masschroq::MsRun::getMsRunReaderSPtr | ( | ) |
Definition at line 68 of file msrun.cpp.
References msp_msRunReader.
const pappso::MsRunReaderSPtr & pappso::masschroq::MsRun::getMsRunReaderSPtr | ( | ) | const |
Definition at line 62 of file msrun.cpp.
References msp_msRunReader.
Referenced by pappso::masschroq::CborOutputStream::writeMsRun(), and pappso::masschroq::CborOutputStream::writeQrDataBlock().
const pappso::masschroq::PrecursorSp & pappso::masschroq::MsRun::getPrecursorSPtrByScanNumber | ( | std::size_t | scan_number | ) | const |
Definition at line 75 of file msrun.cpp.
References mpa_precursorParser.
const pappso::masschroq::PrecursorSp & pappso::masschroq::MsRun::getPrecursorSPtrBySpectrumIndex | ( | std::size_t | spectrum_index | ) | const |
Definition at line 80 of file msrun.cpp.
References mpa_precursorParser.
const std::vector< double > & pappso::masschroq::MsRun::getRetentionTimeLine | ( | ) | const |
bool pappso::masschroq::MsRun::hasTimsTofMobilityIndex | ( | ) | const |
Definition at line 92 of file msrun.cpp.
References m_hasTimsTofMobilityIndex.
|
private |
Definition at line 87 of file msrun.h.
Referenced by MsRun(), and hasTimsTofMobilityIndex().
|
private |
Definition at line 85 of file msrun.h.
Referenced by MsRun(), and getRetentionTimeLine().
|
private |
|
private |
Definition at line 83 of file msrun.h.
Referenced by MsRun(), ~MsRun(), getPrecursorSPtrByScanNumber(), and getPrecursorSPtrBySpectrumIndex().
|
private |
Definition at line 75 of file msrun.h.
Referenced by MsRun(), getMsRunReaderSPtr(), and getMsRunReaderSPtr().
|
private |