blob: b6a035904100017569766fc6138b0512f06cbd10 (
plain)
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
|
#ifndef PMT_H
#define PMT_H
#define MAX_PMTS 10000
/* Radius of the PMT concentrator (cm). */
#define PMT_RADIUS 13.5
/* PMT types from snoman.ratdb. */
#define PMT_NORMAL 1
#define PMT_OWL 2
#define PMT_LG 3
#define PMT_BUTT 4
#define PMT_NECK 5
#define PMT_CALIBRATION 5
#define PMT_SPARE 10
#define PMT_INVALID 11
typedef struct pmt {
/* PMT position (cm). */
double pos[3];
/* PMT normal vector (points from the center of the PMT towards the
* photocathode). */
double normal[3];
int pmt_type;
} pmt;
extern pmt pmts[MAX_PMTS];
int load_pmt_info();
#endif
|