Table of Contents


CONTROL POWER SUPPLY

Connect to raspberry: ssh pi@lyocmsrpi04 (or 01,02,03, etc.) pass: raspberry
cd /opt/lydaq/drivers/Genesys/
sudo python
import genesys
g=genesys.genesys("/dev/ttyUSB0",1) answer - OK or change ttyUSB0 to ttyUSB1, ttyUSB2, etc.

g.status(1) g.setOff(1) g.setOn(1)

RUN LYON DAQ

1) Restart all system (PC, FEBs, raspberry)

ssh acqilc@lyosdhcal11 pass: RPC_2008

2) Start demon on lyosdhcal11: sudo /opt/dhcal/bin/ljcd start (stop, status)

3) Start demon on raspberry: sudo /opt/dhcal/bin/ljcd start (stop, status)
(ssh pi@lyocmsrpi04 pass: raspberry)

4) Start DAQ (dqqqt.py) python /opt/lydaq/qt/daqqt.py
4.1) Create, start - (febproto_cern_6b)
4.2) DAQ - StartUp
4.3) MDCC - Reset TDC
4.4) DAQ - Initialise
4.5) DAQ - Calibratre → Apply (36028797018963968)
4.6) DAQ - Download (FEB_2B_1415_139*) Configure
4.7) MDCC - Set registers (65000 100 32); Resume
4.8) DAQ - Set external trigger (Active 6; Dead 2)
4.9) DAQ - Set threshould if you on common threshoulds for all ASICs.
5) Start run.

+ ping tdc15
+ sudo kill -9 [PID]

PEDESTAL ANALYSIS

1023 ⇒ ASIC 1 ⇒ Align all ASIC 1 ⇒ new State |1023 ⇒ ASIC 2 ⇒ Align all ASIC 2 ⇒ new state
1023 ⇒ ASIC 3 ⇒ Check |255 ⇒ ASIC 1 ⇒ check |255 ⇒ ASIC 2 ⇒ check |255 ⇒ ASIC 3 ⇒ check

cd /opt/TdcAnalysis/
export LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH
export PYTHONPATH=./scripts/:$PYTHONPATH
bin/tdcr -r750846 -d/data/local/FE1PR2/ -g/opt/TdcAnalysis/gifpp_geom.json
python -c 'import fitscurve;fitscurve.fitped(750966,14,460,540,1,48)'
python -c 'import fitscurve;fitscurve.fitped(750966,14,460,540,2,48)'
python -c 'import fitscurve;fitscurve.fitped(750966,15,460,540,1,48)'
python -c 'import fitscurve;fitscurve.fitped(750966,15,460,540,2,48)'

NEW STATES

lyoserv.in2p3.fr acqilc@lyosdhcal9 log: acqilc pass: RPC_2008 (PC in Lyon)

cd /opt/lydaq/apps/TdcCms

CONTROL CAEN N470

F10 - turn on a channel; F11 - turn off channel; F0 - choose channel; F6 - monitor Voltage; F7 - monitor Current.