OpenMS  2.7.0
Namespaces | Variables
Constants.h File Reference
#include <OpenMS/config.h>
#include <string>
Include dependency graph for Constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OpenMS
 Main OpenMS namespace.
 
 OpenMS::Constants
 Mathematical and physical constants namespace.
 
 OpenMS::Constants::UserParam
 

Variables

const std::string CONCAT_PEPTIDE = "concatenated_peptides"
 
const std::string LOCALIZED_MODIFICATIONS_USERPARAM = "localized_modifications"
 
const std::string MERGED_CHROMATOGRAM_MZS = "merged_chromatogram_mzs"
 
const std::string PRECURSOR_ERROR_PPM_USERPARAM = "precursor_mz_error_ppm"
 
const std::string FRAGMENT_ERROR_MEDIAN_PPM_USERPARAM = "fragment_mz_error_median_ppm"
 
const std::string FRAGMENT_ERROR_PPM_USERPARAM = "fragment_mass_error_ppm"
 
const std::string FRAGMENT_ERROR_DA_USERPARAM = "fragment_mass_error_da"
 
const std::string FRAGMENT_ANNOTATION_USERPARAM = "fragment_annotation"
 
const std::string PSM_EXPLAINED_ION_CURRENT_USERPARAM = "PSM_explained_ion_current"
 
const std::string MATCHED_PREFIX_IONS_FRACTION = "matched_prefix_ions_fraction"
 
const std::string MATCHED_SUFFIX_IONS_FRACTION = "matched_suffix_ions_fraction"
 
const std::string SPECTRUM_REFERENCE = "spectrum_reference"
 
const std::string TARGET_DECOY = "target_decoy"
 
const std::string DELTA_SCORE = "delta_score"
 
const std::string ISOTOPE_ERROR = "isotope_error"
 
const std::string OPENPEPXL_SCORE = "OpenPepXL:score"
 
const std::string OPENPEPXL_BETA_SEQUENCE = "sequence_beta"
 
const std::string OPENPEPXL_BETA_ACCESSIONS = "accessions_beta"
 
const std::string OPENPEPXL_XL_POS1 = "xl_pos1"
 
const std::string OPENPEPXL_XL_POS2 = "xl_pos2"
 
const std::string OPENPEPXL_XL_POS1_PROT = "xl_pos1_protein"
 
const std::string OPENPEPXL_XL_POS2_PROT = "xl_pos2_protein"
 
const std::string OPENPEPXL_XL_TYPE = "xl_type"
 
const std::string OPENPEPXL_XL_RANK = "xl_rank"
 
const std::string OPENPEPXL_XL_MOD = "xl_mod"
 
const std::string OPENPEPXL_XL_MASS = "xl_mass"
 
const std::string OPENPEPXL_XL_TERM_SPEC_ALPHA = "xl_term_spec_alpha"
 
const std::string OPENPEPXL_XL_TERM_SPEC_BETA = "xl_term_spec_beta"
 
const std::string OPENPEPXL_HEAVY_SPEC_RT = "spec_heavy_RT"
 
const std::string OPENPEPXL_HEAVY_SPEC_MZ = "spec_heavy_MZ"
 
const std::string OPENPEPXL_HEAVY_SPEC_REF = "spectrum_reference_heavy"
 
const std::string OPENPEPXL_TARGET_DECOY_ALPHA = "xl_target_decoy_alpha"
 
const std::string OPENPEPXL_TARGET_DECOY_BETA = "xl_target_decoy_beta"
 
const std::string OPENPEPXL_BETA_PEPEV_PRE = "BetaPepEv:pre"
 
const std::string OPENPEPXL_BETA_PEPEV_POST = "BetaPepEv:post"
 
const std::string OPENPEPXL_BETA_PEPEV_START = "BetaPepEv:start"
 
const std::string OPENPEPXL_BETA_PEPEV_END = "BetaPepEv:end"
 
const std::string XFDR_FDR = "XFDR:FDR"
 
Mathematical constants.
const double PI = 3.14159265358979323846
 PI. More...
 
const double E = 2.718281828459045235
 Euler's number - base of the natural logarithm. More...
 
double EPSILON = 1e-6
 
Chemical/physical constants.
const double ELEMENTARY_CHARGE = 1.60217738E-19
 
const double e0 = ELEMENTARY_CHARGE
 Elementary charge (alias) More...
 
const double ELECTRON_MASS = 9.1093897E-31
 
const double ELECTRON_MASS_U = 1.0 / 1822.8885020477
 
const double PROTON_MASS = 1.6726230E-27
 
const double PROTON_MASS_U = 1.0072764667710
 
const double C13C12_MASSDIFF_U = 1.0033548378
 
const double NEUTRON_MASS = 1.6749286E-27
 
const double NEUTRON_MASS_U = 1.00866491566
 
const double AVOGADRO = 6.0221367E+23
 
const double NA = AVOGADRO
 
const double MOL = AVOGADRO
 
const double BOLTZMANN = 1.380657E-23
 
const double k = BOLTZMANN
 
const double PLANCK = 6.6260754E-34
 
const double h = PLANCK
 
const double GAS_CONSTANT = NA * k
 
const double R = GAS_CONSTANT
 
const double FARADAY = NA * e0
 
const double F = FARADAY
 
const double BOHR_RADIUS = 5.29177249E-11
 
const double a0 = BOHR_RADIUS
 
const double VACUUM_PERMITTIVITY = 8.85419E-12
 
const double VACUUM_PERMEABILITY = (4 * PI * 1E-7)
 
const double SPEED_OF_LIGHT = 2.99792458E+8
 
const double c = SPEED_OF_LIGHT
 
const double GRAVITATIONAL_CONSTANT = 6.67259E-11
 
const double FINE_STRUCTURE_CONSTANT = 7.29735E-3
 
Conversion factors
const double DEG_PER_RAD = 57.2957795130823209
 
const double RAD_PER_DEG = 0.0174532925199432957
 
const double MM_PER_INCH = 25.4
 
const double M_PER_FOOT = 3.048
 
const double JOULE_PER_CAL = 4.184
 
const double CAL_PER_JOULE = (1 / 4.184)