Classes | Typedefs | Enumerations | Variables
daqchannelmap Namespace Reference

Classes

class  ChannelMapException
 
class  DAQChannelMap
 
class  DAQChannelMapBaseOLD
 
class  DAQChannelMapOLD
 
class  FarDetDAQChannelMap
 
class  HardwareDisplay
 
class  NDOSDAQChannelMap
 
class  NearDetDAQChannelMap
 
class  TestBeamDAQChannelMap
 
struct  UniversalDAQChannel
 < DAQ Channel Map Package More...
 
struct  UniversalDCMChannel
 

Typedefs

typedef uint32_t dchan
 < DAQ Channel Map Package More...
 
typedef uint32_t lchan
 
typedef uint32_t cell_t
 
typedef uint32_t fiber_t
 
typedef uint32_t plane_t
 Type for plane. More...
 
typedef uint32_t diblock_t
 Type for diblocks and blocks. More...
 
typedef uint32_t block_t
 
typedef uint32_t dcm_id_t
 Type for DCM number, counts from 1. More...
 
typedef uint32_t feb_t
 Type for DCM link port. Counts from 0. More...
 
typedef uint32_t pixel_t
 Type for physical pixel on APD. More...
 
typedef uint32_t offline_cell_t
 < DAQ Channel Map Package More...
 
typedef uint32_t online_cell_t
 
typedef uint32_t offline_plane_t
 Type for offline plane. Offline counts from 0. More...
 
typedef uint32_t dcm_link_t
 Type for DCM number. Counts from 1. More...
 
typedef uint32_t apd_pixel_t
 

Enumerations

enum  BlockNumerationOffset { BLOCK_OFFSET = 0, DIBLOCK_OFFSET = 1 }
 
enum  DAQValidRange {
  MIN_PIXEL = 0, MAX_PIXEL = 31, MIN_PORT = 0, MAX_PORT = 63,
  MIN_DCM = 1, MAX_DCM = 12, MIN_DIBLOCK = 1, MAX_DIBLOCK = 17,
  MIN_DCMCELL = 0, MAX_DCMCELL = 63, MIN_DCMPLANE = 0, MAX_DCMPLANE = 31,
  MAX_MC_DCMPLANE = 6, MAX_MC_ND_DCMPLANE = 11
}
 
enum  DAQChanMASKS {
  MASK_DETECTOR = 0xF0000000, MASK_DIBLOCK = 0x0FC00000, MASK_DCMID = 0x003F0000, MASK_DCMPORT = 0x0000FF00,
  MASK_PIXELID = 0x000000FF, SHIFT_DETECTOR = 28, SHIFT_DIBLOCK = 22, SHIFT_DCMID = 16,
  SHIFT_DCMPORT = 8, SHIFT_PIXELID = 0
}
 Shifts and masks for unique online channel. More...
 
enum  OfflineChanMASKS {
  MASK_OFFLINE_DETECTOR = 0xF0000000, MASK_OFFLINE_PLANE = 0x0FFFFC00, MASK_OFFLINE_CELL = 0x000003FF, SHIFT_OFFLINE_DETECTOR = 28,
  SHIFT_OFFLINE_PLANE = 10, SHIFT_OFFLINE_CELL = 0
}
 Shifts and masks for unique offline channel. More...
 
enum  DetBlock_TYPE {
  MIN_BLOCK_TYPE = 1, A_BLOCK = 1, B_BLOCK, AFULL_BLOCK,
  M_BLOCK, MC_ND_BLOCK, MAX_BLOCK_TYPE =MC_ND_BLOCK
}
 Types of Block. More...
 
enum  DiBlock_TYPE {
  MIN_DIBLOCK_TYPE = 1, AB_DIBLOCK = 1, BA_DIBLOCK, AA_DIBLOCK,
  AFULLAFULL_DIBLOCK, MC_DIBLOCK, MC_ND_DIBLOCK, AAFULL_DIBLOCK,
  MAX_DIBLOCK_TYPE = AAFULL_DIBLOCK
}
 Types of Diblock. More...
 
enum  DetView_TYPE { INIT = 0, X_VIEW = 1, Y_VIEW }
 Types of Detector View. More...
 
enum  DetPlane_TYPE { XZ_PLANE = 1, YZ_PLANE }
 Types of Detector Plane. More...
 
enum  DetBlockSizes {
  DetSize_IPND = 4, DetSize_NDOS = 8, DetSize_NEARDET = 8, DetSize_FARDET = 30,
  DetSize_FARDET_16K = 32, DetSize_FARDET_17K = 32, DetSize_TESTBEAM_2Block_1x1 = 2, DetSize_TESTBEAM_3Block_1x1 = 3,
  DetSize_TESTBEAM_2Block_2x2 = 2, DetSize_TESTBEAM_3Block_2x2 = 3
}
 Size of the detectors in blocks. More...
 
enum  DetDiBlockSizes {
  NUM_DIBLOCK_IPND = 2, NUM_DIBLOCK_NDOS = 4, NUM_DIBLOCK_NEARDET = 4, NUM_DIBLOCK_FARDET = 15,
  NUM_DIBLOCK_FARDET_16K = 16, NUM_DIBLOCK_FARDET_17K = 17, NUM_DIBLOCK_TESTBEAM_2Block_1x1 = 1, NUM_DIBLOCK_TESTBEAM_3Block_1x1 = 2,
  NUM_DIBLOCK_TESTBEAM_2Block_2x2 = 1, NUM_DIBLOCK_TESTBEAM_3Block_2x2 = 2
}
 
enum  ModuleParameters {
  NUM_DCM_PORTS = 64, NUM_PIXELS = 32, NUM_CELLS = 32, NUM_CELLS_PER_DCM = 64,
  NUM_XZ_PLANES_AFULL_BLOCK = 16, NUM_XZ_PLANES_A_BLOCK = 16, NUM_XZ_PLANES_B_BLOCK = 15, NUM_XZ_PLANES_MC_BLOCK = 6,
  NUM_XZ_PLANES_MC_ND_BLOCK = 11, NUM_YZ_PLANES_AFULL_BLOCK = 16, NUM_YZ_PLANES_A_BLOCK = 15, NUM_YZ_PLANES_B_BLOCK = 16,
  NUM_YZ_PLANES_MC_BLOCK = 7, NUM_YZ_PLANES_MC_ND_BLOCK = 11, NUM_X_MODULES_IPND = 2, NUM_Y_MODULES_IPND = 3,
  NUM_X_MODULES_NDOS = 2, NUM_Y_MODULES_NDOS = 3, NUM_X_MODULES_NEARDET = 3, NUM_Y_MODULES_NEARDET = 3,
  NUM_X_MODULES_FARDET = 12, NUM_Y_MODULES_FARDET = 12, NUM_X_MODULES_TESTBEAM_2Block_1x1 = 1, NUM_Y_MODULES_TESTBEAM_2Block_1x1 = 1,
  NUM_X_MODULES_TESTBEAM_3Block_1x1 = 1, NUM_Y_MODULES_TESTBEAM_3Block_1x1 = 1, NUM_X_MODULES_TESTBEAM_2Block_2x2 = 2, NUM_Y_MODULES_TESTBEAM_2Block_2x2 = 2,
  NUM_X_MODULES_TESTBEAM_3Block_2x2 = 2, NUM_Y_MODULES_TESTBEAM_3Block_2x2 = 2, NUM_DCMS_DIBLOCK_IPND = 3, NUM_DCMS_DIBLOCK_NDOS = 3,
  NUM_DCMS_DIBLOCK_NEARDET = 4, NUM_DCMS_DIBLOCK_FARDET = 12, NUM_DCMS_MUONCATCHER = 2, NUM_DCMS_DIBLOCK_TESTBEAM_2Block_1x1 = 2,
  NUM_DCMS_DIBLOCK_TESTBEAM_3Block_1x1 = 2, NUM_DCMS_DIBLOCK_TESTBEAM_2Block_2x2 = 2, NUM_DCMS_DIBLOCK_TESTBEAM_3Block_2x2 = 2, NUM_X_DCMS_IPND = 1,
  NUM_X_DCMS_NDOS = 1, NUM_X_DCMS_NEARDET = 2, NUM_X_DCMS_FARDET = 6, NUM_X_DCMS_TESTBEAM_2Block_1x1 = 1,
  NUM_X_DCMS_TESTBEAM_3Block_1x1 = 1, NUM_X_DCMS_TESTBEAM_2Block_2x2 = 1, NUM_X_DCMS_TESTBEAM_3Block_2x2 = 1, NUM_Y_DCMS_IPND = 2,
  NUM_Y_DCMS_NDOS = 2, NUM_Y_DCMS_NEARDET = 2, NUM_Y_DCMS_FARDET = 6, NUM_Y_DCMS_TESTBEAM_2Block_1x1 = 1,
  NUM_Y_DCMS_TESTBEAM_3Block_1x1 = 1, NUM_Y_DCMS_TESTBEAM_2Block_2x2 = 1, NUM_Y_DCMS_TESTBEAM_3Block_2x2 = 1, NUM_CHAN_X_PLANE_IPND = 64,
  NUM_CHAN_X_PLANE_NDOS = 64, NUM_CHAN_X_PLANE_NEARDET = 96, NUM_CHAN_X_PLANE_FARDET = 384, NUM_CHAN_X_PLANE_TESTBEAM_2Block_1x1 = 32,
  NUM_CHAN_X_PLANE_TESTBEAM_3Block_1x1 = 32, NUM_CHAN_X_PLANE_TESTBEAM_2Block_2x2 = 64, NUM_CHAN_X_PLANE_TESTBEAM_3Block_2x2 = 64, NUM_CHAN_Y_PLANE_IPND = 96,
  NUM_CHAN_Y_PLANE_NDOS = 96, NUM_CHAN_Y_PLANE_NEARDET = 96, NUM_CHAN_Y_PLANE_FARDET = 384, NUM_CHAN_Y_PLANE_TESTBEAM_2Block_1x1 = 32,
  NUM_CHAN_Y_PLANE_TESTBEAM_3Block_1x1 = 32, NUM_CHAN_Y_PLANE_TESTBEAM_2Block_2x2 = 64, NUM_CHAN_Y_PLANE_TESTBEAM_3Block_2x2 = 64, NULL_TERM = 0x0,
  TERM_CHAR = 0xFDFCFBFA
}
 
enum  DAQChanMapErrorCodes {
  ERROR_GENERAL = 0x7000FFFF, ERROR_UNKNOWN, ERROR_UNDEFINED, ERROR_CHAN_OUTRANGE,
  ERROR_PLANE_OUTRANGE, ERROR_BLOCK_OUTRANGE, ERROR_DIBLOCK_OUTRANGE, ERROR_DCM_OUTRANGE,
  ERROR_PORT_OUTRANGE, ERROR_PIXEL_OUTRANGE, ERROR_CELL_OUTRANGE, ERROR_MODULE_OUTRANGE,
  ERROR_UNKNOWN_DIBLOCK, ERROR_UNKNOWN_DIBLOCK_TYPE, ERROR_UNKNOWN_DCM, ERROR_UNKNOWN_LINK,
  ERROR_UNKNOWN_VIEW, ERROR_UNKNOWN_DET, ERROR_UNKNOWN_CELL
}
 

Variables

uint32_t FD_NUM_CELLS_DCM = 64
 
uint32_t FD_NUM_PLANES_DIBLOCK = 64
 
uint32_t FD_NUM_PLANES_BLOCK = 32
 
uint32_t FD_NUM_CELLS_PLANE = 384
 
uint32_t FD_NUM_DIBLOCKS = 14
 
uint32_t FD_NUM_DCMS = 12
 
const unsigned int pixeltofiber []
 
const unsigned int fibertopixel []
 
uint32_t ND_NUM_CELLS_DCM = 64
 
uint32_t ND_NUM_PLANES_DIBLOCK = 64
 
uint32_t ND_NUM_PLANES_BLOCK = 24
 
uint32_t ND_NUM_CELLS_PLANE = 96
 
uint32_t ND_NUM_CELLS_YPLANE_MC = 96
 
uint32_t ND_NUM_CELLS_XPLANE_MC = 64
 
uint32_t ND_NUM_DIBLOCKS = 4
 
uint32_t ND_NUM_DCMS = 4
 
uint32_t ND_MC_NUM_DCMS = 2
 
const unsigned int pixel2fiber []
 
const unsigned int fiber2pixel []
 
uint32_t TB_NUM_CELLS_DCM = 64
 
uint32_t TB_NUM_PLANES_DIBLOCK = 64
 
uint32_t TB_NUM_PLANES_BLOCK = 32
 
uint32_t TB_NUM_CELLS_PLANE = 64
 
uint32_t TB_NUM_DIBLOCKS = 1
 
uint32_t TB_NUM_DCMS = 3
 

Typedef Documentation

typedef uint32_t daqchannelmap::apd_pixel_t

Definition at line 42 of file DAQChannelMapConstantsOLD.h.

typedef uint32_t daqchannelmap::block_t

Definition at line 30 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::cell_t

Definition at line 22 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::dchan

< DAQ Channel Map Package

The following unsigned ints represent the fields of bits in which we encode DAQ format information (dchan) and logical (physical) information (lchan). dchan information has the following constituents: detector, diblock_number, dcm_number, feb_number(or dcm_link as it is defined lchan information has the following constituents: detector, plane, cell.

Definition at line 19 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::dcm_id_t

Type for DCM number, counts from 1.

Definition at line 33 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::dcm_link_t

Type for DCM number. Counts from 1.

Type for DCM link (to FEB). Counts from 0.

Definition at line 38 of file DAQChannelMapConstantsOLD.h.

typedef uint32_t daqchannelmap::diblock_t

Type for diblocks and blocks.

Type for diblock and block number. Blocks count from 0, Diblocks count from 1.

Definition at line 29 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::feb_t

Type for DCM link port. Counts from 0.

Definition at line 36 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::fiber_t

Definition at line 23 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::lchan

Definition at line 20 of file DAQChannelMapConstants.h.

< DAQ Channel Map Package

Offline cell counts from 0 as follows: Horizontal: Cell 0 is at the lowest X in the detector coordinates Vertical: Cell 0 is at the lowest Y in the detector coordinates

Definition at line 20 of file DAQChannelMapConstantsOLD.h.

Type for offline plane. Offline counts from 0.

Definition at line 28 of file DAQChannelMapConstantsOLD.h.

typedef uint32_t daqchannelmap::online_cell_t

Online cell counts as follows: Cell 0 is at the pixel 0 of the first DCM in the view. For Horizontal planes that would the farthest pixel if you look from catwalk and incidentally it's the same as offline cell. For Vertical planes that would the highest pixel if you look from catwalk and in this case it counts in the reverse order than offline cell.

Definition at line 25 of file DAQChannelMapConstantsOLD.h.

typedef uint32_t daqchannelmap::pixel_t

Type for physical pixel on APD.

Type for pixel number. Counts from 0 - it's in nanoslice format.

Definition at line 39 of file DAQChannelMapConstants.h.

typedef uint32_t daqchannelmap::plane_t

Type for plane.

Definition at line 26 of file DAQChannelMapConstants.h.

Enumeration Type Documentation

Enumerator
BLOCK_OFFSET 

do we count blocks from 0 or 1

DIBLOCK_OFFSET 

do we count diblocks from 0 or 1

Definition at line 41 of file DAQChannelMapConstants.h.

41  {
42  BLOCK_OFFSET = 0 ///< do we count blocks from 0 or 1
43  ,DIBLOCK_OFFSET = 1 ///< do we count diblocks from 0 or 1
44  };
do we count diblocks from 0 or 1
do we count blocks from 0 or 1
Enumerator
ERROR_GENERAL 
ERROR_UNKNOWN 
ERROR_UNDEFINED 
ERROR_CHAN_OUTRANGE 
ERROR_PLANE_OUTRANGE 
ERROR_BLOCK_OUTRANGE 
ERROR_DIBLOCK_OUTRANGE 
ERROR_DCM_OUTRANGE 
ERROR_PORT_OUTRANGE 
ERROR_PIXEL_OUTRANGE 
ERROR_CELL_OUTRANGE 
ERROR_MODULE_OUTRANGE 
ERROR_UNKNOWN_DIBLOCK 
ERROR_UNKNOWN_DIBLOCK_TYPE 
ERROR_UNKNOWN_DCM 
ERROR_UNKNOWN_LINK 
ERROR_UNKNOWN_VIEW 
ERROR_UNKNOWN_DET 
ERROR_UNKNOWN_CELL 

Definition at line 10 of file DAQChannelMapErrorsOLD.h.

10  {
11  ERROR_GENERAL = 0x7000FFFF,
30  };

Shifts and masks for unique online channel.

Enumerator
MASK_DETECTOR 

Detector ID, (4bit), valid range 1-4.

MASK_DIBLOCK 

Diblock ID, (6bit), valid range 1-15.

MASK_DCMID 

DCM ID, (6bit), valid range 1-12.

MASK_DCMPORT 

DCM Link Port (8bit), valid range 0-63.

MASK_PIXELID 

APD Pixel Number (8bit), valid range 0-31.

SHIFT_DETECTOR 
SHIFT_DIBLOCK 
SHIFT_DCMID 
SHIFT_DCMPORT 
SHIFT_PIXELID 

Definition at line 66 of file DAQChannelMapConstants.h.

66  {
67  MASK_DETECTOR = 0xF0000000, //!< Detector ID, (4bit), valid range 1-4
68  MASK_DIBLOCK = 0x0FC00000, //!< Diblock ID, (6bit), valid range 1-15
69  MASK_DCMID = 0x003F0000, //!< DCM ID, (6bit), valid range 1-12
70  MASK_DCMPORT = 0x0000FF00, //!< DCM Link Port (8bit), valid range 0-63
71  MASK_PIXELID = 0x000000FF, //!< APD Pixel Number (8bit), valid range 0-31
72 
73  SHIFT_DETECTOR = 28,
74  SHIFT_DIBLOCK = 22,
75  SHIFT_DCMID = 16,
76  SHIFT_DCMPORT = 8,
77  SHIFT_PIXELID = 0
78  };
APD Pixel Number (8bit), valid range 0-31.
Detector ID, (4bit), valid range 1-4.
Diblock ID, (6bit), valid range 1-15.
DCM ID, (6bit), valid range 1-12.
DCM Link Port (8bit), valid range 0-63.
Enumerator
MIN_PIXEL 
MAX_PIXEL 
MIN_PORT 
MAX_PORT 
MIN_DCM 
MAX_DCM 
MIN_DIBLOCK 
MAX_DIBLOCK 
MIN_DCMCELL 
MAX_DCMCELL 
MIN_DCMPLANE 
MAX_DCMPLANE 
MAX_MC_DCMPLANE 
MAX_MC_ND_DCMPLANE 

Definition at line 48 of file DAQChannelMapConstants.h.

Types of Block.

Enumerator
MIN_BLOCK_TYPE 
A_BLOCK 

Identifier for an "A" type detector block (starts with X measuring plane)

B_BLOCK 

Identifier for a "B" type detector block (starts with Y measuring plane)

AFULL_BLOCK 

Identifier for an "AFULL" type detector block (starts with X measuring plane). 32 planes block.

M_BLOCK 

NDOS Muon catcher Block.

MC_ND_BLOCK 

NearDet Muon catcher Block.

MAX_BLOCK_TYPE 

Definition at line 92 of file DAQChannelMapConstants.h.

92  {
93  MIN_BLOCK_TYPE = 1,
94  A_BLOCK = 1, //!< Identifier for an "A" type detector block (starts with X measuring plane)
95  B_BLOCK , //!< Identifier for a "B" type detector block (starts with Y measuring plane)
96  AFULL_BLOCK, //!< Identifier for an "AFULL" type detector block (starts with X measuring plane). 32 planes block
97  M_BLOCK, //!< NDOS Muon catcher Block
98  MC_ND_BLOCK, //!< NearDet Muon catcher Block
99  MAX_BLOCK_TYPE=MC_ND_BLOCK
100  };
NDOS Muon catcher Block.
Identifier for a "B" type detector block (starts with Y measuring plane)
Identifier for an "AFULL" type detector block (starts with X measuring plane). 32 planes block...
Identifier for an "A" type detector block (starts with X measuring plane)
NearDet Muon catcher Block.

Size of the detectors in blocks.

Enumerator
DetSize_IPND 

Size of the IP/ND detector in blocks (4)

DetSize_NDOS 

Size of the NDOS detector in blocks (6)

DetSize_NEARDET 

Size of the Near detector in blocks (6)

DetSize_FARDET 

Size of the Far detector in blocks (30)

DetSize_FARDET_16K 

Size of the Far detector in blocks (32)

DetSize_FARDET_17K 

Size of the Far detector in blocks (32)

DetSize_TESTBEAM_2Block_1x1 
DetSize_TESTBEAM_3Block_1x1 
DetSize_TESTBEAM_2Block_2x2 
DetSize_TESTBEAM_3Block_2x2 

Definition at line 129 of file DAQChannelMapConstants.h.

129  {
130  DetSize_IPND = 4, //!< Size of the IP/ND detector in blocks (4)
131  DetSize_NDOS = 8, //!< Size of the NDOS detector in blocks (6)
132  DetSize_NEARDET = 8, //!< Size of the Near detector in blocks (6)
133  DetSize_FARDET = 30, //!< Size of the Far detector in blocks (30)
134  DetSize_FARDET_16K = 32, //!< Size of the Far detector in blocks (32)
135  DetSize_FARDET_17K = 32, //!< Size of the Far detector in blocks (32)
140  };
Size of the Far detector in blocks (30)
Size of the Near detector in blocks (6)
Size of the Far detector in blocks (32)
Size of the NDOS detector in blocks (6)
Size of the IP/ND detector in blocks (4)
Size of the Far detector in blocks (32)
Enumerator
NUM_DIBLOCK_IPND 

Size of the IP/ND detector in diblocks.

NUM_DIBLOCK_NDOS 

Size of the NDOS detector in diblocks including muon catcher.

NUM_DIBLOCK_NEARDET 

Size of the Near detector in diblocks including muon catcher.

NUM_DIBLOCK_FARDET 

Size of the Far detector in diblocks.

NUM_DIBLOCK_FARDET_16K 

Size of the Far detector in diblocks.

NUM_DIBLOCK_FARDET_17K 

Size of the Far detector in diblocks.

NUM_DIBLOCK_TESTBEAM_2Block_1x1 
NUM_DIBLOCK_TESTBEAM_3Block_1x1 
NUM_DIBLOCK_TESTBEAM_2Block_2x2 
NUM_DIBLOCK_TESTBEAM_3Block_2x2 

Definition at line 142 of file DAQChannelMapConstants.h.

142  {
143  NUM_DIBLOCK_IPND = 2 //!< Size of the IP/ND detector in diblocks
144  ,NUM_DIBLOCK_NDOS = 4 //!< Size of the NDOS detector in diblocks including muon catcher
145  ,NUM_DIBLOCK_NEARDET = 4 //!< Size of the Near detector in diblocks including muon catcher
146  ,NUM_DIBLOCK_FARDET = 15 //!< Size of the Far detector in diblocks
147  ,NUM_DIBLOCK_FARDET_16K = 16 //!< Size of the Far detector in diblocks
148  ,NUM_DIBLOCK_FARDET_17K = 17 //!< Size of the Far detector in diblocks
153  };
Size of the Near detector in diblocks including muon catcher.
Size of the Far detector in diblocks.
Size of the Far detector in diblocks.
Size of the Far detector in diblocks.
Size of the IP/ND detector in diblocks.
Size of the NDOS detector in diblocks including muon catcher.

Types of Detector Plane.

Enumerator
XZ_PLANE 

Identifier for the horizontal plane.

YZ_PLANE 

Identifier for the vertical plane.

Definition at line 123 of file DAQChannelMapConstants.h.

123  {
124  XZ_PLANE = 1,//!< Identifier for the horizontal plane
125  YZ_PLANE //!< Identifier for the vertical plane
126  };
Identifier for the vertical plane.
Identifier for the horizontal plane.

Types of Detector View.

Enumerator
INIT 
X_VIEW 

Identifier for the X measuring view of the detector (top)

Y_VIEW 

Identifier for the Y measuring view of the detector (side)

Definition at line 116 of file DAQChannelMapConstants.h.

116  {
117  INIT = 0,
118  X_VIEW = 1, //!< Identifier for the X measuring view of the detector (top)
119  Y_VIEW //!< Identifier for the Y measuring view of the detector (side)
120  };
Identifier for the Y measuring view of the detector (side)
Identifier for the X measuring view of the detector (top)

Types of Diblock.

Enumerator
MIN_DIBLOCK_TYPE 

Identifier for diblocks of configuration A-B.

AB_DIBLOCK 

Identifier for diblocks of configuration A-B.

BA_DIBLOCK 

Identifier for diblocks of configuration B-A.

AA_DIBLOCK 

Identifier for diblocks of configuration A-A.

AFULLAFULL_DIBLOCK 

Identifier for diblocks using a 32/32 configuration.

MC_DIBLOCK 

Identifider for NDOS Muon catcher.

MC_ND_DIBLOCK 

Identifider for NearDet Muon catcher.

AAFULL_DIBLOCK 

Identifier for diblocks of configuration A-AFULL (31/32) - TESTBEAM.

MAX_DIBLOCK_TYPE 

Definition at line 103 of file DAQChannelMapConstants.h.

103  {
104  MIN_DIBLOCK_TYPE = 1, //!< Identifier for diblocks of configuration A-B
105  AB_DIBLOCK = 1, //!< Identifier for diblocks of configuration A-B
106  BA_DIBLOCK , //!< Identifier for diblocks of configuration B-A
107  AA_DIBLOCK , //!< Identifier for diblocks of configuration A-A
108  AFULLAFULL_DIBLOCK, //!< Identifier for diblocks using a 32/32 configuration
109  MC_DIBLOCK, //!< Identifider for NDOS Muon catcher
110  MC_ND_DIBLOCK, //!< Identifider for NearDet Muon catcher
111  AAFULL_DIBLOCK, //!< Identifier for diblocks of configuration A-AFULL (31/32) - TESTBEAM
112  MAX_DIBLOCK_TYPE = AAFULL_DIBLOCK
113  };
Identifier for diblocks of configuration A-AFULL (31/32) - TESTBEAM.
Identifider for NearDet Muon catcher.
Identifier for diblocks of configuration B-A.
Identifier for diblocks using a 32/32 configuration.
Identifier for diblocks of configuration A-B.
Identifider for NDOS Muon catcher.
Identifier for diblocks of configuration A-A.
Identifier for diblocks of configuration A-B.
Enumerator
NUM_DCM_PORTS 
NUM_PIXELS 
NUM_CELLS 
NUM_CELLS_PER_DCM 
NUM_XZ_PLANES_AFULL_BLOCK 
NUM_XZ_PLANES_A_BLOCK 
NUM_XZ_PLANES_B_BLOCK 
NUM_XZ_PLANES_MC_BLOCK 
NUM_XZ_PLANES_MC_ND_BLOCK 
NUM_YZ_PLANES_AFULL_BLOCK 
NUM_YZ_PLANES_A_BLOCK 
NUM_YZ_PLANES_B_BLOCK 
NUM_YZ_PLANES_MC_BLOCK 
NUM_YZ_PLANES_MC_ND_BLOCK 
NUM_X_MODULES_IPND 
NUM_Y_MODULES_IPND 
NUM_X_MODULES_NDOS 
NUM_Y_MODULES_NDOS 
NUM_X_MODULES_NEARDET 
NUM_Y_MODULES_NEARDET 
NUM_X_MODULES_FARDET 
NUM_Y_MODULES_FARDET 
NUM_X_MODULES_TESTBEAM_2Block_1x1 
NUM_Y_MODULES_TESTBEAM_2Block_1x1 
NUM_X_MODULES_TESTBEAM_3Block_1x1 
NUM_Y_MODULES_TESTBEAM_3Block_1x1 
NUM_X_MODULES_TESTBEAM_2Block_2x2 
NUM_Y_MODULES_TESTBEAM_2Block_2x2 
NUM_X_MODULES_TESTBEAM_3Block_2x2 
NUM_Y_MODULES_TESTBEAM_3Block_2x2 
NUM_DCMS_DIBLOCK_IPND 
NUM_DCMS_DIBLOCK_NDOS 
NUM_DCMS_DIBLOCK_NEARDET 
NUM_DCMS_DIBLOCK_FARDET 
NUM_DCMS_MUONCATCHER 
NUM_DCMS_DIBLOCK_TESTBEAM_2Block_1x1 
NUM_DCMS_DIBLOCK_TESTBEAM_3Block_1x1 
NUM_DCMS_DIBLOCK_TESTBEAM_2Block_2x2 
NUM_DCMS_DIBLOCK_TESTBEAM_3Block_2x2 
NUM_X_DCMS_IPND 
NUM_X_DCMS_NDOS 
NUM_X_DCMS_NEARDET 
NUM_X_DCMS_FARDET 
NUM_X_DCMS_TESTBEAM_2Block_1x1 
NUM_X_DCMS_TESTBEAM_3Block_1x1 
NUM_X_DCMS_TESTBEAM_2Block_2x2 
NUM_X_DCMS_TESTBEAM_3Block_2x2 
NUM_Y_DCMS_IPND 
NUM_Y_DCMS_NDOS 
NUM_Y_DCMS_NEARDET 
NUM_Y_DCMS_FARDET 
NUM_Y_DCMS_TESTBEAM_2Block_1x1 
NUM_Y_DCMS_TESTBEAM_3Block_1x1 
NUM_Y_DCMS_TESTBEAM_2Block_2x2 
NUM_Y_DCMS_TESTBEAM_3Block_2x2 
NUM_CHAN_X_PLANE_IPND 
NUM_CHAN_X_PLANE_NDOS 
NUM_CHAN_X_PLANE_NEARDET 
NUM_CHAN_X_PLANE_FARDET 
NUM_CHAN_X_PLANE_TESTBEAM_2Block_1x1 
NUM_CHAN_X_PLANE_TESTBEAM_3Block_1x1 
NUM_CHAN_X_PLANE_TESTBEAM_2Block_2x2 
NUM_CHAN_X_PLANE_TESTBEAM_3Block_2x2 
NUM_CHAN_Y_PLANE_IPND 
NUM_CHAN_Y_PLANE_NDOS 
NUM_CHAN_Y_PLANE_NEARDET 
NUM_CHAN_Y_PLANE_FARDET 
NUM_CHAN_Y_PLANE_TESTBEAM_2Block_1x1 
NUM_CHAN_Y_PLANE_TESTBEAM_3Block_1x1 
NUM_CHAN_Y_PLANE_TESTBEAM_2Block_2x2 
NUM_CHAN_Y_PLANE_TESTBEAM_3Block_2x2 
NULL_TERM 
TERM_CHAR 

Definition at line 155 of file DAQChannelMapConstants.h.

155  {
156  NUM_DCM_PORTS = 64,
157  NUM_PIXELS = 32,
158  NUM_CELLS = 32,
159  NUM_CELLS_PER_DCM = 64,
160 
166 
170 
173 
174  NUM_X_MODULES_IPND = 2,
175  NUM_Y_MODULES_IPND = 3,
176  NUM_X_MODULES_NDOS = 2,
177  NUM_Y_MODULES_NDOS = 3,
190 
200 
201  NUM_X_DCMS_IPND = 1,
202  NUM_X_DCMS_NDOS = 1,
203  NUM_X_DCMS_NEARDET = 2,
204  NUM_X_DCMS_FARDET = 6,
209 
210  NUM_Y_DCMS_IPND = 2,
211  NUM_Y_DCMS_NDOS = 2,
212  NUM_Y_DCMS_NEARDET = 2,
213  NUM_Y_DCMS_FARDET = 6,
218 
227 
236 
237  NULL_TERM = 0x0,
238  TERM_CHAR = 0xFDFCFBFA
239  };

Shifts and masks for unique offline channel.

Enumerator
MASK_OFFLINE_DETECTOR 

Detector ID, (4bit), valid range 1-4.

MASK_OFFLINE_PLANE 

Plane Number,(18bit), valid range 0-930 (far det)

MASK_OFFLINE_CELL 

Cell Number, (10bit), valid range 1-384 (far det)

SHIFT_OFFLINE_DETECTOR 
SHIFT_OFFLINE_PLANE 
SHIFT_OFFLINE_CELL 

Definition at line 81 of file DAQChannelMapConstants.h.

81  {
82  MASK_OFFLINE_DETECTOR = 0xF0000000, //!< Detector ID, (4bit), valid range 1-4
83  MASK_OFFLINE_PLANE = 0x0FFFFC00, //!< Plane Number,(18bit), valid range 0-930 (far det)
84  MASK_OFFLINE_CELL = 0x000003FF, //!< Cell Number, (10bit), valid range 1-384 (far det)
85 
89  };
Plane Number,(18bit), valid range 0-930 (far det)
Detector ID, (4bit), valid range 1-4.
Cell Number, (10bit), valid range 1-384 (far det)

Variable Documentation

uint32_t daqchannelmap::FD_NUM_CELLS_DCM = 64
uint32_t daqchannelmap::FD_NUM_CELLS_PLANE = 384
uint32_t daqchannelmap::FD_NUM_DCMS = 12
uint32_t daqchannelmap::FD_NUM_DIBLOCKS = 14
uint32_t daqchannelmap::FD_NUM_PLANES_BLOCK = 32
uint32_t daqchannelmap::FD_NUM_PLANES_DIBLOCK = 64
const unsigned int daqchannelmap::fiber2pixel[]
Initial value:
= {30,31,28,29,26,27,24,25,
22,23,20,21,18,19,17,16,
9, 8,11,10,13,12,14,15,
1, 0, 3, 2, 5, 4, 7, 6}

Definition at line 31 of file NearDetDAQChannelMapConstants.h.

Referenced by daqchannelmap::NearDetDAQChannelMap::FiberToPixel().

const unsigned int daqchannelmap::fibertopixel
Initial value:
= {30,31,28,29,26,27,24,25,
22,23,20,21,18,19,17,16,
9, 8,11,10,13,12,14,15,
1, 0, 3, 2, 5, 4, 7, 6}

Definition at line 27 of file FarDetDAQChannelMapConstants.h.

Referenced by daqchannelmap::NDOSDAQChannelMap::FiberToPixel(), daqchannelmap::TestBeamDAQChannelMap::FiberToPixel(), and daqchannelmap::FarDetDAQChannelMap::FiberToPixel().

uint32_t daqchannelmap::ND_MC_NUM_DCMS = 2

Definition at line 22 of file NearDetDAQChannelMapConstants.h.

uint32_t daqchannelmap::ND_NUM_CELLS_DCM = 64

Definition at line 14 of file NearDetDAQChannelMapConstants.h.

uint32_t daqchannelmap::ND_NUM_CELLS_PLANE = 96
uint32_t daqchannelmap::ND_NUM_CELLS_XPLANE_MC = 64
uint32_t daqchannelmap::ND_NUM_CELLS_YPLANE_MC = 96

Definition at line 18 of file NearDetDAQChannelMapConstants.h.

uint32_t daqchannelmap::ND_NUM_DCMS = 4
uint32_t daqchannelmap::ND_NUM_DIBLOCKS = 4
uint32_t daqchannelmap::ND_NUM_PLANES_BLOCK = 24
uint32_t daqchannelmap::ND_NUM_PLANES_DIBLOCK = 64
const unsigned int daqchannelmap::pixel2fiber[]
Initial value:
= {25,24,27,26,29,28,31,30,
17,16,19,18,21,20,22,23,
15,14,12,13,10,11, 8, 9,
6, 7, 4, 5, 2, 3, 0, 1}

Definition at line 25 of file NearDetDAQChannelMapConstants.h.

Referenced by daqchannelmap::NearDetDAQChannelMap::PixelToFiber().

const unsigned int daqchannelmap::pixeltofiber
Initial value:
= {25,24,27,26,29,28,31,30,
17,16,19,18,21,20,22,23,
15,14,12,13,10,11, 8, 9,
6, 7, 4, 5, 2, 3, 0, 1}

Definition at line 21 of file FarDetDAQChannelMapConstants.h.

Referenced by daqchannelmap::NDOSDAQChannelMap::PixelToFiber(), daqchannelmap::TestBeamDAQChannelMap::PixelToFiber(), and daqchannelmap::FarDetDAQChannelMap::PixelToFiber().

uint32_t daqchannelmap::TB_NUM_CELLS_DCM = 64

Definition at line 13 of file TestBeamDAQChannelMapConstants.h.

uint32_t daqchannelmap::TB_NUM_CELLS_PLANE = 64
uint32_t daqchannelmap::TB_NUM_DCMS = 3
uint32_t daqchannelmap::TB_NUM_DIBLOCKS = 1
uint32_t daqchannelmap::TB_NUM_PLANES_BLOCK = 32

Definition at line 15 of file TestBeamDAQChannelMapConstants.h.

uint32_t daqchannelmap::TB_NUM_PLANES_DIBLOCK = 64

Definition at line 14 of file TestBeamDAQChannelMapConstants.h.