Notes about MVD hardware address (year-2)


The year-1 version of this document is different, look here to see it.

The format of MCM data packets is given here. The format of DCIM data packets is given here. From the DCIM, the packets go the the DCM, which adds further framing information as described here. The event builder home page also describes the frame format -- which appears to contain additional stuff wrapped around the DCM packet.

The information needed to associate a particular MCM/Si-detector with the packets is not conveniently organized. This information is as follows:

  • Each DCIM output packet contains the DCIM number, which is set via jumpers on the DCIM. This number is the 4th word of a DCIM packet (ModAdd).
  • Each DCIM output packet contains an odd/even bit (MUX bit in the tables) which says whether is is packet 0,2,4 (even) or 1,3,5 (odd) in the multiplexed output mode. This is bit 14 (bits are counted 0-15, with 15 the highest) of User Word 8.
  • The packet ID is a number of the format 2000+i (for the MVD) where i ranges from 1 to 999 and i=0 is reserved. As the documentation says: "The packet id in the PRDF data format (version 0) is a 32-bit value which is a unique identifier of where the data came from (eg. which drift chamber FEM card). The packet ids are specified in a configuration file (sample here for 1 DCM) and then added into the data stream by the DCMs.

    From the combination of these pieces of information and careful cabling, the DCIM output packet can be used to determine which MCM is came from.

    There was a request (maybe a rule?) that the packetID values be consecutive and start from 1. This makes it impossible for us to use a numbering system for packetIDs which is both
    1) The same each year as channels are added to the MVD
    2) related in a simple way to the r,phi,z position of the detector element.

    I propose to keep the same general organization (as in year-1) of the packetID numbers. The barrel data come first, then the pads. Within the barrel the z index runs fastest, then phi, then shell. Within the pads the phi index runs fastest and the z index is next.

    inner barrel addressing:

    r phi z packet ID DCIM addr. DCIM out# MUX bit DCM slot, input# DCM cable # notes
    0 0 0 -- 1 1 0 -- -- not there, SN26
    0 0 1 -- 1 1 1 -- -- not there, SN26
    0 0 2 2001 1 4 0 4,1 1 not there, SN26
    0 0 3 2002 1 4 1 4,1 1 SW IM4, SN26
    0 0 4 2003 1 5 0 4,2 2 SW IM5, SN26
    0 0 5 2004 1 5 1 4,2 2 SW IM6, SN26
    0 0 6 2005 2 5 1 4,3 3 NW IM6, SN12
    0 0 7 2006 2 5 0 4,3 3 NW IM5, SN12
    0 0 8 2007 2 4 1 4,4 4 NW IM4, SN12
    0 0 9 2008 2 4 0 4,4 4 not there, SN12
    0 0 10 -- 2 1 1 -- -- not there, SN12
    0 0 11 -- 2 1 0 -- -- not there, SN12
    0 1 0 -- 3 1 0 -- -- not there, SN34
    0 1 1 -- 3 1 1 -- -- not there, SN34
    0 1 2 2009 3 4 0 5,1 5 not there, SN34
    0 1 3 2010 3 4 1 5,1 5 SW IT4, SN34
    0 1 4 2011 3 5 0 5,2 6 SW IT5, SN34
    0 1 5 2012 3 5 1 5,2 6 SW, IT6, SN34
    0 1 6 2013 4 5 1 5,3 7 NW IT6, SN17
    0 1 7 2014 4 5 0 5,3 7 NW IT5, SN17
    0 1 8 2015 4 4 1 5,4 8 NW IT4, SN17
    0 1 9 2016 4 4 0 5,4 8 not there, SN17
    0 1 10 -- 4 1 1 -- -- not there, SN17
    0 1 11 -- 4 1 0 -- -- not there, SN17
    0 2 0 -- 5 1 0 -- -- not there, SN6
    0 2 1 -- 5 1 1 -- -- not there, SN6
    0 2 2 2017 5 4 0 6,1 9 not there, SN6
    0 2 3 2018 5 4 1 6,1 9 SE IT4, SN6
    0 2 4 2019 5 5 0 6,2 10 SE IT5, SN6
    0 2 5 2020 5 5 1 6,2 10 SE IT6, SN6
    0 2 6 2021 6 5 1 6,3 11 NE IT6, SN 20
    0 2 7 2022 6 5 0 6,3 11 NE IT5, SN 20
    0 2 8 -- 6 4 1 -- -- not there, SN 20
    0 2 9 -- 6 4 0 -- -- not there, SN 20
    0 2 10 -- 6 1 1 -- -- not there, SN 20
    0 2 11 -- 6 1 0 -- -- not there, SN 20
    0 3 0 -- 7 1 0 -- -- not there, SN32
    0 3 1 -- 7 1 1 -- -- not there, SN32
    0 3 2 2023 7 4 0 6,4 12 not there, SN32
    0 3 3 2024 7 4 1 6,4 12 SE IM4, SN32
    0 3 4 2025 7 5 0 7,1 13 SE IM5, SN32
    0 3 5 2026 7 5 1 7,1 13 SE IM6, SN32
    0 3 6 2027 8 5 1 7,2 14 NE IM6, SN16
    0 3 7 2028 8 5 0 7,2 14 NE IM5, SN16
    0 3 8 2029 8 4 1 7,3 15 NE IM4, SN16
    0 3 9 2030 8 4 0 7,3 15 not there, SN16
    0 3 10 -- 8 1 1 -- -- not there, SN16
    0 3 11 -- 8 1 0 -- -- not there, SN16
    0 4 0 -- 9 1 0 -- -- not there, SN28
    0 4 1 -- 9 1 1 -- -- not there, SN28
    0 4 2 2031 9 4 0 7,4 16 SE IB3, SN28
    0 4 3 2032 9 4 1 7,4 16 SE IB4, SN28
    0 4 4 2033 9 5 0 8,1 17 SE IB5, SN28
    0 4 5 2034 9 5 1 8,1 17 SE IB6, SN28
    0 4 6 2035 10 5 1 8,2 18 NE IB6, SN4
    0 4 7 2036 10 5 0 8,2 18 NE IB5, SN4
    0 4 8 2037 10 4 1 8,3 19 NE IB4, SN4
    0 4 9 2038 10 4 0 8,3 19 NE IB3, SN4
    0 4 10 -- 10 1 1 -- -- not there, SN4
    0 4 11 -- 10 1 0 -- -- not there, SN4
    0 5 0 -- 11 1 0 -- -- not there, SN27
    0 5 1 -- 11 1 1 -- -- not there, SN27
    0 5 2 2039 11 4 0 8,4 20 SW IB3, SN27
    0 5 3 2040 11 4 1 8,4 20 SW IB4, SN27
    0 5 4 2041 11 5 0 9,1 21 SW IB5, SN27
    0 5 5 2042 11 5 1 9,1 21 SW IB6, SN27
    0 5 6 2043 12 5 1 9,2 22 NW IB6, SN3
    0 5 7 2044 12 5 0 9,2 22 NW IB5, SN3
    0 5 8 2045 12 4 1 9,3 23 NW IB4, SN3
    0 5 9 2046 12 4 0 9,3 23 NW IB3, SN3
    0 5 10 2047 12 1 1 9,4 24 NW IB2, SN3
    0 5 11 2048 12 1 0 9,4 24 not there, SN3

    Outer barrel addressing:

    r phi z packet ID DCIM addr. DCIM out# MUX bit DCM slot, input# DCM cable # notes
    1 4 0 -- 13 1 0 -- -- not there, SN22
    1 4 1 -- 13 1 1 -- -- not there, SN22
    1 4 2 2049 13 4 0 14,1 25 SE OB3, SN22
    1 4 3 2050 13 4 1 14,1 25 SE OB4, SN22
    1 4 4 2051 13 5 0 14,2 26 SE OB5, SN22
    1 4 5 2052 13 5 1 14,2 26 SE OB6, SN22
    1 4 6 2053 14 5 1 14,3 27 NE OB6, SN P2
    1 4 7 2054 14 5 0 14,3 27 NE OB5, SN P2
    1 4 8 2055 14 4 1 14,4 28 NE OB4, SN P2
    1 4 9 2056 14 4 0 14,4 28 NE OB3, SN P2
    1 4 10 -- 14 1 1 -- -- not there, SN P2
    1 4 11 -- 14 1 0 -- -- not there, SN P2
    1 5 0 -- 15 1 0 -- -- not there, SN30
    1 5 1 -- 15 1 1 -- -- not there, SN30
    1 5 2 2057 15 4 0 15,1 29 SW OB3, SN30
    1 5 3 2058 15 4 1 15,1 29 SW OB4, SN30
    1 5 4 2059 15 5 0 15,2 30 SW OB5, SN30
    1 5 5 2060 15 5 1 15,2 30 SW OB6, SN30
    1 5 6 2061 16 5 1 15,3 31 NW OB6, SN0
    1 5 7 2062 16 5 0 15,3 31 NW OB5, SN0
    1 5 8 2063 16 4 1 15,4 32 NW OB4, SN0
    1 5 9 2064 16 4 0 15,4 32 NW OB3, SN0
    1 5 10 2065 16 1 1 16,1 33 NW OB2, SN0
    1 5 11 2066 16 1 0 16,1 33 not there, SN0

    South endcap pads addressing:

    z (end) phi (wedge) packet ID DCIM adde. DCIM out# MUX bit DCM slot, input# DCM cable # notes
    0 0 2067 17 4 1 16,3 35 SE pad4, SN33
    0 1 2068 17 5 0 16,2 34 SE pad5, SN33
    0 2 2069 17 5 1 16,2 34 SE pad6, SN33
    0 3 2070 18 5 1 17,1 37 SW pad6, SN25
    0 4 2071 18 5 0 17,1 37 SW pad5, SN25
    0 5 2072 18 4 1 17,2 38 SW pad4, SN25
    0 6 2073 18 4 0 17,2 38 SW pad3, SN25
    0 7 2074 18 1 1 17,3 39 SW pad2, SN25
    0 8 2075 18 1 0 17,3 39 SW pad1, SN25
    0 9 2076 17 1 0 16,4 47 SE pad1, SN33
    0 10 2077 17 1 1 16,4 47 SE pad2, SN33
    0 11 2078 17 4 0 16,3 35 SE pad3, SN33

    North endcap pads addressing:

    z (end) phi (wedge) packet ID DCIM adde. DCIM out# MUX bit DCM slot, input# DCM cable # notes
    1 0 2079 19 4 1 18,1 41 NE pad4, SN19
    1 1 2080 19 5 0 17,4 40 NE pad5, SN19
    1 2 2081 19 5 1 17,4 40 NE pad6, SN19
    1 3 2082 20 5 1 18,3 43 NW pad6, SN21
    1 4 2083 20 5 0 18,3 43 NW pad5, SN21
    1 5 2084 20 4 1 18,4 44 NW pad4, SN21
    1 6 2085 20 4 0 18,4 44 NW pad3, SN21
    1 7 2086 20 1 1 19,1 45 NW pad2, SN21
    1 8 2087 20 1 0 19,1 45 NW pad1, SN21
    1 9 2088 19 1 0 18,2 42 NE pad1, SN19
    1 10 2089 19 1 1 18,2 42 NE pad2, SN19
    1 11 2090 19 4 0 18,1 41 NE pad3, SN19

    In the tables above, the DCM cable number is the number on the fiber-optic cable which goes from
    a) the DCIM output to the patch panel on the west side on the central magnet
    b) the patch panel in Bldg 1008 to the DCM
    The cable numbers are the same in the two places.

    Some totals:
    45 DCIM cables
    12 DCM modules
    20 DCIM modules
    90 packets ID's

    Comments and suggestions appreciated.


    updated 12-Jun-2001
    John Sullivan