Class representing a fully specified mass spectrum.
 
interface to collect spectrums from the MsRunReader class
 
const PrecursorSp & getPrecursorSPtrBySpectrumIndex(std::size_t spectrum_index) const
 
void mapSpectrumIndexToPrecursor(std::size_t spectrum_index, PrecursorSp precursor)
map spectrum index to precursor new modern method to replace obsolete scan number
 
std::map< std::size_t, PrecursorSp > m_scanNumber2PrecursorMap
 
virtual bool needPeakList() const override
tells if we need the peak list (if we want the binary data) for each spectrum
 
void mapScanNumberPrecursor(std::size_t scan_num, PrecursorSp precursor)
map precursor to its scan number as parsed in the xml file of this msrun
 
std::map< std::size_t, PrecursorSp > m_spectrumIndex2PrecursorMap
 
virtual ~PrecursorParser()
 
virtual void setQualifiedMassSpectrum(const pappso::QualifiedMassSpectrum &qspectrum) override
 
virtual bool isReadAhead() const override
tells if we want to read ahead spectrum
 
const PrecursorSp & getPrecursorSPtrByScanNumber(std::size_t spectrum_index) const
 
PrecursorParser(pappso::MsRunReaderCstSPtr msrun_reader)
 
pappso::MsRunReaderCstSPtr msp_msrunReader
 
std::shared_ptr< Precursor > PrecursorSp
 
std::shared_ptr< const MsRunReader > MsRunReaderCstSPtr