-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.h
72 lines (54 loc) · 2.45 KB
/
Constants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#ifndef CONSTANTS_H
#define CONSTANTS_H
#include "vector.hh"
// constants in math
const double TWOPI=6.2831852;
const double PI=3.141592654;
const double ALOG2=0.693147; // natural log of 2
const double INV_E=0.36787944; // 1/e
const double sr=4*PI;
// conversion constants
const double CMINCH=2.54; // inches to cm
const double RADDEG=0.017453292; // radians/degree
const double DEGRAD=57.2957795; // degree/rad
// physical constants
const double CLIGHT=3.0E8; // speed of light m/s
const double KBOLTZ=1.38E-23; // Boltzmann constant J/K
const double Z0=377.; // resistivity of free space
const double Zr=50.; // radiation resistance (50 Ohms?)
const double M_NUCL=1.66E-27; // amu mass in kg
const double MTAU=1.777E9; // mass of the tau
const double TAUDECAY_TIME=290.6E-15; // lifetime of tau
// properties of water
const double X0H20=0.361; // radiation length of water (meters)
// properties of air
const double Z_AIR=377; // resistance of air = sqrt(epsilon/mu)
const double RHOAIR=1.25; // density of air (kg/m**3)
// // properties of ice
const double NFIRN=1.3250; // index of refraction at the very surface - Peter
const double NICE=1.79; // index of refraction of ice
// constant vectors used in balloon class - oindree
const Vector const_z(0,0,1);
const Vector const_y(0,1,0);
const Vector const_x(1,0,0);
// TUFF configuration switching times in ChanTrigger.cc
const int TUFFconfig_B_end_1 = 1480713195;
const int TUFFconfig_P_end_1 = 1480730719;
const int TUFFconfig_C_end_1 = 1480731802;
const int TUFFconfig_P_end_2 = 1480807284;
const int TUFFconfig_G_end_1 = 1481013795;
const int TUFFconfig_O_end_1 = 1481100915;
const int TUFFconfig_G_end_2 = 1481173515;
const int TUFFconfig_O_end_2 = 1481490208;
const int TUFFconfig_P_end_3 = 1481642754;
const int TUFFconfig_B_end_2 = 1482121239;
const int TUFFconfig_P_end_4 = 1482168627;
const int TUFFconfig_B_end_3 = 1482205359;
const int TUFFconfig_A_end_1 = 1482206201;
const int TUFFconfig_B_end_4 = 1482286948;
const int TUFFconfig_P_end_5 = 1482347440;
const int TUFFconfig_B_end_5 = 1482445716;
const int TUFFconfig_P_end_6 = 1482465408;
const int TUFFconfig_B_end_6 = 1482964570;
const int TUFFconfig_P_end_7 = 1482987942;
#endif //CONSTANTS_H