30 enum{ DIMENSION = 1 };
86 intensity_ = intensity;
98 position_[0] = mobility;
128 position_ = position;
136 #pragma clang diagnostic push
137 #pragma clang diagnostic ignored "-Wfloat-equal"
139 #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:25
bool operator==(const MobilityPeak1D &rhs) const
Equality operator.
Definition: MobilityPeak1D.h:134
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: MobilityPeak1D.h:114
double CoordinateType
Coordinate type.
Definition: MobilityPeak1D.h:36
bool operator!=(const MobilityPeak1D &rhs) const
Equality operator.
Definition: MobilityPeak1D.h:143
MobilityPeak1D(PositionType a, IntensityType b)
construct with position and intensity
Definition: MobilityPeak1D.h:45
PositionType position_
The data point position.
Definition: MobilityPeak1D.h:225
CoordinateType getPos() const
Alias for getMobility()
Definition: MobilityPeak1D.h:102
IntensityType getIntensity() const
Definition: MobilityPeak1D.h:79
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: MobilityPeak1D.h:84
void setMobility(CoordinateType mobility)
Mutable access to mobility.
Definition: MobilityPeak1D.h:96
CoordinateType getMobility() const
Non-mutable access to m/z.
Definition: MobilityPeak1D.h:90
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: MobilityPeak1D.h:126
void setPos(CoordinateType pos)
Alias for setMobility()
Definition: MobilityPeak1D.h:108
IntensityType intensity_
The data point intensity.
Definition: MobilityPeak1D.h:227
MobilityPeak1D(MobilityPeak1D &&) noexcept=default
MobilityPeak1D(const MobilityPeak1D &p)=default
Copy constructor.
PositionType & getPosition()
Mutable access to the position.
Definition: MobilityPeak1D.h:120
float IntensityType
Intensity type.
Definition: MobilityPeak1D.h:32
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)
Definition: MobilityPeak1D.h:154
bool operator()(MobilityPeak1D const &left, MobilityPeak1D const &right) const
Definition: MobilityPeak1D.h:155
bool operator()(MobilityPeak1D const &left, IntensityType right) const
Definition: MobilityPeak1D.h:160
bool operator()(IntensityType left, MobilityPeak1D const &right) const
Definition: MobilityPeak1D.h:165
bool operator()(IntensityType left, IntensityType right) const
Definition: MobilityPeak1D.h:170
Comparator by mobility position.
Definition: MobilityPeak1D.h:177
bool operator()(CoordinateType left, MobilityPeak1D const &right) const
Definition: MobilityPeak1D.h:188
bool operator()(CoordinateType left, CoordinateType right) const
Definition: MobilityPeak1D.h:193
bool operator()(const MobilityPeak1D &left, const MobilityPeak1D &right) const
Definition: MobilityPeak1D.h:178
bool operator()(MobilityPeak1D const &left, CoordinateType right) const
Definition: MobilityPeak1D.h:183
Comparator by position. As this class has dimension 1, this is basically an alias for MobilityLess.
Definition: MobilityPeak1D.h:200
bool operator()(const PositionType &left, const PositionType &right) const
Definition: MobilityPeak1D.h:216
bool operator()(const MobilityPeak1D &left, const MobilityPeak1D &right) const
Definition: MobilityPeak1D.h:201
bool operator()(const MobilityPeak1D &left, const PositionType &right) const
Definition: MobilityPeak1D.h:206
bool operator()(const PositionType &left, const MobilityPeak1D &right) const
Definition: MobilityPeak1D.h:211