Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
InstrumentSettings Class Reference

Description of the settings a MS Instrument was run with. More...

#include <OpenMS/METADATA/InstrumentSettings.h>

Inheritance diagram for InstrumentSettings:
MetaInfoInterface

Public Types

enum  ScanMode {
  UNKNOWN, MASSSPECTRUM, MS1SPECTRUM, MSNSPECTRUM,
  SIM, SRM, CRM, CNG,
  CNL, PRECURSOR, EMC, TDF,
  EMR, EMISSION, ABSORBTION, SIZE_OF_SCANMODE
}
 scan mode More...
 

Public Member Functions

 InstrumentSettings ()
 Constructor. More...
 
 InstrumentSettings (const InstrumentSettings &source)
 Copy constructor. More...
 
 ~InstrumentSettings ()
 Destructor. More...
 
InstrumentSettingsoperator= (const InstrumentSettings &source)
 Assignment operator. More...
 
bool operator== (const InstrumentSettings &rhs) const
 Equality operator. More...
 
bool operator!= (const InstrumentSettings &rhs) const
 Equality operator. More...
 
ScanMode getScanMode () const
 returns the scan mode More...
 
void setScanMode (ScanMode scan_mode)
 sets the scan mode More...
 
bool getZoomScan () const
 return if this scan is a zoom (enhanced resolution) scan More...
 
void setZoomScan (bool zoom_scan)
 sets if this scan is a zoom (enhanced resolution) scan More...
 
IonSource::Polarity getPolarity () const
 returns the polarity More...
 
void setPolarity (IonSource::Polarity polarity)
 sets the polarity More...
 
const std::vector< ScanWindow > & getScanWindows () const
 returns a const reference to the m/z scan windows More...
 
std::vector< ScanWindow > & getScanWindows ()
 returns a mutable reference to the m/z scan windows More...
 
void setScanWindows (std::vector< ScanWindow > scan_windows)
 sets the m/z scan windows More...
 
- Public Member Functions inherited from MetaInfoInterface
 MetaInfoInterface ()
 constructor More...
 
 MetaInfoInterface (const MetaInfoInterface &rhs)
 copy constructor More...
 
 ~MetaInfoInterface ()
 destructor More...
 
MetaInfoInterfaceoperator= (const MetaInfoInterface &rhs)
 assignment operator More...
 
bool operator== (const MetaInfoInterface &rhs) const
 Equality operator. More...
 
bool operator!= (const MetaInfoInterface &rhs) const
 Equality operator. More...
 
const DataValuegetMetaValue (const String &name) const
 returns the value corresponding to a string More...
 
const DataValuegetMetaValue (UInt index) const
 returns the value corresponding to an index More...
 
bool metaValueExists (const String &name) const
 returns if this MetaInfo is set More...
 
bool metaValueExists (UInt index) const
 returns if this MetaInfo is set More...
 
void setMetaValue (const String &name, const DataValue &value)
 sets the DataValue corresponding to a name More...
 
void setMetaValue (UInt index, const DataValue &value)
 sets the DataValue corresponding to an index More...
 
void removeMetaValue (const String &name)
 Removes the DataValue corresponding to name if it exists. More...
 
void removeMetaValue (UInt index)
 Removes the DataValue corresponding to index if it exists. More...
 
void getKeys (std::vector< String > &keys) const
 fills the given vector with a list of all keys for which a value is set More...
 
void getKeys (std::vector< UInt > &keys) const
 fills the given vector with a list of all keys for which a value is set More...
 
bool isMetaEmpty () const
 returns if the MetaInfo is empty More...
 
void clearMetaInfo ()
 removes all meta values More...
 

Static Public Attributes

static const std::string NamesOfScanMode [SIZE_OF_SCANMODE]
 Names of scan modes. More...
 

Protected Attributes

ScanMode scan_mode_
 
bool zoom_scan_
 
IonSource::Polarity polarity_
 
std::vector< ScanWindowscan_windows_
 
- Protected Attributes inherited from MetaInfoInterface
MetaInfometa_
 pointer to the MetaInfo object. 0 by default More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MetaInfoInterface
static MetaInfoRegistrymetaRegistry ()
 returns a reference to the MetaInfoRegistry More...
 
- Protected Member Functions inherited from MetaInfoInterface
void createIfNotExists_ ()
 creates the MetaInfo object if it does not exist More...
 

Detailed Description

Description of the settings a MS Instrument was run with.

Member Enumeration Documentation

enum ScanMode

scan mode

Enumerator
UNKNOWN 

Unknown scan method.

MASSSPECTRUM 

general spectrum type

MS1SPECTRUM 

full scan mass spectrum, is a "mass spectrum"
Synonyms: 'full spectrum', 'Q1 spectrum', 'Q3 spectrum', 'Single-Stage Mass Spectrometry'

MSNSPECTRUM 

MS2+ mass spectrum, is a "mass spectrum".

SIM 

Selected ion monitoring scan
Synonyms: 'Multiple ion monitoring scan', 'SIM scan', 'MIM scan'.

SRM 

Selected reaction monitoring scan
Synonyms: 'Multiple reaction monitoring scan', 'SRM scan', 'MRM scan'.

CRM 

Consecutive reaction monitoring scan
Synonyms: 'CRM scan'.

CNG 

Constant neutral gain scan
Synonyms: 'CNG scan'.

CNL 

Constant neutral loss scan
Synonyms: 'CNG scan'.

PRECURSOR 

Precursor ion scan.

EMC 

Enhanced multiply charged scan.

TDF 

Time-delayed fragmentation scan.

EMR 

Electromagnetic radiation scan
Synonyms: 'EMR spectrum'.

EMISSION 

Emission scan.

ABSORBTION 

Absorbtion scan.

SIZE_OF_SCANMODE 

Constructor & Destructor Documentation

Constructor.

Copy constructor.

Destructor.

Member Function Documentation

IonSource::Polarity getPolarity ( ) const
ScanMode getScanMode ( ) const
const std::vector<ScanWindow>& getScanWindows ( ) const
std::vector<ScanWindow>& getScanWindows ( )

returns a mutable reference to the m/z scan windows

bool getZoomScan ( ) const

return if this scan is a zoom (enhanced resolution) scan

Referenced by MzMLHandler< MapType >::writeSpectrum_(), MzDataHandler< MapType >::writeTo(), and MzXMLHandler< MapType >::writeTo().

bool operator!= ( const InstrumentSettings rhs) const

Equality operator.

InstrumentSettings& operator= ( const InstrumentSettings source)

Assignment operator.

bool operator== ( const InstrumentSettings rhs) const

Equality operator.

void setPolarity ( IonSource::Polarity  polarity)
void setScanMode ( ScanMode  scan_mode)
void setScanWindows ( std::vector< ScanWindow scan_windows)

sets the m/z scan windows

void setZoomScan ( bool  zoom_scan)

sets if this scan is a zoom (enhanced resolution) scan

Referenced by MzDataHandler< MapType >::cvParam_(), MzMLHandler< MapType >::handleCVParam_(), and XMassFile::load().

Member Data Documentation

const std::string NamesOfScanMode[SIZE_OF_SCANMODE]
static
IonSource::Polarity polarity_
protected
ScanMode scan_mode_
protected
std::vector<ScanWindow> scan_windows_
protected
bool zoom_scan_
protected

OpenMS / TOPP release 2.0.0 Documentation generated on Wed Mar 30 2016 12:49:28 using doxygen 1.8.11