151 position_ = position;
159 #pragma clang diagnostic push
160 #pragma clang diagnostic ignored "-Wfloat-equal"
162 #pragma clang diagnostic pop
211 return left.
getMZ() < right;
216 return left < right.
getMZ();
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:54
CoordinateType getMZ() const
Non-mutable access to m/z.
Definition: Peak1D.h:113
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: Peak1D.h:137
double CoordinateType
Coordinate type.
Definition: Peak1D.h:66
bool operator!=(const Peak1D &rhs) const
Equality operator.
Definition: Peak1D.h:166
PositionType position_
The data point position.
Definition: Peak1D.h:254
Peak1D(Peak1D &&) noexcept=default
Peak1D(const Peak1D &p)=default
Copy constructor.
bool operator==(const Peak1D &rhs) const
Equality operator.
Definition: Peak1D.h:157
CoordinateType getPos() const
Alias for getMZ()
Definition: Peak1D.h:125
Peak1D(PositionType a, IntensityType b)
construct with position and intensity
Definition: Peak1D.h:75
IntensityType getIntensity() const
Definition: Peak1D.h:108
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: Peak1D.h:110
void setMZ(CoordinateType mz)
Mutable access to m/z.
Definition: Peak1D.h:119
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: Peak1D.h:149
void setPos(CoordinateType pos)
Alias for setMZ()
Definition: Peak1D.h:131
IntensityType intensity_
The data point intensity.
Definition: Peak1D.h:256
PositionType & getPosition()
Mutable access to the position.
Definition: Peak1D.h:143
float IntensityType
Intensity type.
Definition: Peak1D.h:62
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
bool operator()(IntensityType left, Peak1D const &right) const
Definition: Peak1D.h:189
bool operator()(Peak1D const &left, IntensityType right) const
Definition: Peak1D.h:184
bool operator()(Peak1D const &left, Peak1D const &right) const
Definition: Peak1D.h:179
bool operator()(IntensityType left, IntensityType right) const
Definition: Peak1D.h:194
Comparator by m/z position.
Definition: Peak1D.h:203
bool operator()(CoordinateType left, CoordinateType right) const
Definition: Peak1D.h:219
bool operator()(const Peak1D &left, const Peak1D &right) const
Definition: Peak1D.h:204
bool operator()(CoordinateType left, Peak1D const &right) const
Definition: Peak1D.h:214
bool operator()(Peak1D const &left, CoordinateType right) const
Definition: Peak1D.h:209
Comparator by position. As this class has dimension 1, this is basically an alias for MZLess.
Definition: Peak1D.h:228
bool operator()(const Peak1D &left, const PositionType &right) const
Definition: Peak1D.h:234
bool operator()(const Peak1D &left, const Peak1D &right) const
Definition: Peak1D.h:229
bool operator()(const PositionType &left, const PositionType &right) const
Definition: Peak1D.h:244
bool operator()(const PositionType &left, const Peak1D &right) const
Definition: Peak1D.h:239