125 position_ = position;
133 #pragma clang diagnostic push
134 #pragma clang diagnostic ignored "-Wfloat-equal"
136 #pragma clang diagnostic pop
185 return left.
getMZ() < right;
190 return left < right.
getMZ();
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:28
CoordinateType getMZ() const
Non-mutable access to m/z.
Definition: Peak1D.h:87
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: Peak1D.h:111
double CoordinateType
Coordinate type.
Definition: Peak1D.h:40
bool operator!=(const Peak1D &rhs) const
Equality operator.
Definition: Peak1D.h:140
PositionType position_
The data point position.
Definition: Peak1D.h:228
Peak1D(Peak1D &&) noexcept=default
Peak1D(const Peak1D &p)=default
Copy constructor.
bool operator==(const Peak1D &rhs) const
Equality operator.
Definition: Peak1D.h:131
CoordinateType getPos() const
Alias for getMZ()
Definition: Peak1D.h:99
Peak1D(PositionType a, IntensityType b)
construct with position and intensity
Definition: Peak1D.h:49
IntensityType getIntensity() const
Definition: Peak1D.h:82
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: Peak1D.h:84
void setMZ(CoordinateType mz)
Mutable access to m/z.
Definition: Peak1D.h:93
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: Peak1D.h:123
void setPos(CoordinateType pos)
Alias for setMZ()
Definition: Peak1D.h:105
IntensityType intensity_
The data point intensity.
Definition: Peak1D.h:230
PositionType & getPosition()
Mutable access to the position.
Definition: Peak1D.h:117
float IntensityType
Intensity type.
Definition: Peak1D.h:36
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
bool operator()(IntensityType left, Peak1D const &right) const
Definition: Peak1D.h:163
bool operator()(Peak1D const &left, IntensityType right) const
Definition: Peak1D.h:158
bool operator()(Peak1D const &left, Peak1D const &right) const
Definition: Peak1D.h:153
bool operator()(IntensityType left, IntensityType right) const
Definition: Peak1D.h:168
Comparator by m/z position.
Definition: Peak1D.h:177
bool operator()(CoordinateType left, CoordinateType right) const
Definition: Peak1D.h:193
bool operator()(const Peak1D &left, const Peak1D &right) const
Definition: Peak1D.h:178
bool operator()(CoordinateType left, Peak1D const &right) const
Definition: Peak1D.h:188
bool operator()(Peak1D const &left, CoordinateType right) const
Definition: Peak1D.h:183
Comparator by position. As this class has dimension 1, this is basically an alias for MZLess.
Definition: Peak1D.h:202
bool operator()(const Peak1D &left, const PositionType &right) const
Definition: Peak1D.h:208
bool operator()(const Peak1D &left, const Peak1D &right) const
Definition: Peak1D.h:203
bool operator()(const PositionType &left, const PositionType &right) const
Definition: Peak1D.h:218
bool operator()(const PositionType &left, const Peak1D &right) const
Definition: Peak1D.h:213