icemc
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Friends
Macros
Pages
Constants.h
Go to the documentation of this file.
1
#ifndef CONSTANTS_H
2
#define CONSTANTS_H
3
4
5
// constants in math
6
const
double
TWOPI
=6.2831852;
7
const
double
PI
=3.141592654;
8
const
double
ALOG2
=0.693147;
// natural log of 2
9
const
double
INV_E
=0.36787944;
// 1/e
10
const
double
sr
=4*
PI
;
11
12
13
// conversion constants
14
const
double
CMINCH
=2.54;
// inches to cm
15
const
double
RADDEG
=0.017453292;
// radians/degree
16
const
double
DEGRAD
=57.2957795;
// degree/rad
17
18
// physical constants
19
const
double
CLIGHT
=3.0E8;
// speed of light m/s
20
const
double
KBOLTZ
=1.38E-23;
// Boltzmann constant J/K
21
const
double
Z0
=377.;
// resistivity of free space
22
const
double
Zr
=50.;
// radiation resistance (50 Ohms?)
23
const
double
M_NUCL
=1.66E-27;
// amu mass in kg
24
const
double
MTAU
=1.777E9;
// mass of the tau
25
const
double
TAUDECAY_TIME
=290.6E-15;
// lifetime of tau
26
27
// properties of water
28
const
double
X0H20
=0.361;
// radiation length of water (meters)
29
30
31
// properties of air
32
33
34
const
double
Z_AIR
=377;
// resistance of air = sqrt(epsilon/mu)
35
const
double
RHOAIR
=1.25;
// density of air (kg/m**3)
36
// // properties of ice
37
38
39
const
double
NFIRN
=1.3250;
// index of refraction at the very surface - Peter
40
const
double
NICE
=1.79;
// index of refraction of ice
41
42
43
44
#endif //CONSTANTS_H
Generated on Sat Nov 15 2014 22:18:21 for icemc by
1.8.3.1