#include <OpenMS/METADATA/Precursor.h>
This class stores precursor meta information, that is not already covered by DSpectrum::getPrecursorPeak().
Public Types | |
enum | ActivationMethod { ACTMETHNULL, CID, PSD, PD, SID, SIZE_OF_ACTIVATIONMETHOD } |
Method of activation. More... | |
enum | EnergyUnits { UNITSNULL, EV, PERCENT, SIZE_OF_ENERGYUNITS } |
Energy unit. More... | |
Public Member Functions | |
Precursor () | |
Constructor. | |
Precursor (const Precursor &source) | |
Copy constructor. | |
~Precursor () | |
Destructor. | |
Precursor & | operator= (const Precursor &source) |
Assignment operator. | |
bool | operator== (const Precursor &rhs) const |
Equality operator. | |
bool | operator!= (const Precursor &rhs) const |
Equality operator. | |
ActivationMethod | getActivationMethod () const |
returns the activation method | |
void | setActivationMethod (ActivationMethod activation_method) |
sets the activation method | |
float | getActivationEnergy () const |
returns the activation energy | |
void | setActivationEnergy (float activation_energy) |
sets the activation energy | |
EnergyUnits | getActivationEnergyUnit () const |
return the actication energy unit | |
void | setActivationEnergyUnit (EnergyUnits activation_energy_unit) |
sets the activation energy unit | |
float | getWindowSize () const |
returns the window size | |
void | setWindowSize (float size) |
sets the window size | |
Static Public Attributes | |
static const std::string | NamesOfActivationMethod [SIZE_OF_ACTIVATIONMETHOD] |
Names of activation methods. | |
static const std::string | NamesOfEnergyUnits [SIZE_OF_ENERGYUNITS] |
Names of energy units. | |
Protected Attributes | |
ActivationMethod | activation_method_ |
float | activation_energy_ |
EnergyUnits | activation_energy_unit_ |
float | window_size_ |
enum ActivationMethod |
enum EnergyUnits |
Precursor | ( | ) |
Constructor.
~Precursor | ( | ) |
Destructor.
bool operator== | ( | const Precursor & | rhs | ) | const |
Equality operator.
bool operator!= | ( | const Precursor & | rhs | ) | const |
Equality operator.
ActivationMethod getActivationMethod | ( | ) | const |
returns the activation method
void setActivationMethod | ( | ActivationMethod | activation_method | ) |
sets the activation method
float getActivationEnergy | ( | ) | const |
returns the activation energy
void setActivationEnergy | ( | float | activation_energy | ) |
sets the activation energy
EnergyUnits getActivationEnergyUnit | ( | ) | const |
return the actication energy unit
void setActivationEnergyUnit | ( | EnergyUnits | activation_energy_unit | ) |
sets the activation energy unit
float getWindowSize | ( | ) | const |
returns the window size
void setWindowSize | ( | float | size | ) |
sets the window size
const std::string NamesOfActivationMethod[SIZE_OF_ACTIVATIONMETHOD] [static] |
Names of activation methods.
const std::string NamesOfEnergyUnits[SIZE_OF_ENERGYUNITS] [static] |
Names of energy units.
ActivationMethod activation_method_ [protected] |
float activation_energy_ [protected] |
EnergyUnits activation_energy_unit_ [protected] |
float window_size_ [protected] |
Generated Tue Apr 1 15:36:46 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |