Mapping between DAQ channel, VFAT ID and detector segment

This mapping is essential for assigning raw-data (transmitted by a VFAT) to the right segment of the right detector.

The mapping is given by XML formatted files. NB: the syntax is case sensitive.

These mapping files are used both in Monitor and OfflineSW.

Element tags

Common tags

The following tags are common for all subsystems (however their usage might be different for different subsystems).

  • arm, id=0 for left (sector 45), 1 for right (sector 56)
  • vfat, test_vfat and trigger_vfat, hw_id is the (hardware) 16bit chip ID

RP subsystem

  • arm, id=0 for left (sector 45), id=1 for right (sector 56)
  • station, id=0 for 147m (before 2015) or 210m (from 2015), 2 for 220m
  • rp_detector_set, id = 0 (near top), 1 (near bottom), 2 (near horizontal), 3 (far horizontal), 4 (far top), 5 (far bottom)
  • rp_plane, id from 0 to 9
  • trigger_vfat (to be put in a rp_detector_set block)
  • vfat or test_vfat (to be put in a rp_plane block). Use id (0 to 3) to address the VFAT within its plane.

The arm and station tags might be omitted, in that case arm 1 and station 2 are used as default.

A RP example:

<top>
   <arm id="0">
      <station id="2">
         <rp_detector_set id="0" doCorrelations="1">
            <trigger_vfat hw_id="0x9561" SubSystemId="None" TOTFEDId="0" OptoRxId="2" GOHId="2" IdxInFiber="8"/>
            <rp_plane id="2" orientation="v" z="9">
               <vfat id="0" hw_id="0xefe8" SubSystemId="None" TOTFEDId="0" OptoRxId="2" GOHId="6" IdxInFiber="8"/>
...

T1 subsystem

  • t1_detector_set , (not used for the moment)
  • t1_arm , id=0 for + side, id=1 for - side (not in monitor)
  • t1_plane , id from 0 to 4 (not in Monitor)
  • t1_csc , id from 0 to 5 (not in Monitor)

Inside vfat added polarity ( a for anodes or c for cathodes) and iid (identifying the vfat hardware position).

A T1 example:

<top>
<t1_detector_set id="100">
          <t1_arm id="1">
                 <t1_plane id="0">
                             <t1_csc id = "0">
                                 <vfat hw_id="0xa0ec" verbose="255" IdxInFiber="0"  GOHId="2"  OptoRxId="2" TOTFEDId="0" SubSystemId="None" polarity="a" id="0" />
                                 <vfat hw_id="0xa06c" verbose="255" IdxInFiber="1"  GOHId="2"  OptoRxId="2" TOTFEDId="0" SubSystemId="None" polarity="a" id="1" />
                                 <vfat hw_id="0xe0de" verbose="255" IdxInFiber="2"  GOHId="2"  OptoRxId="2" TOTFEDId="0" SubSystemId="None" polarity="c" id="0" />
                                 <vfat hw_id="0xe05e" verbose="255" IdxInFiber="3"  GOHId="2"  OptoRxId="2" TOTFEDId="0" SubSystemId="None" polarity="c" id="1" />
                             </t1_csc >
                             <t1_csc id = "1">
                                 <vfat hw_id="0x9ede" verbose="255" IdxInFiber="8"  GOHId="2"  OptoRxId="1" TOTFEDId="0" SubSystemId="None" polarity="a" id="0" />
                                 <vfat hw_id="0xc05e" verbose="255" IdxInFiber="9"  GOHId="2"  OptoRxId="1" TOTFEDId="0" SubSystemId="None" polarity="a" id="1" />
                                 <vfat hw_id="0xecde" verbose="255" IdxInFiber="11"  GOHId="2"  OptoRxId="1" TOTFEDId="0" SubSystemId="None" polarity="c" id="0" />
                                 <vfat hw_id="0xde5e" verbose="255" IdxInFiber="10"  GOHId="2"  OptoRxId="1" TOTFEDId="0" SubSystemId="None" polarity="c" id="1" />
                             </t1_csc>
...

T2 subsystem

  • t2_detector_set not utilized for the offline
  • t2_half , id=0 for near, 1 for far
  • t2_detector described by the position parameter inside the quarter (0 to 9)

DAQ channel attributes and their recognized values

This only applies to the VFAT tags (see above). There are 3 ways of specifying DAQ channel

  1. by position tag (deprecated and its usage is heavily discouraged)
  2. by DAQPosition tag, the value is in format SubSystemId:TOTFEDId:OptoRxId:GOHId:IdxInFiber, each of IDs is a hexadecimal integer
  3. or by the following set of tags (this is the recommended way)
    • SubSystemId (the recognized values are None, T1 , T2 , RP , Trigger, TTC, FEC)
    • TOTFEDId
    • OptoRxId
    • GOHId
    • IdxInFiber

The attributes recognized only by Monitor

See Monitor User Manual.

The attributes recognized only by OfflineSW

There are no special tags or attributes.

-- JanKaspar - 2015-07-24

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2015-07-24 - JanKaspar
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback