User Tools

Site Tools


installation_cern_2chambres

This is an old revision of the document!


New firmware (v2) on both chambers

Mapping return chamber

Channel 0 is the TDC of trigger The strip 12 does not exist. in this mapping

For calibration you got TDC (channel -1) to Petiroc

      firmwaret=[31,29,27,25,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6]

and TDC to strip

{"id":10,"chamber":1,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":0,"polarity":1,
         "tdc2strip":[12,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12],
         "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        },
        {"id":14,"chamber":1,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":11,"polarity":-1,
         "tdc2strip":[12,11,11,10,10,9,9,8,8,7,7,6,6,5,5,4,4,3,3,2,2,1,1,12],
         "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        },
        {"id":11,"chamber":1,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":22,"polarity":1,
         "tdc2strip":[12,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12],
         "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        },
        {"id":9,"chamber":1,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":33,"polarity":-1,
         "tdc2strip":[12,11,11,10,10,9,9,8,8,7,7,6,6,5,5,4,4,3,3,2,2,1,1,12],
         "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        }

Mapping coaxial chamber

Channel 0 is the TDC of trigger The strip 13 does not exist. in this mapping

For calibration you got TDC (channel -1) to Petiroc

      firmware2=[24,5,3,1,0,2,4,6,7,8,9,10,26,28,30,31,29,27,25,23,22,21,20,19]

and TDC to strip

{"id":5,"chamber":2,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":0,"polarity":1,
         "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],
         "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        },
        {"id":6,"chamber":6,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":12,"polarity":1,
          "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],
         "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        },
        {"id":7,"chamber":2,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":22,"polarity":1,
         " "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],
         "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        },
        {"id":8,"chamber":2,"first":741000,"last":743000,
         "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150.,
         "stripShift":33,"polarity":-1,
          "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],
         "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],
         "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        }

Data format and software

The new data format is explain in this page

The detector id of the FEB is now 130

Example of readout of binary data can be found in [[http://git.ipnl.in2p3.fr/mirabito/TdcAnalysis | this git directory] of my analysis. The TdcChannel class change (FEBCMS tag) to take into account the 6 bytes structure. The read method in tdcrb.cxx (FEBCMS tag) is addapted to this new format

Daq environnment

The configuration used is : all_firmware2_1

{
  "HOSTS": {
    "lyocmsrpi02": [
      {
        "ARGS": [], 
        "ENV": [
          "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", 
          "DIM_DNS_NODE=lyosdhcal10", 
          "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/levbdim/lib:/opt/dhcal/lib:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/dim/linux:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/root/lib::/opt/dhcal/lcio/v02-00/lib/:$LD_LIBRARY_PATH", 
          "WEBPORT=42000"
        ], 
        "NAME": "MDCCSERVER", 
        "PARAMETER": {
          "device": "MDCC01", 
          "spilloff": 1000, 
          "spillon": 1000000, 
          "spillregister": 32
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Mdcc"
      }, 
      {
        "ARGS": [], 
        "ENV": [
          "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", 
          "WEBPORT=32000"
        ], 
        "NAME": "GENESYS", 
        "PARAMETER": {
          "TCPPort": 5600, 
          "device": "/dev/ttyUSB0", 
          "location": "CERN_904", 
          "period": 30, 
          "port": 6
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Genesys"
      }
    ], 
    "lyoilcrpi13": [
      {
        "ARGS": [], 
        "ENV": [
          "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", 
          "WEBPORT=31000"
        ], 
        "NAME": "HIH", 
        "PARAMETER": {
          "TCPPort": 5600, 
          "location": "CERN_904", 
          "period": 30
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_hih8000"
      }
    ], 
    "lyoilcrpi24": [
      {
        "ARGS": [], 
        "ENV": [
          "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", 
          "WEBPORT=31000"
        ], 
        "NAME": "BMP", 
        "PARAMETER": {
          "TCPPort": 5600, 
          "location": "CERN_904", 
          "period": 30
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Bmp"
      }
    ], 
    "lyosdhcal11": [
      {
        "ARGS": [], 
        "ENV": [
          "DIM_DNS_NODE=lyosdhcal11", 
          "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/levbdim/lib:/opt/dhcal/lib:/opt/dhcal/root/lib:/opt/dhcal/dim/linux:/opt/dhcal/lcio/v02-00/lib/:$LD_LIBRARY_PATH", 
          "WEBPORT=45000"
        ], 
        "NAME": "FDAQ", 
        "PARAMETER": {
          "s_ctrlreg": "0x815A1B40"
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Control"
      }, 
      {
        "ARGS": [], 
        "ENV": [
          "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", 
          "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/levbdim/lib:/opt/dhcal/lib:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/dim/linux:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/root/lib::/opt/dhcal/lcio/v02-00/lib/:$LD_LIBRARY_PATH", 
          "WEBPORT=40000"
        ], 
        "NAME": "TDCSERVER", 
        "PARAMETER": {
          "publish": "tcp://lyosdhcal11:5556", 
          "tdc": {
            "db": {
              "mode": "DB", 
              "state": "TDC_RETNEW_9"
            }, 
            "network": "192.168.10."
          }
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_FebCms"
      }, 
      {
        "ARGS": [], 
        "ENV": [
          "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:/opt/dhcal/lcio/v02-00/lib/:/opt/dhcal/root/lib:$LD_LIBRARY_PATH", 
          "WEBPORT=51000"
        ], 
        "NAME": "WRITER", 
        "PARAMETER": {
          "dif": 1, 
          "directory": "/data/local/FE1PR2", 
          "processor": [
            "binarywriter", 
            "lydaq_pluggins_monitor"
          ], 
          "shmpath": "/dev/shm/monitor", 
          "stream": [
            "tcp://*:5556"
          ]
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Builder"
      }, 
      {
        "ARGS": [], 
        "ENV": [
          "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", 
          "WEBPORT=36000"
        ], 
        "NAME": "FSLOW", 
        "PARAMETER": {
          "account": "admin/admin@lyoac28", 
          "deviceName": "SY1527@DOMESTAGEM2", 
          "first": 0, 
          "last": 5, 
          "serverName": "tcp://*:5500"
        }, 
        "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Slow_Control"
      }
    ]
  }, 
  "NAME": "all_firmware2_1"
}

It requires 4 computers:

  • lyosdhcal11: where all FEB readout, Event building and DAQ control run
  • lyocmsrpi02: It controls the MDCC and the Genesys Low Volatge power supply
  • lyoilcrpi13: It measures the humidity and temperature on 2 HIH8000 probes
  • lyoilcrpi24: It measures temperature and Presssure with a BMP183 probe

Data are stored on /data/local/FE1PR2

ASICs configuration

The initial configuration with both the return chamber calibrated (TDC_RETNEW_8) and the 4 FEBs of the coaxial chamber is TDC_RETNEW_9

Two runs were use to calibrate those Febs to 480 VTHTIME: 741263 and 741278

Nevertheless the HV was set to 7800 V when it was done and detector noise pollutes those runs.

The new state to be used for cosmic data taking is TDC_RETNEW_12

installation_cern_2chambres.1530790563.txt.gz · Last modified: 2021/07/10 23:20 (external edit)