156 #pragma clang diagnostic push
157 #pragma clang diagnostic ignored "-Wfloat-equal"
159 #pragma clang diagnostic pop
208 return left.
getMZ() < right;
213 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:107
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: Peak1D.h:131
DPosition< 1 > PositionType
Position type.
Definition: Peak1D.h:64
Peak1D & operator=(const Peak1D &rhs)=default
Assignment operator.
bool operator!=(const Peak1D &rhs) const
Equality operator.
Definition: Peak1D.h:163
float IntensityType
Intensity type.
Definition: Peak1D.h:62
double CoordinateType
Coordinate type.
Definition: Peak1D.h:66
PositionType position_
The data point position.
Definition: Peak1D.h:251
Peak1D(Peak1D &&) noexcept=default
Peak1D(const Peak1D &p)=default
Copy constructor.
bool operator==(const Peak1D &rhs) const
Equality operator.
Definition: Peak1D.h:154
CoordinateType getPos() const
Alias for getMZ()
Definition: Peak1D.h:119
Peak1D(PositionType a, IntensityType b)
construct with position and intensity
Definition: Peak1D.h:75
IntensityType getIntensity() const
Definition: Peak1D.h:102
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: Peak1D.h:104
void setMZ(CoordinateType mz)
Mutable access to m/z.
Definition: Peak1D.h:113
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: Peak1D.h:143
void setPos(CoordinateType pos)
Alias for setMZ()
Definition: Peak1D.h:125
IntensityType intensity_
The data point intensity.
Definition: Peak1D.h:253
PositionType & getPosition()
Mutable access to the position.
Definition: Peak1D.h:137
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:563
bool operator()(IntensityType left, Peak1D const &right) const
Definition: Peak1D.h:186
bool operator()(Peak1D const &left, IntensityType right) const
Definition: Peak1D.h:181
bool operator()(Peak1D const &left, Peak1D const &right) const
Definition: Peak1D.h:176
bool operator()(IntensityType left, IntensityType right) const
Definition: Peak1D.h:191
Comparator by m/z position.
Definition: Peak1D.h:200
bool operator()(CoordinateType left, CoordinateType right) const
Definition: Peak1D.h:216
bool operator()(const Peak1D &left, const Peak1D &right) const
Definition: Peak1D.h:201
bool operator()(CoordinateType left, Peak1D const &right) const
Definition: Peak1D.h:211
bool operator()(Peak1D const &left, CoordinateType right) const
Definition: Peak1D.h:206
Comparator by position. As this class has dimension 1, this is basically an alias for MZLess.
Definition: Peak1D.h:225
bool operator()(const Peak1D &left, const PositionType &right) const
Definition: Peak1D.h:231
bool operator()(const Peak1D &left, const Peak1D &right) const
Definition: Peak1D.h:226
bool operator()(const PositionType &left, const PositionType &right) const
Definition: Peak1D.h:241
bool operator()(const PositionType &left, const Peak1D &right) const
Definition: Peak1D.h:236