TestBeamDAQChannelMapConstants.h
Go to the documentation of this file.
1 /*
2  File: TestBeamDAQChannelMapConstants.h
3  Author: Teresa Lackey
4  Created: May 31st, 2018
5 */
6 
7 #ifndef TESTBEAMDAQCHANNELMAPCONSTANTS_H
8 #define TESTBEAMDAQCHANNELMAPCONSTANTS_H
9 #include <stdint.h>
10 
11 namespace daqchannelmap {
12  // Listing Test Beam Detector hardware constants.
13  uint32_t TB_NUM_CELLS_DCM = 64;
14  uint32_t TB_NUM_PLANES_DIBLOCK = 64;
15  uint32_t TB_NUM_PLANES_BLOCK = 32; // Really 31, but have an extra plane in the middle
16  uint32_t TB_NUM_CELLS_PLANE = 64;
17  uint32_t TB_NUM_DIBLOCKS = 1;
18  uint32_t TB_NUM_DCMS = 3;
19 
20  // Mapping index is the pixel, result is fiber
21  const unsigned int pixeltofiber[] = {25,24,27,26,29,28,31,30,
22  17,16,19,18,21,20,22,23,
23  15,14,12,13,10,11, 8, 9,
24  6, 7, 4, 5, 2, 3, 0, 1};
25 
26  // Mapping index is the fiber, result is the pixel
27  const unsigned int fibertopixel[] = {30,31,28,29,26,27,24,25,
28  22,23,20,21,18,19,17,16,
29  9, 8,11,10,13,12,14,15,
30  1, 0, 3, 2, 5, 4, 7, 6};
31 
32 }
33 #endif
const unsigned int pixeltofiber[]
const unsigned int fibertopixel[]