| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
A Precursor object represents the parent/precursor of the MS level 2 scan with number _scan_num in the mzxml file. More...
#include <precursor.h>
Public Member Functions | |
| Precursor (std::size_t spectrum_index, double mz, double intensity, pappso::XicCoordSPtr xic_coord) | |
| virtual | ~Precursor () | 
| double | getIntensity () const | 
| std::size_t | getSpectrumIndex () const | 
| const pappso::XicCoordSPtr & | getXicCoordSPtr () const | 
Private Attributes | |
| std::size_t | m_spectrumIndex | 
| < MS level 2 scan number whome this Precursor is parent   | |
| double | m_intensity | 
| intensity of this precursor   | |
| double | m_mz | 
| selected m/z of this precursor   | |
| pappso::XicCoordSPtr | msp_xicCoord | 
| Xic coordinates.   | |
A Precursor object represents the parent/precursor of the MS level 2 scan with number _scan_num in the mzxml file.
In mzxml files, MS scans of level 2 have each a precursor object representing their MS level 1 parent/precursor. A Precursor object has :
Definition at line 55 of file precursor.h.
| pappso::masschroq::Precursor::Precursor | ( | std::size_t | spectrum_index, | 
| double | mz, | ||
| double | intensity, | ||
| pappso::XicCoordSPtr | xic_coord ) | 
Default constructor
Definition at line 33 of file precursor.cpp.
References m_intensity, m_mz, m_spectrumIndex, and msp_xicCoord.
      
  | 
  virtual | 
| double pappso::masschroq::Precursor::getIntensity | ( | ) | const | 
Definition at line 60 of file precursor.cpp.
References m_intensity.
Referenced by pappso::masschroq::MsRunPeptideList::addPeptideScanNumberObservation(), and pappso::masschroq::MsRunPeptideList::addPeptideSpectrumIndexObservation().
| std::size_t pappso::masschroq::Precursor::getSpectrumIndex | ( | ) | const | 
Definition at line 66 of file precursor.cpp.
References m_spectrumIndex.
| const pappso::XicCoordSPtr & pappso::masschroq::Precursor::getXicCoordSPtr | ( | ) | const | 
Definition at line 72 of file precursor.cpp.
References msp_xicCoord.
Referenced by pappso::masschroq::MsRunPeptideList::addPeptideScanNumberObservation(), pappso::masschroq::MsRunPeptideList::addPeptideSpectrumIndexObservation(), pappso::masschroq::PrecursorParser::mapScanNumberPrecursor(), pappso::masschroq::PrecursorParser::mapSpectrumIndexToPrecursor(), and pappso::masschroq::PrecursorParser::setQualifiedMassSpectrum().
      
  | 
  private | 
intensity of this precursor
Definition at line 80 of file precursor.h.
Referenced by Precursor(), and getIntensity().
      
  | 
  private | 
selected m/z of this precursor
Definition at line 82 of file precursor.h.
Referenced by Precursor().
      
  | 
  private | 
< MS level 2 scan number whome this Precursor is parent
Definition at line 78 of file precursor.h.
Referenced by Precursor(), and getSpectrumIndex().
      
  | 
  private | 
Xic coordinates.
Definition at line 84 of file precursor.h.
Referenced by Precursor(), and getXicCoordSPtr().