FarDetDAQChannelMapConstants.h
Go to the documentation of this file.
1 /*
2  File: FarDetDAQChannelMapConstants.h
3  Author: Hayes Merritt
4  Created: April 30th, 2014
5 */
6 
7 #ifndef FARDETDAQCHANNELMAPCONSTANTS_H
8 #define FARDETDAQCHANNELMAPCONSTANTS_H
9 #include <stdint.h>
10 
11 namespace daqchannelmap {
12  // Listing Far Detector hardware constants.
13  uint32_t FD_NUM_CELLS_DCM = 64;
14  uint32_t FD_NUM_PLANES_DIBLOCK = 64;
15  uint32_t FD_NUM_PLANES_BLOCK = 32;
16  uint32_t FD_NUM_CELLS_PLANE = 384;
17  uint32_t FD_NUM_DIBLOCKS = 14;
18  uint32_t FD_NUM_DCMS = 12;
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
34 
const unsigned int pixeltofiber[]
const unsigned int fibertopixel[]