XIAEventBuilder/mapping.h

40 lines
1.8 KiB
C
Raw Normal View History

2021-12-14 10:35:05 -05:00
/************************************
2022-03-10 13:59:06 -05:00
Clover : 0 - 99
BGO : 100 - 199
GAGG : 200 - 299
ZERO DEGREE : 300 - 399
2021-12-14 10:35:05 -05:00
* *********************************/
2022-01-13 18:23:41 -05:00
#ifndef MAPPING
#define MAPPING
2021-12-14 10:35:05 -05:00
//==================== mapping
#define NCLOVER 11
2022-03-10 13:59:06 -05:00
#define NCRYSTAL NCLOVER*4
#define NBGO NCLOVER
#define NGAGG 26
#define NZEROGAGG 2 ///NZERO is used
2022-03-10 13:59:06 -05:00
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2022-11-04 16:26:20 -04:00
int mapping[176] ={ 0, 1, 2, 3, 100, 4, 5, 6, 7, 101, 8, 9, 10, 11, 102, -1, //mod-0
2022-03-10 13:59:06 -05:00
12, 13, 14, 15, 103, 16, 17, 18, 19, 104, 20, 21, 22, 23, 105, -1, //mod-1
24, 25, 26, 27, 106, 28, 29, 30, 31, 107, 32, 33, 34, 35, 108, -1, //mod-2
2022-11-04 16:26:20 -04:00
36, 37, 38, 39, 109, 40, 41, 42, 43, 110, 300, 301, 200, 201, 202, 203, //mod-3
204, 205, 206, 207, 208, 209, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, //mod-4
210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, //mod-5, Ring 4A
260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, //mod-6, Ring 4B
-1, -1, -1, -1, 4, 5, -1, -1, 8, 9, -1, -1, -1, -1, -1, -1, //mod-7
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, //mod-8
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, //mod-9
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; //mod-10
2022-03-10 13:59:06 -05:00
//200- 209 GAGG 2A
//210- 225 GAGG 4A
//250- 259 GAGG 2B
//260- 275 GAGG 4B
2021-12-15 18:44:12 -05:00
2021-12-14 10:35:05 -05:00
2022-01-13 18:23:41 -05:00
#endif