56 enum{ DIMENSION = 1 };
112 intensity_ = intensity;
124 position_[0] = mobility;
154 position_ = position;
162 #pragma clang diagnostic push
163 #pragma clang diagnostic ignored "-Wfloat-equal"
165 #pragma clang diagnostic pop
A 1-dimensional raw data mobility point or peak. The unit (ms, 1/K_0, etc) is implicit.
Definition: MobilityPeak1D.h:51
bool operator==(const MobilityPeak1D &rhs) const
Equality operator.
Definition: MobilityPeak1D.h:160
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: MobilityPeak1D.h:140
double CoordinateType
Coordinate type.
Definition: MobilityPeak1D.h:62
bool operator!=(const MobilityPeak1D &rhs) const
Equality operator.
Definition: MobilityPeak1D.h:169
MobilityPeak1D(PositionType a, IntensityType b)
construct with position and intensity
Definition: MobilityPeak1D.h:71
PositionType position_
The data point position.
Definition: MobilityPeak1D.h:251
CoordinateType getPos() const
Alias for getMobility()
Definition: MobilityPeak1D.h:128
IntensityType getIntensity() const
Definition: MobilityPeak1D.h:105
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: MobilityPeak1D.h:110
void setMobility(CoordinateType mobility)
Mutable access to mobility.
Definition: MobilityPeak1D.h:122
CoordinateType getMobility() const
Non-mutable access to m/z.
Definition: MobilityPeak1D.h:116
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: MobilityPeak1D.h:152
void setPos(CoordinateType pos)
Alias for setMobility()
Definition: MobilityPeak1D.h:134
IntensityType intensity_
The data point intensity.
Definition: MobilityPeak1D.h:253
MobilityPeak1D(MobilityPeak1D &&) noexcept=default
MobilityPeak1D(const MobilityPeak1D &p)=default
Copy constructor.
PositionType & getPosition()
Mutable access to the position.
Definition: MobilityPeak1D.h:146
float IntensityType
Intensity type.
Definition: MobilityPeak1D.h:58
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)
Definition: MobilityPeak1D.h:180
bool operator()(MobilityPeak1D const &left, MobilityPeak1D const &right) const
Definition: MobilityPeak1D.h:181
bool operator()(MobilityPeak1D const &left, IntensityType right) const
Definition: MobilityPeak1D.h:186
bool operator()(IntensityType left, MobilityPeak1D const &right) const
Definition: MobilityPeak1D.h:191
bool operator()(IntensityType left, IntensityType right) const
Definition: MobilityPeak1D.h:196
Comparator by mobility position.
Definition: MobilityPeak1D.h:203
bool operator()(CoordinateType left, MobilityPeak1D const &right) const
Definition: MobilityPeak1D.h:214
bool operator()(CoordinateType left, CoordinateType right) const
Definition: MobilityPeak1D.h:219
bool operator()(const MobilityPeak1D &left, const MobilityPeak1D &right) const
Definition: MobilityPeak1D.h:204
bool operator()(MobilityPeak1D const &left, CoordinateType right) const
Definition: MobilityPeak1D.h:209
Comparator by position. As this class has dimension 1, this is basically an alias for MobilityLess.
Definition: MobilityPeak1D.h:226
bool operator()(const PositionType &left, const PositionType &right) const
Definition: MobilityPeak1D.h:242
bool operator()(const MobilityPeak1D &left, const MobilityPeak1D &right) const
Definition: MobilityPeak1D.h:227
bool operator()(const MobilityPeak1D &left, const PositionType &right) const
Definition: MobilityPeak1D.h:232
bool operator()(const PositionType &left, const MobilityPeak1D &right) const
Definition: MobilityPeak1D.h:237