Garfield++
4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
PhysicalConstants.h
Go to the documentation of this file.
1
#ifndef MYPHYSICALCONSTANTS_H
2
#define MYPHYSICALCONSTANTS_H
3
4
#include "
wcpplib/clhep_units/WSystemOfUnits.h
"
5
6
/*
7
Here I gathered constants appropriate for internal simulations of heed++.
8
These constants related to internal system of units traditionally
9
used in this field and applied in the old versions of HEED.
10
The old names are preserved.
11
2003, I. Smirnov.
12
*/
13
14
namespace
Heed
{
15
16
/// Electron radius (1/MeV)
17
constexpr
double
ELRAD
= CLHEP::fine_structure_const / CLHEP::electron_mass_c2;
18
constexpr
double
ELRADCM
= 2.81794092e-13;
// Electron radius (cm)
19
constexpr
double
C1_MEV_CM
=
ELRAD
/
ELRADCM
;
// Ratio r(1/MeV)/r(cm)
20
// or coefficient for passing from x(cm) to x(1/MeV) = 5.07E10
21
constexpr
double
C1_MEV2_BN
=
C1_MEV_CM
*
C1_MEV_CM
/ 1.0e24;
22
// coefficient for passing from x(bn) to x(1/MeV^2) =
23
// (5.07E10)^2/(1.0e24)
24
constexpr
double
C1_MEV2_MBN
=
C1_MEV_CM
*
C1_MEV_CM
/ 1.0e18;
25
// coefficient for passing from x(mbn) to x(1/MeV^2) =
26
// (5.07E10)^2/(1.0e18)
27
}
28
29
#endif
WSystemOfUnits.h
Heed
Definition:
BGMesh.cpp:6
Heed::ELRAD
constexpr double ELRAD
Electron radius (1/MeV)
Definition:
PhysicalConstants.h:17
Heed::C1_MEV2_MBN
constexpr double C1_MEV2_MBN
Definition:
PhysicalConstants.h:24
Heed::ELRADCM
constexpr double ELRADCM
Definition:
PhysicalConstants.h:18
Heed::C1_MEV_CM
constexpr double C1_MEV_CM
Definition:
PhysicalConstants.h:19
Heed::C1_MEV2_BN
constexpr double C1_MEV2_BN
Definition:
PhysicalConstants.h:21
garfieldpp-4.0
Heed
heed++
code
PhysicalConstants.h
Generated by
1.9.6