59 position_(retention_time),
124 position_ = position;
183 return left.
getRT() < right;
188 return left < right.
getRT();
A 1-dimensional raw data point or peak for chromatograms.
Definition: ChromatogramPeak.h:28
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: ChromatogramPeak.h:110
ChromatogramPeak(const ChromatogramPeak &p)=default
Copy constructor.
DPosition< 1 > PositionType
Position type.
Definition: ChromatogramPeak.h:39
ChromatogramPeak(const PositionType retention_time, const IntensityType intensity)
Constructor with position and intensity.
Definition: ChromatogramPeak.h:58
double CoordinateType
Coordinate type.
Definition: ChromatogramPeak.h:41
PositionType position_
The data point position.
Definition: ChromatogramPeak.h:224
~ChromatogramPeak()
Destructor.
Definition: ChromatogramPeak.h:71
CoordinateType getPos() const
Alias for getRT()
Definition: ChromatogramPeak.h:98
IntensityType getIntensity() const
Non-mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:81
void setRT(CoordinateType rt)
Mutable access to RT.
Definition: ChromatogramPeak.h:92
bool operator!=(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:136
bool operator==(const ChromatogramPeak &rhs) const =default
Equality operator.
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:83
double IntensityType
Intensity type.
Definition: ChromatogramPeak.h:37
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: ChromatogramPeak.h:122
void setPos(CoordinateType pos)
Alias for setRT()
Definition: ChromatogramPeak.h:104
IntensityType intensity_
The data point intensity.
Definition: ChromatogramPeak.h:226
ChromatogramPeak()
Default constructor.
Definition: ChromatogramPeak.h:49
PositionType & getPosition()
Mutable access to the position.
Definition: ChromatogramPeak.h:116
CoordinateType getRT() const
Non-mutable access to RT.
Definition: ChromatogramPeak.h:86
ChromatogramPeak & operator=(const ChromatogramPeak &rhs)=default
Assignment operator.
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Comparator by intensity.
Definition: ChromatogramPeak.h:150
bool operator()(ChromatogramPeak const &left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:151
bool operator()(ChromatogramPeak const &left, IntensityType right) const
Definition: ChromatogramPeak.h:156
bool operator()(IntensityType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:161
bool operator()(IntensityType left, IntensityType right) const
Definition: ChromatogramPeak.h:166
Comparator by position. As this class has dimension 1, this is basically an alias for RTLess.
Definition: ChromatogramPeak.h:200
bool operator()(const PositionType &left, const PositionType &right) const
Definition: ChromatogramPeak.h:216
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:201
bool operator()(const PositionType &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:211
bool operator()(const ChromatogramPeak &left, const PositionType &right) const
Definition: ChromatogramPeak.h:206
Comparator by RT position.
Definition: ChromatogramPeak.h:175
bool operator()(CoordinateType left, CoordinateType right) const
Definition: ChromatogramPeak.h:191
bool operator()(ChromatogramPeak const &left, CoordinateType right) const
Definition: ChromatogramPeak.h:181
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:176
bool operator()(CoordinateType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:186