The test stand consists of the radiation source, the module and the readout board which are attached to a cooling system, the KCU DAQ assistant and the oscilloscope (Fig.1).
- Mount the Lecroy data from the scope.
cd ETROC2_Test_Stand
source MountLecroyData.sh
- Taking data from KCU only (without the scope data).
cd /home/daq/
source Test_Stand.sh
ipython test_tamalero.py -- --control_hub --kcu $DAQ_assistant_IP --verbose --configuration modulev0b --power_up
ipython -i test_ETROC.py -- --test_chip --hard_reset --partial --configuration modulev0b --module 1
(and make sure that the lpGBT connections are locked)
./reset_and_run.sh $number_of_events
To run the Acquisition and the ETROC data taking at the same time the Autopilot can be used:
- Running the autopilot (taking data from the KCU and the scope).
cd /home/daq/
source Setup_Autopilot_Variables.sh
ipython test_tamalero.py -- --control_hub --kcu $DAQ_assistant_IP --verbose --configuration modulev0b --power_up
ipython -i test_ETROC.py -- --test_chip --hard_reset --partial --configuration modulev0b --module 1
(and make sure that the lpGBT connections are locked)
./autopilot.sh $number_of_events $threshold_offset
- Do the data acquisition from the scope (without the data taking from the scope).
cd ETROC2_Test_Stand
source Acquisition.sh
python3 acquisition_wrapper.py $number_of_events
- Do the conversion of the data from the scope.
cd ETROC2_Test_Stand
source Conversion.sh
pytohn3 recoLoop.py
- Merging the data from the scope and from the KCU (Fig.2).
cd ETROC2_Test_Stand
source Merging.sh
python3 merge_scope_etroc.py