60 position_(retention_time),
125 position_ = position;
184 return left.
getRT() < right;
189 return left < right.
getRT();
A 1-dimensional raw data point or peak for chromatograms.
Definition ChromatogramPeak.h:29
ChromatogramPeak(const ChromatogramPeak &p)=default
Copy constructor.
DPosition< 1 > PositionType
Position type.
Definition ChromatogramPeak.h:40
ChromatogramPeak & operator=(const ChromatogramPeak &rhs)=default
Assignment operator.
PositionType const & getPosition() const
Non-mutable access to the position.
Definition ChromatogramPeak.h:111
ChromatogramPeak(const PositionType retention_time, const IntensityType intensity)
Constructor with position and intensity.
Definition ChromatogramPeak.h:59
double CoordinateType
Coordinate type.
Definition ChromatogramPeak.h:42
PositionType position_
The data point position.
Definition ChromatogramPeak.h:225
~ChromatogramPeak()
Destructor.
Definition ChromatogramPeak.h:72
CoordinateType getPos() const
Alias for getRT()
Definition ChromatogramPeak.h:99
IntensityType getIntensity() const
Non-mutable access to the data point intensity (height)
Definition ChromatogramPeak.h:82
void setRT(CoordinateType rt)
Mutable access to RT.
Definition ChromatogramPeak.h:93
bool operator!=(const ChromatogramPeak &rhs) const
Equality operator.
Definition ChromatogramPeak.h:137
bool operator==(const ChromatogramPeak &rhs) const =default
Equality operator.
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition ChromatogramPeak.h:84
PositionType & getPosition()
Mutable access to the position.
Definition ChromatogramPeak.h:117
double IntensityType
Intensity type.
Definition ChromatogramPeak.h:38
void setPosition(PositionType const &position)
Mutable access to the position.
Definition ChromatogramPeak.h:123
void setPos(CoordinateType pos)
Alias for setRT()
Definition ChromatogramPeak.h:105
IntensityType intensity_
The data point intensity.
Definition ChromatogramPeak.h:227
ChromatogramPeak()
Default constructor.
Definition ChromatogramPeak.h:50
CoordinateType getRT() const
Non-mutable access to RT.
Definition ChromatogramPeak.h:87
Representation of a coordinate in D-dimensional space.
Definition DPosition.h:32
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)
void hash_combine(std::size_t &seed, std::size_t value) noexcept
Combine a hash value with additional data using golden ratio mixing.
Definition HashUtils.h:87
std::size_t hash_float(T value) noexcept
Hash for a floating point type (float or double).
Definition HashUtils.h:142
Comparator by intensity.
Definition ChromatogramPeak.h:151
bool operator()(ChromatogramPeak const &left, ChromatogramPeak const &right) const
Definition ChromatogramPeak.h:152
bool operator()(ChromatogramPeak const &left, IntensityType right) const
Definition ChromatogramPeak.h:157
bool operator()(IntensityType left, ChromatogramPeak const &right) const
Definition ChromatogramPeak.h:162
bool operator()(IntensityType left, IntensityType right) const
Definition ChromatogramPeak.h:167
Comparator by position. As this class has dimension 1, this is basically an alias for RTLess.
Definition ChromatogramPeak.h:201
bool operator()(const PositionType &left, const PositionType &right) const
Definition ChromatogramPeak.h:217
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition ChromatogramPeak.h:202
bool operator()(const PositionType &left, const ChromatogramPeak &right) const
Definition ChromatogramPeak.h:212
bool operator()(const ChromatogramPeak &left, const PositionType &right) const
Definition ChromatogramPeak.h:207
Comparator by RT position.
Definition ChromatogramPeak.h:176
bool operator()(CoordinateType left, CoordinateType right) const
Definition ChromatogramPeak.h:192
bool operator()(ChromatogramPeak const &left, CoordinateType right) const
Definition ChromatogramPeak.h:182
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition ChromatogramPeak.h:177
bool operator()(CoordinateType left, ChromatogramPeak const &right) const
Definition ChromatogramPeak.h:187
std::size_t operator()(const OpenMS::ChromatogramPeak &p) const noexcept
Definition ChromatogramPeak.h:241