88 static char const *
const dimension_name_short_[DIMENSION];
91 static char const *
const dimension_name_full_[DIMENSION];
94 static char const *
const dimension_unit_short_[DIMENSION];
97 static char const *
const dimension_unit_full_[DIMENSION];
146 intensity_ = intensity;
164 position_ = position;
170 return position_[
MZ];
176 position_[
MZ] = coordinate;
182 return position_[IM];
188 position_[IM] = coordinate;
269 return left.
getMZ() < right;
274 return left < right.
getMZ();
A 2-dimensional raw data point or peak.
Definition: MobilityPeak2D.h:29
CoordinateType getMZ() const
Returns the m/z coordinate (index 1)
Definition: MobilityPeak2D.h:168
MobilityPeak2D(const PositionType &pos, const IntensityType in)
Member constructor.
Definition: MobilityPeak2D.h:108
PositionType const & getPosition() const
Non-mutable access to the position.
Definition: MobilityPeak2D.h:150
void setMZ(CoordinateType coordinate)
Mutable access to the m/z coordinate (index 1)
Definition: MobilityPeak2D.h:174
void setMobility(CoordinateType coordinate)
Mutable access to the IM coordinate (index 0)
Definition: MobilityPeak2D.h:186
float IntensityType
Intensity type.
Definition: MobilityPeak2D.h:35
double CoordinateType
Coordinate type (of the position)
Definition: MobilityPeak2D.h:37
static char const * fullDimensionName(UInt const dim)
Full name of the dimension (self-explanatory form)
PositionType position_
The data point position.
Definition: MobilityPeak2D.h:312
static char const * shortDimensionUnitIM()
Unit of measurement (abbreviated form)
bool operator==(const MobilityPeak2D &rhs) const
Equality operator.
Definition: MobilityPeak2D.h:194
static char const * shortDimensionUnitMZ()
Unit of measurement (abbreviated form)
static char const * shortDimensionNameMZ()
Short name of the dimension (abbreviated form)
IntensityType getIntensity() const
Definition: MobilityPeak2D.h:138
static char const * shortDimensionUnit(UInt const dim)
Unit of measurement (abbreviated form)
friend std::ostream & operator<<(std::ostream &os, const MobilityPeak2D &point)
Print the contents to a stream.
static char const * fullDimensionUnitIM()
Unit of measurement (self-explanatory form)
bool operator!=(const MobilityPeak2D &rhs) const
Equality operator.
Definition: MobilityPeak2D.h:200
void setIntensity(IntensityType intensity)
Sets data point intensity (height)
Definition: MobilityPeak2D.h:144
void setPosition(const PositionType &position)
Mutable access to the position.
Definition: MobilityPeak2D.h:162
CoordinateType getMobility() const
Returns the IM coordinate (index 0)
Definition: MobilityPeak2D.h:180
DimensionDescription
This enum maps the symbolic names of the dimensions to numbers.
Definition: MobilityPeak2D.h:47
MobilityPeak2D(const MobilityPeak2D &p)=default
Copy constructor.
DPosition< 2 > PositionType
Position type.
Definition: MobilityPeak2D.h:39
static char const * fullDimensionNameIM()
Full name of the dimension (self-explanatory form)
static char const * shortDimensionName(UInt const dim)
Short name of the dimension (abbreviated form)
IntensityType intensity_
The data point intensity.
Definition: MobilityPeak2D.h:314
static char const * fullDimensionUnit(UInt const dim)
Unit of measurement (self-explanatory form)
static char const * fullDimensionNameMZ()
Full name of the dimension (self-explanatory form)
static char const * fullDimensionUnitMZ()
Unit of measurement (self-explanatory form)
static char const * shortDimensionNameIM()
Short name of the dimension (abbreviated form)
MobilityPeak2D(MobilityPeak2D &&) noexcept=default
Move constructor.
PositionType & getPosition()
Mutable access to the position.
Definition: MobilityPeak2D.h:156
unsigned int UInt
Unsigned integer type.
Definition: Types.h:64
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Comparator by IM position.
Definition: MobilityPeak2D.h:237
bool operator()(CoordinateType left, CoordinateType right) const
Definition: MobilityPeak2D.h:253
bool operator()(CoordinateType left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:248
bool operator()(const MobilityPeak2D &left, CoordinateType right) const
Definition: MobilityPeak2D.h:243
bool operator()(const MobilityPeak2D &left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:238
Definition: MobilityPeak2D.h:213
bool operator()(const MobilityPeak2D &left, IntensityType right) const
Definition: MobilityPeak2D.h:219
bool operator()(IntensityType left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:224
bool operator()(const MobilityPeak2D &left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:214
bool operator()(IntensityType left, IntensityType right) const
Definition: MobilityPeak2D.h:229
Comparator by m/z position.
Definition: MobilityPeak2D.h:261
bool operator()(CoordinateType left, CoordinateType right) const
Definition: MobilityPeak2D.h:277
bool operator()(CoordinateType left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:272
bool operator()(const MobilityPeak2D &left, CoordinateType right) const
Definition: MobilityPeak2D.h:267
bool operator()(const MobilityPeak2D &left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:262
Comparator by position. Lexicographical comparison (first IM then m/z) is done.
Definition: MobilityPeak2D.h:285
bool operator()(const PositionType &left, const PositionType &right) const
Definition: MobilityPeak2D.h:301
bool operator()(const MobilityPeak2D &left, const PositionType &right) const
Definition: MobilityPeak2D.h:291
bool operator()(const PositionType &left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:296
bool operator()(const MobilityPeak2D &left, const MobilityPeak2D &right) const
Definition: MobilityPeak2D.h:286