|  | OpenMS
    2.6.0
    | 
 
 
  
  
 
Go to the documentation of this file.
   81     static char const * shortDimensionName(
UInt const dim);
 
   83     static char const * shortDimensionNameRT();
 
   85     static char const * shortDimensionNameMZ();
 
   88     static char const * fullDimensionName(
UInt const dim);
 
   90     static char const * fullDimensionNameRT();
 
   92     static char const * fullDimensionNameMZ();
 
   95     static char const * shortDimensionUnit(
UInt const dim);
 
   97     static char const * shortDimensionUnitRT();
 
   99     static char const * shortDimensionUnitMZ();
 
  102     static char const * fullDimensionUnit(
UInt const dim);
 
  104     static char const * fullDimensionUnitRT();
 
  106     static char const * fullDimensionUnitMZ();
 
  116     static char const * 
const dimension_name_short_[DIMENSION];
 
  119     static char const * 
const dimension_name_full_[DIMENSION];
 
  122     static char const * 
const dimension_unit_short_[DIMENSION];
 
  125     static char const * 
const dimension_unit_full_[DIMENSION];
 
  174       intensity_ = intensity;
 
  198       return position_[MZ];
 
  204       position_[MZ] = coordinate;
 
  210       return position_[RT];
 
  216       position_[RT] = coordinate;
 
  230 #pragma clang diagnostic push 
  231 #pragma clang diagnostic ignored "-Wfloat-equal" 
  233 #pragma clang diagnostic pop 
  247     struct IntensityLess :
 
  250       std::binary_function<Peak2D, Peak2D, bool>
 
  276       std::binary_function<Peak2D, Peak2D, bool>
 
  285         return left.
getRT() < right;
 
  290         return left < right.
getRT();
 
  302       std::binary_function<Peak2D, Peak2D, bool>
 
  311         return left.
getMZ() < right;
 
  316         return left < right.
getMZ();
 
  328       public std::binary_function<Peak2D, Peak2D, bool>
 
  353     friend OPENMS_DLLAPI std::ostream & 
operator<<(std::ostream & os, 
const Peak2D & point);
 
  364   OPENMS_DLLAPI std::ostream & 
operator<<(std::ostream & os, 
const Peak2D & point);
 
  
Peak2D(const PositionType &pos, const IntensityType in)
Member constructor.
Definition: Peak2D.h:140
PositionType & getPosition()
Mutable access to the position.
Definition: Peak2D.h:184
IntensityType intensity_
The data point intensity.
Definition: Peak2D.h:360
bool operator()(const Peak2D &left, const PositionType &right) const
Definition: Peak2D.h:335
bool operator()(CoordinateType left, CoordinateType right) const
Definition: Peak2D.h:319
void setPosition(const PositionType &position)
Mutable access to the position.
Definition: Peak2D.h:190
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:54
bool operator()(const Peak2D &left, const Peak2D &right) const
Definition: Peak2D.h:330
bool operator()(CoordinateType left, const Peak2D &right) const
Definition: Peak2D.h:314
bool operator()(IntensityType left, IntensityType right) const
Definition: Peak2D.h:267
Peak2D()
Definition: Peak2D.h:134
IntensityType getIntensity() const
Definition: Peak2D.h:166
bool operator()(const Peak2D &left, const Peak2D &right) const
Definition: Peak2D.h:278
bool operator()(const Peak2D &left, CoordinateType right) const
Definition: Peak2D.h:283
void setIntensity(IntensityType intensity)
Non-mutable access to the data point intensity (height)
Definition: Peak2D.h:172
double CoordinateType
Coordinate type (of the position)
Definition: Peak2D.h:64
Comparator by position. Lexicographical comparison (first RT then m/z) is done.
Definition: Peak2D.h:327
bool operator()(CoordinateType left, CoordinateType right) const
Definition: Peak2D.h:293
void setRT(CoordinateType coordinate)
Mutable access to the RT coordinate (index 0)
Definition: Peak2D.h:214
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool operator()(IntensityType left, const Peak2D &right) const
Definition: Peak2D.h:262
bool operator()(const Peak2D &left, IntensityType right) const
Definition: Peak2D.h:257
bool operator()(const PositionType &left, const PositionType &right) const
Definition: Peak2D.h:345
~Peak2D()
Destructor.
Definition: Peak2D.h:159
float IntensityType
Intensity type.
Definition: Peak2D.h:62
bool operator!=(const Peak2D &rhs) const
Equality operator.
Definition: Peak2D.h:237
DimensionDescription
This enum maps the symbolic names of the dimensions to numbers.
Definition: Peak2D.h:73
DPosition< 2 > PositionType
Position type.
Definition: Peak2D.h:66
bool operator==(const Peak2D &rhs) const
Equality operator.
Definition: Peak2D.h:228
bool operator()(const Peak2D &left, const Peak2D &right) const
Definition: Peak2D.h:304
void setMZ(CoordinateType coordinate)
Mutable access to the m/z coordinate (index 1)
Definition: Peak2D.h:202
PositionType position_
The data point position.
Definition: Peak2D.h:358
Comparator by RT position.
Definition: Peak2D.h:275
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
CoordinateType getRT() const
Returns the RT coordinate (index 0)
Definition: Peak2D.h:208
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
bool operator()(CoordinateType left, const Peak2D &right) const
Definition: Peak2D.h:288
bool operator()(const PositionType &left, const Peak2D &right) const
Definition: Peak2D.h:340
const PositionType & getPosition() const
Non-mutable access to the position.
Definition: Peak2D.h:178
bool operator()(const Peak2D &left, CoordinateType right) const
Definition: Peak2D.h:309
bool operator()(const Peak2D &left, const Peak2D &right) const
Definition: Peak2D.h:252
CoordinateType getMZ() const
Returns the m/z coordinate (index 1)
Definition: Peak2D.h:196
Comparator by m/z position.
Definition: Peak2D.h:301
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:561