| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <tracepeak.h>
Public Member Functions | |
| TracePeak () | |
| TracePeak (std::vector< DataPoint >::const_iterator it_begin, std::vector< DataPoint >::const_iterator it_end) | |
| construct a peak given a trace, begin and end x coordinate   | |
| TracePeak (std::vector< DataPoint >::const_iterator it_begin, std::vector< DataPoint >::const_iterator it_end, bool remove_base) | |
| construct a peak given a trace, begin and end x coordinate   | |
| TracePeak (const TracePeak &other) | |
| ~TracePeak () | |
| TracePeakCstSPtr | makeTracePeakCstSPtr () const | 
| DataPoint & | getMaxXicElement () | 
| const DataPoint & | getMaxXicElement () const | 
| void | setMaxXicElement (const DataPoint &max) | 
| DataPoint & | getLeftBoundary () | 
| const DataPoint & | getLeftBoundary () const | 
| void | setLeftBoundary (const DataPoint &left) | 
| DataPoint & | getRightBoundary () | 
| const DataPoint & | getRightBoundary () const | 
| void | setRightBoundary (const DataPoint &right) | 
| pappso_double | getArea () const | 
| void | setArea (pappso_double area) | 
| bool | containsRt (pappso::pappso_double rt) const | 
| bool | operator== (const TracePeak &other) const | 
| TracePeak & | operator= (const TracePeak &other) | 
Protected Attributes | |
| pappso_double | m_area = 0 | 
| DataPoint | m_max | 
| DataPoint | m_left | 
| DataPoint | m_right | 
@/brief Xic Peak stores peak boudaries detected from a Xic
Definition at line 39 of file tracepeak.h.
| pappso::TracePeak::TracePeak | ( | ) | 
Definition at line 31 of file tracepeak.cpp.
Referenced by TracePeak(), operator=(), and operator==().
| pappso::TracePeak::TracePeak | ( | std::vector< DataPoint >::const_iterator | it_begin, | 
| std::vector< DataPoint >::const_iterator | it_end ) | 
construct a peak given a trace, begin and end x coordinate
Definition at line 35 of file tracepeak.cpp.
References pappso::areaTrace(), m_area, m_left, m_max, m_right, and pappso::maxYDataPoint().
| pappso::TracePeak::TracePeak | ( | std::vector< DataPoint >::const_iterator | it_begin, | 
| std::vector< DataPoint >::const_iterator | it_end, | ||
| bool | remove_base ) | 
construct a peak given a trace, begin and end x coordinate
| it_begin | begining of trace | 
| it_end | end of trace | 
| remove_base | if true, remove the base peak signal | 
Definition at line 45 of file tracepeak.cpp.
References pappso::areaTrace(), m_area, m_left, m_max, m_right, and pappso::maxYDataPoint().
| pappso::TracePeak::TracePeak | ( | const TracePeak & | other | ) | 
| pappso::TracePeak::~TracePeak | ( | ) | 
Definition at line 71 of file tracepeak.cpp.
| bool pappso::TracePeak::containsRt | ( | pappso::pappso_double | rt | ) | const | 
| pappso_double pappso::TracePeak::getArea | ( | ) | const | 
Definition at line 119 of file tracepeak.cpp.
References m_area.
Referenced by pappso::masschroq::CborOutputStream::writeTracePeak().
| DataPoint & pappso::TracePeak::getLeftBoundary | ( | ) | 
Definition at line 93 of file tracepeak.cpp.
References m_left.
Referenced by pappso::QCPXic::drawXicPeakBorders(), and pappso::masschroq::CborOutputStream::writeTracePeak().
| const DataPoint & pappso::TracePeak::getLeftBoundary | ( | ) | const | 
| DataPoint & pappso::TracePeak::getMaxXicElement | ( | ) | 
Definition at line 83 of file tracepeak.cpp.
References m_max.
Referenced by pappso::QCPXic::drawXicPeakBorders(), and pappso::masschroq::CborOutputStream::writeTracePeak().
| const DataPoint & pappso::TracePeak::getMaxXicElement | ( | ) | const | 
| DataPoint & pappso::TracePeak::getRightBoundary | ( | ) | 
Definition at line 104 of file tracepeak.cpp.
References m_right.
Referenced by pappso::QCPXic::drawXicPeakBorders(), and pappso::masschroq::CborOutputStream::writeTracePeak().
| const DataPoint & pappso::TracePeak::getRightBoundary | ( | ) | const | 
| TracePeakCstSPtr pappso::TracePeak::makeTracePeakCstSPtr | ( | ) | const | 
Definition at line 77 of file tracepeak.cpp.
| bool pappso::TracePeak::operator== | ( | const TracePeak & | other | ) | const | 
| void pappso::TracePeak::setArea | ( | pappso_double | area | ) | 
| void pappso::TracePeak::setLeftBoundary | ( | const DataPoint & | left | ) | 
| void pappso::TracePeak::setMaxXicElement | ( | const DataPoint & | max | ) | 
| void pappso::TracePeak::setRightBoundary | ( | const DataPoint & | right | ) | 
      
  | 
  protected | 
Definition at line 88 of file tracepeak.h.
Referenced by TracePeak(), TracePeak(), TracePeak(), getArea(), operator=(), operator==(), and setArea().
      
  | 
  protected | 
Definition at line 90 of file tracepeak.h.
Referenced by TracePeak(), TracePeak(), TracePeak(), containsRt(), getLeftBoundary(), getLeftBoundary(), operator=(), operator==(), and setLeftBoundary().
      
  | 
  protected | 
Definition at line 89 of file tracepeak.h.
Referenced by TracePeak(), TracePeak(), TracePeak(), getMaxXicElement(), getMaxXicElement(), operator=(), operator==(), and setMaxXicElement().
      
  | 
  protected | 
Definition at line 91 of file tracepeak.h.
Referenced by TracePeak(), TracePeak(), TracePeak(), containsRt(), getRightBoundary(), getRightBoundary(), operator=(), operator==(), and setRightBoundary().