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 More... | |
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 |
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 60 of file tracepeak.h.
pappso::TracePeak::TracePeak | ( | ) |
Definition at line 52 of file tracepeak.cpp.
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 55 of file tracepeak.cpp.
pappso::TracePeak::TracePeak | ( | const TracePeak & | other | ) |
pappso::TracePeak::~TracePeak | ( | ) |
bool pappso::TracePeak::containsRt | ( | pappso::pappso_double | rt | ) | const |
Definition at line 132 of file tracepeak.cpp.
pappso_double pappso::TracePeak::getArea | ( | ) | const |
Definition at line 121 of file tracepeak.cpp.
DataPoint & pappso::TracePeak::getLeftBoundary | ( | ) |
Definition at line 95 of file tracepeak.cpp.
References m_right.
Referenced by pappso::QCPXic::drawXicPeakBorders().
|
inline |
Definition at line 90 of file tracepeak.h.
DataPoint & pappso::TracePeak::getMaxXicElement | ( | ) |
Definition at line 85 of file tracepeak.cpp.
References m_right.
Referenced by pappso::QCPXic::drawXicPeakBorders().
|
inline |
DataPoint & pappso::TracePeak::getRightBoundary | ( | ) |
Definition at line 106 of file tracepeak.cpp.
References m_area.
Referenced by pappso::QCPXic::drawXicPeakBorders().
const DataPoint & pappso::TracePeak::getRightBoundary | ( | ) | const |
Definition at line 111 of file tracepeak.cpp.
References m_left, m_right, pappso::rt, and pappso::DataPoint::x.
TracePeakCstSPtr pappso::TracePeak::makeTracePeakCstSPtr | ( | ) | const |
|
inline |
Definition at line 106 of file tracepeak.h.
void pappso::TracePeak::setArea | ( | pappso_double | area | ) |
Definition at line 126 of file tracepeak.cpp.
void pappso::TracePeak::setLeftBoundary | ( | const DataPoint & | left | ) |
void pappso::TracePeak::setMaxXicElement | ( | const DataPoint & | max | ) |
void pappso::TracePeak::setRightBoundary | ( | const DataPoint & | right | ) |
Definition at line 116 of file tracepeak.cpp.
|
protected |
Definition at line 63 of file tracepeak.h.
Referenced by getMaxXicElement(), getRightBoundary(), and setLeftBoundary().
|
protected |
Definition at line 65 of file tracepeak.h.
Referenced by getMaxXicElement(), getRightBoundary(), makeTracePeakCstSPtr(), and ~TracePeak().
|
protected |
Definition at line 64 of file tracepeak.h.
Referenced by getMaxXicElement(), and TracePeak().
|
protected |
Definition at line 66 of file tracepeak.h.
Referenced by getLeftBoundary(), getMaxXicElement(), getRightBoundary(), and setMaxXicElement().