CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/management/gVariables.hh
Go to the documentation of this file.
1 
10 #ifndef GVARIABLES_HH
11 #define GVARIABLES_HH 1
12 
13 // All includes
14 #include <iostream>
15 #include <fstream>
16 #include <sstream>
17 #include <cstdio>
18 #include <cstdlib>
19 #include <cstring>
20 #include <stdint.h>
21 #include <string>
22 #include <cmath>
23 #include <ctime>
24 #include <map>
25 #include <stdexcept>
26 #include <vector>
27 #include <algorithm>
28 #include <sys/stat.h>
29 #include <random>
30 #include <cfloat>
31 #include <chrono>
32 #include <iomanip>
33 #include <climits>
34 #ifdef CASTOR_OMP
35 #include <omp.h>
36 #endif
37 #ifdef CASTOR_MPI
38 #include <mpi.h>
39 #endif
40 #ifdef _WIN32
41 #include <windows.h>
42 #endif
43 
44 // The std namespace is used throughout the whole project
45 using namespace std;
46 
47 // The current CASToR version
48 #define CASTOR_VERSION "3.2"
49 
59 #define FLTNB float
60 
61 #define HPFLTNB double
62 
63 #define FLTNBMPI MPI_FLOAT
64 
65 #define FLTNBDATA float
66 
67 #define FLTNBLUT float
68 
69 //#define INTNB int64_t
70 #define INTNB int
71 
72 #define GATE_HISTNB uint8_t
73 
74 #define EVTINTDATA uint16_t
75 
76 #define EVTFLTDATA float
77 
78 
79 
83 #define EXIT_DEBUG 10
84 
86 #define TWO_SQRT_TWO_LN_2 2.354820045
87 
89 #define INV_SQRT_2_PI 0.398942280
90 
92 #define SPEED_OF_LIGHT_IN_MM_PER_PS 0.299792458
93 
94 #ifdef _WIN32
95 #define M_PI 3.141592654
96 #endif
97 
98 #endif