| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
IMSIsotopeDistribution::Peak Struct Reference

Structure that represents an isotope peak - pair of mass and abundance. More...

`#include <OpenMS/CHEMISTRY/MASSDECOMPOSITION/IMS/IMSIsotopeDistribution.h>`

## Public Member Functions

| Peak (mass_type local_mass=0.0, abundance_type local_abundance=0.0)
bool | operator== (const Peak &peak) const

## Public Attributes

mass_type | mass
abundance_type | abundance

## Detailed Description

Structure that represents an isotope peak - pair of mass and abundance.

## Constructor & Destructor Documentation

## ◆ Peak()

Peak | ( | mass_type | local_mass = `0.0`,
|  | abundance_type | local_abundance = `0.0`
| ) |  |

inline

## Member Function Documentation

## ◆ operator==()

bool operator== | ( | const Peak & | peak | ) | const

inline

References IMSIsotopeDistribution::Peak::abundance, and IMSIsotopeDistribution::Peak::mass.

## Member Data Documentation

## ◆ abundance

abundance_type abundance

Referenced by IMSIsotopeDistribution::Peak::operator==().

## ◆ mass

mass_type mass

Referenced by IMSIsotopeDistribution::Peak::operator==().