ProteoWizard
Public Types | Public Member Functions | Public Attributes | List of all members
pwiz::chemistry::MZTolerance Struct Reference

struct for expressing m/z tolerance in either amu or ppm More...

#include <MZTolerance.hpp>

Public Types

enum  Units { MZ, PPM }
 

Public Member Functions

 MZTolerance (double _value=0, Units _units=MZ)
 

Public Attributes

double value
 
Units units
 

Detailed Description

struct for expressing m/z tolerance in either amu or ppm

Definition at line 38 of file MZTolerance.hpp.

Member Enumeration Documentation

◆ Units

Enumerator
MZ 
PPM 

Definition at line 40 of file MZTolerance.hpp.

40 {MZ, PPM};

Constructor & Destructor Documentation

◆ MZTolerance()

pwiz::chemistry::MZTolerance::MZTolerance ( double  _value = 0,
Units  _units = MZ 
)
inline

Definition at line 44 of file MZTolerance.hpp.

45  : value(_value), units(_units)
46  {}

Member Data Documentation

◆ value

double pwiz::chemistry::MZTolerance::value

Definition at line 41 of file MZTolerance.hpp.

◆ units

Units pwiz::chemistry::MZTolerance::units

Definition at line 42 of file MZTolerance.hpp.


The documentation for this struct was generated from the following file:
pwiz::chemistry::MZTolerance::units
Units units
Definition: MZTolerance.hpp:42
pwiz::chemistry::MZTolerance::PPM
@ PPM
Definition: MZTolerance.hpp:40
pwiz::chemistry::MZTolerance::MZ
@ MZ
Definition: MZTolerance.hpp:40
pwiz::chemistry::MZTolerance::value
double value
Definition: MZTolerance.hpp:41