Data Taking

From pCT

Usage

The data taking script is used for data taking. It can also be utilized to perform a fake hit rate test and to provide a masking pattern for data runs. The ALPIDE is configured to receive triggers from the Readout Unit.

How To

To run the test navigate to the test folder

$ cd tests

$ python3 datataking.py --board=BOARD --chips=CHIPS --num_triggers=NUM_TRIGGERS --trigger_delay=TRIGGER_DELAY--strobe_duration=STROBE_DURATION --masking=MASKING --trains=TRAINS --trains_delay=TRAINS_DELAY

The test outputs a time-and-date.root file located in production_tests/results/

An integrated hit map with all chips involved is automatically provided when you run the datataking.py script. The analysis script is located in production_tests/plot/. A plot with the results from the test is provided and stored in production_tests/results/plots/.

A masking pattern can be provided by running the masking.py script located in production_tests/plot/ you can provide a masking pattern for further data taking by:

$ python3 masking.py ../results/datafile.root number_of_triggers_issued desired_masking_level(%) chip_id

The output of the analysis script is located in production_tests/config/masking.txt and contains a list of chip id, x and y coordinates of the noisy pixels.

The config file for the test is located in production_tests/config/. The DAC Settings section can be edited in order to alter the performance of the ALPIDE. It is mainly the following settings that are of interest for the test: VCASN, ITHR, IDB, VRESETD.