OpenMS  2.7.0
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
IonSource Class Reference

Description of an ion source (part of a MS Instrument) More...

#include <OpenMS/METADATA/IonSource.h>

Inheritance diagram for IonSource:
[legend]
Collaboration diagram for IonSource:
[legend]

Public Types

enum  InletType {
  INLETNULL , DIRECT , BATCH , CHROMATOGRAPHY ,
  PARTICLEBEAM , MEMBRANESEPARATOR , OPENSPLIT , JETSEPARATOR ,
  SEPTUM , RESERVOIR , MOVINGBELT , MOVINGWIRE ,
  FLOWINJECTIONANALYSIS , ELECTROSPRAYINLET , THERMOSPRAYINLET , INFUSION ,
  CONTINUOUSFLOWFASTATOMBOMBARDMENT , INDUCTIVELYCOUPLEDPLASMA , MEMBRANE , NANOSPRAY ,
  SIZE_OF_INLETTYPE
}
 inlet type More...
 
enum  IonizationMethod {
  IONMETHODNULL , ESI , EI , CI ,
  FAB , TSP , LD , FD ,
  FI , PD , SI , TI ,
  API , ISI , CID , CAD ,
  HN , APCI , APPI , ICP ,
  NESI , MESI , SELDI , SEND ,
  FIB , MALDI , MPI , DI ,
  FA , FII , GD_MS , NICI ,
  NRMS , PI , PYMS , REMPI ,
  AI , ASI , AD , AUI ,
  CEI , CHEMI , DISSI , LSI ,
  PEI , SOI , SPI , SUI ,
  VI , AP_MALDI , SILI , SALDI ,
  SIZE_OF_IONIZATIONMETHOD
}
 ionization method More...
 
enum  Polarity { POLNULL , POSITIVE , NEGATIVE , SIZE_OF_POLARITY }
 Polarity of the ion source. More...
 

Public Member Functions

 IonSource ()
 Constructor. More...
 
 IonSource (const IonSource &)=default
 Copy constructor. More...
 
 IonSource (IonSource &&)=default
 Move constructor. More...
 
 ~IonSource ()
 Destructor. More...
 
IonSourceoperator= (const IonSource &)=default
 Assignment operator. More...
 
IonSourceoperator= (IonSource &&) &=default
 Move assignment operator. More...
 
bool operator== (const IonSource &rhs) const
 Equality operator. More...
 
bool operator!= (const IonSource &rhs) const
 Equality operator. More...
 
InletType getInletType () const
 returns the inlet type More...
 
void setInletType (InletType inlet_type)
 sets the inlet type More...
 
IonizationMethod getIonizationMethod () const
 returns the ionization method More...
 
void setIonizationMethod (IonizationMethod ionization_type)
 sets the ionization method More...
 
Polarity getPolarity () const
 returns the ionization mode More...
 
void setPolarity (Polarity polarity)
 sets the ionization mode More...
 
Int getOrder () const
 returns the position of this part in the whole Instrument. More...
 
void setOrder (Int order)
 sets the order More...
 
- Public Member Functions inherited from MetaInfoInterface
 MetaInfoInterface ()
 Constructor. More...
 
 MetaInfoInterface (const MetaInfoInterface &rhs)
 Copy constructor. More...
 
 MetaInfoInterface (MetaInfoInterface &&) noexcept
 Move constructor. More...
 
 ~MetaInfoInterface ()
 Destructor. More...
 
MetaInfoInterfaceoperator= (const MetaInfoInterface &rhs)
 Assignment operator. More...
 
MetaInfoInterfaceoperator= (MetaInfoInterface &&) noexcept
 Move 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 DataValue &default_value=DataValue::EMPTY) const
 Returns the value corresponding to a string, or a default value (default: DataValue::EMPTY) if not found. More...
 
const DataValuegetMetaValue (UInt index, const DataValue &default_value=DataValue::EMPTY) const
 Returns the value corresponding to an index, or a default value (default: DataValue::EMPTY) if not found. More...
 
bool metaValueExists (const String &name) const
 Returns whether an entry with the given name exists. More...
 
bool metaValueExists (UInt index) const
 Returns whether an entry with the given index exists. 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 addMetaValues (const MetaInfoInterface &from)
 function to copy all meta values from one object to this one 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 NamesOfInletType [SIZE_OF_INLETTYPE]
 Names of inlet types. More...
 
static const std::string NamesOfIonizationMethod [SIZE_OF_IONIZATIONMETHOD]
 Names of ionization methods. More...
 
static const std::string NamesOfPolarity [SIZE_OF_POLARITY]
 Names of polarity of the ion source. More...
 

Protected Attributes

InletType inlet_type_
 
IonizationMethod ionization_method_
 
Polarity polarity_
 
Int order_
 
- 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 an ion source (part of a MS Instrument)

Member Enumeration Documentation

◆ InletType

enum InletType

inlet type

Enumerator
INLETNULL 

Unknown.

DIRECT 

Direct.

BATCH 

Batch (e.g. in MALDI)

CHROMATOGRAPHY 

Chromatography (liquid)

PARTICLEBEAM 

Particle beam.

MEMBRANESEPARATOR 

Membrane separator.

OPENSPLIT 

Open split.

JETSEPARATOR 

Jet separator.

SEPTUM 

Septum.

RESERVOIR 

Reservoir.

MOVINGBELT 

Moving belt.

MOVINGWIRE 

Moving wire.

FLOWINJECTIONANALYSIS 

Flow injection analysis.

ELECTROSPRAYINLET 

Electro spray.

THERMOSPRAYINLET 

Thermo spray.

INFUSION 

Infusion.

CONTINUOUSFLOWFASTATOMBOMBARDMENT 

Continuous flow fast atom bombardment.

INDUCTIVELYCOUPLEDPLASMA 

Inductively coupled plasma.

MEMBRANE 

Membrane inlet.

NANOSPRAY 

Nanospray inlet.

SIZE_OF_INLETTYPE 

◆ IonizationMethod

ionization method

Enumerator
IONMETHODNULL 

Unknown.

ESI 

electrospray ionisation

EI 

electron ionization

CI 

chemical ionisation

FAB 

fast atom bombardment

TSP 

thermospray

LD 

laser desorption

FD 

field desorption

FI 

flame ionization

PD 

plasma desorption

SI 

secondary ion MS

TI 

thermal ionization

API 

atmospheric pressure ionisation

ISI 
CID 

collision induced decomposition

CAD 

collision activated decomposition

HN 
APCI 

atmospheric pressure chemical ionization

APPI 

atmospheric pressure photo ionization

ICP 

inductively coupled plasma

NESI 

Nano electrospray ionization.

MESI 

Micro electrospray ionization.

SELDI 

Surface enhanced laser desorption ionization.

SEND 

Surface enhanced neat desorption.

FIB 

Fast ion bombardment.

MALDI 

Matrix-assisted laser desorption ionization.

MPI 

Multiphoton ionization.

DI 

desorption ionization

FA 

flowing afterglow

FII 

field ionization

GD_MS 

glow discharge ionization

NICI 

negative ion chemical ionization

NRMS 

neutralization reionization mass spectrometry

PI 

photoionization

PYMS 

pyrolysis mass spectrometry

REMPI 

resonance enhanced multiphoton ionization

AI 

adiabatic ionization

ASI 

associative ionization

AD 

autodetachment

AUI 

autoionization

CEI 

charge exchange ionization

CHEMI 

chemi-ionization

DISSI 

dissociative ionization

LSI 

liquid secondary ionization

PEI 

penning ionization

SOI 

soft ionization

SPI 

spark ionization

SUI 

surface ionization

VI 

vertical ionization

AP_MALDI 

atmospheric pressure matrix-assisted laser desorption ionization

SILI 

desorption/ionization on silicon

SALDI 

surface-assisted laser desorption ionization

SIZE_OF_IONIZATIONMETHOD 

◆ Polarity

enum Polarity

Polarity of the ion source.

Enumerator
POLNULL 

Unknown.

POSITIVE 

Positive polarity.

NEGATIVE 

Negative polarity.

SIZE_OF_POLARITY 

Constructor & Destructor Documentation

◆ IonSource() [1/3]

IonSource ( )

Constructor.

◆ IonSource() [2/3]

IonSource ( const IonSource )
default

Copy constructor.

◆ IonSource() [3/3]

IonSource ( IonSource &&  )
default

Move constructor.

◆ ~IonSource()

~IonSource ( )

Destructor.

Member Function Documentation

◆ getInletType()

InletType getInletType ( ) const

returns the inlet type

◆ getIonizationMethod()

IonizationMethod getIonizationMethod ( ) const

returns the ionization method

◆ getOrder()

Int getOrder ( ) const

returns the position of this part in the whole Instrument.

Order can be ignored, as long the instrument has this default setup:

  • one ion source
  • one or many mass analyzers
  • one ion detector

For more complex instruments, the order should be defined.

◆ getPolarity()

Polarity getPolarity ( ) const

returns the ionization mode

◆ operator!=()

bool operator!= ( const IonSource rhs) const

Equality operator.

◆ operator=() [1/2]

IonSource& operator= ( const IonSource )
default

Assignment operator.

◆ operator=() [2/2]

IonSource& operator= ( IonSource &&  ) &
default

Move assignment operator.

◆ operator==()

bool operator== ( const IonSource rhs) const

Equality operator.

◆ setInletType()

void setInletType ( InletType  inlet_type)

sets the inlet type

◆ setIonizationMethod()

void setIonizationMethod ( IonizationMethod  ionization_type)

sets the ionization method

◆ setOrder()

void setOrder ( Int  order)

sets the order

◆ setPolarity()

void setPolarity ( Polarity  polarity)

sets the ionization mode

Member Data Documentation

◆ inlet_type_

InletType inlet_type_
protected

◆ ionization_method_

IonizationMethod ionization_method_
protected

◆ NamesOfInletType

const std::string NamesOfInletType[SIZE_OF_INLETTYPE]
static

Names of inlet types.

◆ NamesOfIonizationMethod

const std::string NamesOfIonizationMethod[SIZE_OF_IONIZATIONMETHOD]
static

Names of ionization methods.

◆ NamesOfPolarity

const std::string NamesOfPolarity[SIZE_OF_POLARITY]
static

Names of polarity of the ion source.

◆ order_

Int order_
protected

◆ polarity_

Polarity polarity_
protected