Notes about MVD hardware address (year-4)


Versions of this document for earlier runs are different. The year-1 version of this document is different,
Look here to the year-1 version.
Look here to the year-2 version.
Look here to the year-3 version.

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 120 (in principle we are allowed to use numbers up to 2999) 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.

    In year-4, only the pad detectors are installed. The packets numbers used for the pad detectors in year-3 are used, so they range from 2097 to 2120.

    Look here or here to see the first version of the "pcf" file which is used by the DCMs to relate the DCM slot and input number to the packet number.

    Look at this pdf file or this powerpoint file for sketches of the locations of the packets and notes about current performance. South endcap pads addressing:

    z phi packet
    ID
    DCIM
    addr.
    DCIM
    out#
    MUX
    bit
    DCM
    slot,
    input#
    DCM
    cable
    notes
    0 5 2097 17 4 1 9,2 50 SE pad4, SN33
    0 4 2098 17 5 0 9,1 49 SE pad5, SN33
    0 3 2099 17 5 1 9,1 49 SE pad6, SN33
    0 2 2100 18 5 1 9,4 52 SW pad6, SN25
    0 1 2101 18 5 0 9,4 52 SW pad5, SN25
    0 0 2102 18 4 1 10,1 53 SW pad4, SN25
    0 11 2103 18 4 0 10,1 53 SW pad3, SN25
    0 10 2104 18 1 1 10,2 54 SW pad2, SN25
    0 9 2105 18 1 0 10,2 54 SW pad1, SN25
    0 8 2106 17 1 0 9,3 63 SE pad1, SN33
    0 7 2107 17 1 1 9,3 63 SE pad2, SN33
    0 6 2108 17 4 0 9,2 50 SE pad3, SN33

    North endcap pads addressing:

    z phi packet
    ID
    DCIM
    addr.
    DCIM
    out#
    MUX
    bit
    DCM
    slot,
    input#
    DCM
    cable
    notes
    1 5 2109 19 4 1 19,4 56 NE pad4, SN19
    1 4 2110 19 5 0 19,3 55 NE pad5, SN19
    1 3 2111 19 5 1 19,3 55 NE pad6, SN19
    1 2 2112 20 5 1 20,2 58 NW pad6, SN21
    1 1 2113 20 5 0 20,2 58 NW pad5, SN21
    1 0 2114 20 4 1 20,3 59 NW pad4, SN21
    1 11 2115 20 4 0 20,3 59 NW pad3, SN21
    1 10 2116 20 1 1 20,4 60 NW pad2, SN21
    1 9 2117 20 1 0 20,4 60 NW pad1, SN21
    1 8 2118 19 1 0 20,1 57 NE pad1, SN19
    1 7 2119 19 1 1 20,1 57 NE pad2, SN19
    1 6 2120 19 4 0 19,4 56 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.

    The DCM slots start with number 1 -- slot 1 contains the crate controller.

    Some totals:
    12 optical cables (aka "DCM" cables) are used (Numbers 36,51 and probably a few other are bad)
    48 optical cables were used in the previous run for the strip detectors, they are still there (numbers 1-48 with a few bad cables replaced with higher numbers) but not used.
    9 extra optical ("DCM") cables (numbers go up to 69, 61 used to replace cable 36, 63 used to replace 51)
    4 DCM modules are used (two with 2 unused inputs)
    4 DCIM modules are used
    24 packets ID's


    updated 5-Nov-2003
    John Sullivan