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] }
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] }
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 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
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:
Data are stored on /data/local/FE1PR2
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
at 1 kV on all chambers we got run 741284
The return strip chamber is a bit noisy (ground connection to be adjusted) and the minimal threshold is 504 ( ~ 65 fC)
— DAQ user 2018/07/05 13:53 The current environnment is
acqilc@lyosdhcal11:~$ slccontrol --slc-ptstatus P T 962.00 295.45 acqilc@lyosdhcal11:~$ slccontrol --slc-humstatus H0 T0 H1 T1 46.53 294.71 37.14 294.89
The start of the acquisition can be done with the restart_daq script
#!/bin/bash shopt -s expand_aliases . ${HOME}/.daqrc daqcontrol --jc-kill sleep 2 daqcontrol --jc-start sleep 2 slccontrol --slc-cre;slccontrol --slc-init;slccontrol --slc-conf sleep 1 slccontrol --slc-lvon daqcontrol --daq-create daqcontrol --daq-discover daqcontrol --daq-service daqcontrol --daq-initialise daqcontrol --daq-download --dbstate=TDC_RETNEW_12 daqcontrol --daq-setvth --vth=504 daqcontrol --daq-configure daqcontrol --trig-spillof --clock=1000 daqcontrol --trig-spillon --clock=10000000 daqcontrol --trig-spillreg --value=32 daqcontrol --trig-setreg --address=7 --value=200000000 #curl -g http://lyosdhcal10:45000/FDAQ/CMD?name=SETTDCMODE\&VALUE=1
Then a run is started on lyosdhcal11 with
daqcontrol –daq-start;daqcontrol –trig-resume
and stopped with
daqcontrol –daq-stop
The last line of restart_daq is commented. If one wants to run in trigger mode (only acquisition frame with trigger in are transmitted):
curl -g http://lyosdhcal11:45000/FDAQ/CMD?name=SETTDCMODE\&VALUE=1
and go back in normal mode with
curl -g http://lyosdhcal11:45000/FDAQ/CMD?name=SETTDCMODE\&VALUE=0
— DAQ user 2018/07/05 14:13
HV set to 6500 V on coaxial
High currents
Bot_Coax \u2502 6500 V 10.00 uA 6499 V 0.67 uA On \u250204.0001 Top_Coax \u2502 6500 V 10.00 uA 6499 V 1.98 uA On \u250204.0002 ----- \u25020 V 30.00 uA 0 V 0.00 uA Off \u250204.0003 BOT_Return \u2502 1000 V 10.00 uA 1001 V 0.01 uA On \u250204.0004 TOP_Return \u2502 1000 V 10.00 uA 998 V 0.02 uA On \u250204.0005 -
Run 741290 on going (trigger Mode)