-
Notifications
You must be signed in to change notification settings - Fork 1
/
petypes.hh
138 lines (120 loc) · 2.75 KB
/
petypes.hh
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#ifndef __PE_TYPES_HH
#define __PE_TYPES_HH
/*
petypes.hh
Generic data types which are classes. Used for passing IO
data around and useful enumerations in PE calculations
*/
//#if !defined(__CINT__) && !defined(__CLING__)
//#include <G4Types.hh>
//#endif
#define __RUNSTR_LEN 255
#define __MAXFILE_LEN 1048576 // MB file size limit
#include "TTimeStamp.h"
// Event structure
struct catPEs_t { // The full spectrum regardless of source
int nPEs; // PE counts per event
std::vector<int> detIDs; // store the det IDs too
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct Q_t { // Quartz Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct Ref_t { // Reflector Primary Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct RefX_t { // Reflector Accidental Side Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct Refair_t { // Reflector Air Volume Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct LG_t { // Light Guide Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct LGair_t { // Light Guide Air Volume Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct PMTcat_t { // PMT Cathode Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct PMTbulk_t { // PMT Bulk Volume Hits
int nPEs;
int det;
double r;
double x;
double y;
double z;
double px, py, pz;
double p, e, m;
double vx, vy, vz;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
struct elseX_t { // PMT Bulk Volume Hits
int nPEs;
std::vector<double> catHitx, catHity, catHitz; //Cathode PE hit information
};
#endif // __PE_TYPES_HH