56 position_(p.position_),
57 intensity_(p.intensity_)
62 position_(retention_time),
127 position_ = position;
135 if (
this == &rhs)
return *
this;
146 #pragma clang diagnostic push
147 #pragma clang diagnostic ignored "-Wfloat-equal"
149 #pragma clang diagnostic pop
200 return left.
getRT() < right;
205 return left < right.
getRT();
A 1-dimensional raw data point or peak for chromatograms.
Definition: ChromatogramPeak.h:28
ChromatogramPeak & operator=(const ChromatogramPeak &rhs)
Assignment operator.
Definition: ChromatogramPeak.h:133
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: ChromatogramPeak.h:113
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:61
double CoordinateType
Coordinate type.
Definition: ChromatogramPeak.h:41
PositionType position_
The data point position.
Definition: ChromatogramPeak.h:241
~ChromatogramPeak()
Destructor.
Definition: ChromatogramPeak.h:74
CoordinateType getPos() const
Alias for getRT()
Definition: ChromatogramPeak.h:101
IntensityType getIntensity() const
Non-mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:84
void setRT(CoordinateType rt)
Mutable access to RT.
Definition: ChromatogramPeak.h:95
bool operator!=(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:153
bool operator==(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:144
ChromatogramPeak(const ChromatogramPeak &p)
Copy constructor.
Definition: ChromatogramPeak.h:55
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:86
double IntensityType
Intensity type.
Definition: ChromatogramPeak.h:37
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: ChromatogramPeak.h:125
void setPos(CoordinateType pos)
Alias for setRT()
Definition: ChromatogramPeak.h:107
IntensityType intensity_
The data point intensity.
Definition: ChromatogramPeak.h:243
ChromatogramPeak()
Default constructor.
Definition: ChromatogramPeak.h:49
PositionType & getPosition()
Mutable access to the position.
Definition: ChromatogramPeak.h:119
CoordinateType getRT() const
Non-mutable access to RT.
Definition: ChromatogramPeak.h:89
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:167
bool operator()(ChromatogramPeak const &left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:168
bool operator()(ChromatogramPeak const &left, IntensityType right) const
Definition: ChromatogramPeak.h:173
bool operator()(IntensityType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:178
bool operator()(IntensityType left, IntensityType right) const
Definition: ChromatogramPeak.h:183
Comparator by position. As this class has dimension 1, this is basically an alias for RTLess.
Definition: ChromatogramPeak.h:217
bool operator()(const PositionType &left, const PositionType &right) const
Definition: ChromatogramPeak.h:233
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:218
bool operator()(const PositionType &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:228
bool operator()(const ChromatogramPeak &left, const PositionType &right) const
Definition: ChromatogramPeak.h:223
Comparator by RT position.
Definition: ChromatogramPeak.h:192
bool operator()(CoordinateType left, CoordinateType right) const
Definition: ChromatogramPeak.h:208
bool operator()(ChromatogramPeak const &left, CoordinateType right) const
Definition: ChromatogramPeak.h:198
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:193
bool operator()(CoordinateType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:203