Line Code
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
# Mapping between hardware and software for CSC trigger in slice test
# This is a very simple mapping, but it has the flexibility to handle
# almost any mapping.
# Lindsey Gray 02-23-05
#                READOUT                                GEOMETRY
# ================================================================================
#   endcap station sector subsector  cscid | endcap station sector subsector cscid
# ================================================================================
# ME+2/1
      1       2       5       0       1       1       2       5       0       1
      1       2       5       0       2       1       2       5       0       2
      1       2       5       0       3       1       2       5       0       3
# ME+2/2
      1       2       5       0       4       1       2       5       0       4
      1       2       5       0       5       1       2       5       0       5
      1       2       5       0       6       1       2       5       0       6
      1       2       5       0       7       1       2       5       0       7
      1       2       5       0       8       1       2       5       0       8
      1       2       5       0       9       1       2       5       0       9
# ME+3/1
      1       3       5       0       1       1       3       5       0       1
      1       3       5       0       2       1       3       5       0       2
      1       3       5       0       3       1       3       5       0       3
# ME+3/2
      1       3       5       0       4       1       3       5       0       4
      1       3       5       0       5       1       3       5       0       5
      1       3       5       0       6       1       3       5       0       6
      1       3       5       0       7       1       3       5       0       7
      1       3       5       0       8       1       3       5       0       8
      1       3       5       0       9       1       3       5       0       9
# ================================================================================

#Example of a more elaborate trigger schemes
# This mapping takes the output of one chamber and splits it across two stations
# so that you can form tracks and trigger using only one chamber. This setup has 
# actually been used in the slice test.
# ================================================================================
#   endcap station sector subsector  cscid | endcap station sector subsector cscid
# ================================================================================
# ME+2/1
#      1       2       5       0       1       1       2       5       0       1
#      1       1       5       1       1       1       2       5       0       1
# ================================================================================
#
# This mapping represents a dmb/tmb that is in the wrong slot for its appropriate 
# cscid. You would often find this situation in a test beam. 
#
# ================================================================================
#   endcap station sector subsector  cscid | endcap station sector subsector cscid
# ================================================================================
# ME+2/1
#      1       2       5       0       4       1       2       5       0       1
# ================================================================================