<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pct.wiki.uib.no/index.php?action=history&amp;feed=atom&amp;title=Data_Taking</id>
	<title>Data Taking - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pct.wiki.uib.no/index.php?action=history&amp;feed=atom&amp;title=Data_Taking"/>
	<link rel="alternate" type="text/html" href="https://pct.wiki.uib.no/index.php?title=Data_Taking&amp;action=history"/>
	<updated>2026-05-05T00:52:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://pct.wiki.uib.no/index.php?title=Data_Taking&amp;diff=981&amp;oldid=prev</id>
		<title>Vei046: Created page with &quot;==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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pct.wiki.uib.no/index.php?title=Data_Taking&amp;diff=981&amp;oldid=prev"/>
		<updated>2022-01-25T13:56:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==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...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Usage== &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==How To==&lt;br /&gt;
To run the test navigate to the test folder &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd tests&lt;br /&gt;
&lt;br /&gt;
$ 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&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The test outputs a time-and-date.root file located in &amp;#039;&amp;#039;production_tests/results/&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
An integrated hit map with all chips involved is automatically provided when you run the datataking.py script. The analysis script is located in&lt;br /&gt;
&amp;#039;&amp;#039;production_tests/plot/&amp;#039;&amp;#039;. A plot with the results from the test is provided and stored in &amp;#039;&amp;#039;production_tests/results/plots/&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
A masking pattern can be provided by running the masking.py script located in &amp;#039;&amp;#039;production_tests/plot/&amp;#039;&amp;#039; you can provide a masking pattern for further data taking by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ python3 masking.py ../results/datafile.root number_of_triggers_issued desired_masking_level(%) chip_id&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output of the analysis script is located in &amp;#039;&amp;#039;production_tests/config/masking.txt&amp;#039;&amp;#039; and contains a list of chip id, x and y coordinates of the noisy pixels. &lt;br /&gt;
&lt;br /&gt;
The config file for the test is located in &amp;#039;&amp;#039;production_tests/config/&amp;#039;&amp;#039;. 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.&lt;/div&gt;</summary>
		<author><name>Vei046</name></author>
	</entry>
</feed>