Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Constants.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2017.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Timo Sachsenberg$
32 // $Authors: Marc Sturm $
33 // --------------------------------------------------------------------------
34 
35 #ifndef OPENMS_CONCEPT_CONSTANTS_H
36 #define OPENMS_CONCEPT_CONSTANTS_H
37 
38 #include <OpenMS/config.h>
39 #include <string>
40 
46 namespace OpenMS
47 {
69  namespace Constants
70  {
74 
76  extern OPENMS_DLLAPI const double PI;
77 
79  extern OPENMS_DLLAPI const double E;
80 
84  extern OPENMS_DLLAPI double EPSILON;
86 
90 
94  extern OPENMS_DLLAPI const double ELEMENTARY_CHARGE; // C
95 
97  extern OPENMS_DLLAPI const double e0;
98 
102  extern OPENMS_DLLAPI const double ELECTRON_MASS; // kg
103 
107  extern OPENMS_DLLAPI const double ELECTRON_MASS_U; // u
108 
112  extern OPENMS_DLLAPI const double PROTON_MASS; // kg
113 
117  extern OPENMS_DLLAPI const double PROTON_MASS_U; // u
118 
122  extern OPENMS_DLLAPI const double C13C12_MASSDIFF_U; // u
123 
127  extern OPENMS_DLLAPI const double NEUTRON_MASS; // kg
128 
132  extern OPENMS_DLLAPI const double NEUTRON_MASS_U; // u
133 
137  extern OPENMS_DLLAPI const double AVOGADRO;
138 
141  extern OPENMS_DLLAPI const double NA;
142 
145  extern OPENMS_DLLAPI const double MOL;
146 
150  extern OPENMS_DLLAPI const double BOLTZMANN;
151 
154  extern OPENMS_DLLAPI const double k;
155 
159  extern OPENMS_DLLAPI const double PLANCK;
160 
163  extern OPENMS_DLLAPI const double h;
164 
167  extern OPENMS_DLLAPI const double GAS_CONSTANT;
168 
171  extern OPENMS_DLLAPI const double R;
172 
175  extern OPENMS_DLLAPI const double FARADAY;
176 
179  extern OPENMS_DLLAPI const double F;
180 
184  extern OPENMS_DLLAPI const double BOHR_RADIUS;
185 
188  extern OPENMS_DLLAPI const double a0;
189 
190  // the following values from:
191  // P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995
192 
196  extern OPENMS_DLLAPI const double VACUUM_PERMITTIVITY;
197 
201  extern OPENMS_DLLAPI const double VACUUM_PERMEABILITY;
202 
206  extern OPENMS_DLLAPI const double SPEED_OF_LIGHT;
207 
210  extern OPENMS_DLLAPI const double c;
211 
215  extern OPENMS_DLLAPI const double GRAVITATIONAL_CONSTANT;
216 
220  extern OPENMS_DLLAPI const double FINE_STRUCTURE_CONSTANT;
222 
226 
230  extern OPENMS_DLLAPI const double DEG_PER_RAD;
231 
235  extern OPENMS_DLLAPI const double RAD_PER_DEG;
236 
240  extern OPENMS_DLLAPI const double MM_PER_INCH;
241 
245  extern OPENMS_DLLAPI const double M_PER_FOOT;
246 
250  extern OPENMS_DLLAPI const double JOULE_PER_CAL;
251 
255  extern OPENMS_DLLAPI const double CAL_PER_JOULE;
256 
260  extern OPENMS_DLLAPI const std::string PRECURSOR_ERROR_PPM_USERPARAM;
261 
263  }
264 }
265 
266 #endif // OPENMS_CONCEPT_CONSTANTS_H
const double k
const double E
Euler&#39;s number - base of the natural logarithm.
const double C13C12_MASSDIFF_U
const double MOL
const std::string PRECURSOR_ERROR_PPM_USERPARAM
const double GRAVITATIONAL_CONSTANT
const double F
const double a0
const double JOULE_PER_CAL
const double VACUUM_PERMEABILITY
const double AVOGADRO
const double SPEED_OF_LIGHT
const double M_PER_FOOT
const double BOLTZMANN
const double PROTON_MASS
const double e0
Elementary charge (alias)
const double c
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
const double R
const double DEG_PER_RAD
const double PLANCK
const double PROTON_MASS_U
const double BOHR_RADIUS
const double FINE_STRUCTURE_CONSTANT
const double NA
const double FARADAY
const double CAL_PER_JOULE
const double h
const double PI
PI.
const double ELECTRON_MASS_U
const double ELECTRON_MASS
const double NEUTRON_MASS
const double RAD_PER_DEG
const double ELEMENTARY_CHARGE
const double MM_PER_INCH
const double NEUTRON_MASS_U
const double GAS_CONSTANT
const double VACUUM_PERMITTIVITY

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:21:59 using doxygen 1.8.13