CMS 3D CMS Logo

Constants.h
Go to the documentation of this file.
1 #ifndef FASTSIM_CONSTANTS_H
2 #define FASTSIM_CONSTANTS_H
3 
4 
6 // Author: L. Vanelderen, S. Kurz
7 // Date: 29 May 2017
9 
10 
11 namespace fastsim
12 {
14  namespace Constants
15  {
16  static double constexpr speedOfLight = 29.9792458;
17  static double constexpr eMass = 0.0005109990615;
18  static double constexpr muMass = 0.1056583745;
19  static double constexpr epsilonDistance_ = 1.0e-7;
20  static double constexpr NA = 6.022e+23;
21  };
22 }
23 
24 #endif
static double constexpr NA
Avogadro's number.
Definition: Constants.h:20
static double constexpr speedOfLight
Speed of light [cm / ns].
Definition: Constants.h:16
static double constexpr muMass
Muon mass [GeV].
Definition: Constants.h:18
static double constexpr eMass
Electron mass[GeV].
Definition: Constants.h:17
static double constexpr epsilonDistance_
some epsilon for numerical comparisons
Definition: Constants.h:19
#define constexpr