Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
heed++/code/PhysicalConstants.h
Go to the documentation of this file.
1#ifndef MYPHYSICALCONSTANTS_H
2#define MYPHYSICALCONSTANTS_H
3/*
4Here I gathered constants appropriate for internal simulations of heed++.
5These constants related to internal system of units traditionally
6used in this field and applied in the old versions of HEED.
7The old names are preserved.
82003, I. Smirnov.
9*/
10
11namespace Heed {
12
13const double ELMAS = 0.51099906; // Electron mass (MeV)
14const double FSCON = 137.0359895; // The fine ctructure constant
15const double ELRAD = 1.0 / (FSCON * ELMAS); // Electron radius (1/MeV)
16const double ELRADCM = 2.81794092e-13; // Electron radius (cm)
17const double C1_MEV_CM = ELRAD / ELRADCM; // Ratio r(1/MeV)/r(cm)
18// or coefficient for passing from x(cm) to x(1/MeV) = 5.07E10
19const double C1_MEV2_BN = C1_MEV_CM * C1_MEV_CM / 1.0e24;
20// coefficient for passing from x(bn) to x(1/MeV^2) =
21// (5.07E10)^2/(1.0e24)
22const double C1_MEV2_MBN = C1_MEV_CM * C1_MEV_CM / 1.0e18;
23// coefficient for passing from x(mbn) to x(1/MeV^2) =
24// (5.07E10)^2/(1.0e18)
25
26const double AVOGADRO = 6.0221367e23;
27const double PLANK = 6.6260755e-34; // Plank constant (J*sec)
28const double ELCHARGE = 1.60217733e-19; // Electron charge (C)
29const double CLIGHT = 2.99792458e10; // Light vel.(cm/sec)
30const double PLANKCLIGHT = 197.327e-13; // crossed plank * CLIGHT (Mev* cm)
31 // Notes for memory:
32// Crossed plank is plank divided by 2pi.
33// The length of wave vector k in vacuum in units 1/[length]
34// (that is 1/cm in this system)
35// is the energy divided by PLANKCLIGHT
36
37}
38
39#endif
Definition: BGMesh.cpp:3
const double ELCHARGE
const double ELRADCM
const double ELMAS
const double PLANK
const double C1_MEV_CM
const double C1_MEV2_MBN
const double FSCON
const double AVOGADRO
const double ELRAD
const double PLANKCLIGHT
const double C1_MEV2_BN
const double CLIGHT