GeFiCa
Germanium detector Field Calculator
Units.h
Go to the documentation of this file.
1 
4 #ifndef GeFiCa_Units
5 #define GeFiCa_Units
6 namespace GeFiCa {
7  static const double ns=1;
8  static const double us=1e3*ns;
9  static const double ms=1e6*ns;
10  static const double sec=1e9*ns;
11  static const double C=1;
12  static const double cm=1;
13  static const double cm2=cm*cm;
14  static const double cm3=cm*cm*cm;
15  static const double mm=0.1*cm;
16  static const double mm2=mm*mm;
17  static const double mm3=mm*mm*mm;
18  static const double nm=1e-6*mm;
19  static const double um=1e-3*mm;
20  static const double volt=1;
21  static const double kV=1000*volt;
22  static const double pF=C/volt*1e-12;
23  static const double nF=C/volt*1e-9;
24  static const double Qe=1.6e-19*C;
25  static const double epsilon0=8.854187817e-14*C/volt/cm;
26  static const double epsilonR=16;
27  static const double epsilon=epsilonR*epsilon0;
28 
29  static const double Pi=3.14159265;
30 }
31 #endif
32 
static const double mm3
minimeter cubed
Definition: Units.h:17
static const double Pi
Definition: Units.h:29
static const double ns
nano second
Definition: Units.h:7
static const double cm
centimeter
Definition: Units.h:12
static const double kV
kilo volt
Definition: Units.h:21
static const double nF
nano farad
Definition: Units.h:23
static const double C
charge unit Coulomb
Definition: Units.h:11
static const double mm2
minimeter squared
Definition: Units.h:16
static const double um
micrometer
Definition: Units.h:19
static const double epsilonR
dielectric constant of Ge
Definition: Units.h:26
static const double epsilon
permittivity of Ge [C/volt/cm]
Definition: Units.h:27
static const double epsilon0
vacumm permittivity [C/volt/cm]
Definition: Units.h:25
static const double mm
minimeter
Definition: Units.h:15
static const double ms
mini second
Definition: Units.h:9
static const double pF
pico farad
Definition: Units.h:22
static const double cm2
centimeter squared
Definition: Units.h:13
static const double us
micro second
Definition: Units.h:8
static const double volt
Definition: Units.h:20
static const double sec
second
Definition: Units.h:10
static const double Qe
electron charge in Coulomb [C]
Definition: Units.h:24
The only namespace in GeFiCa.
Definition: Detector.h:6
static const double cm3
centimeter cubed
Definition: Units.h:14
static const double nm
nanometer
Definition: Units.h:18