Project

General

Profile

Data replay » History » Version 18

Sylvester Joosten, 07/31/2020 10:03 AM

1 17 Sylvester Joosten
h1. Data replay for the Summer 2020 run
2 1 Mark Jones
3 17 Sylvester Joosten
Data replay should happen on cdaql1, to not interfere with the DAQ machine.
4 1 Mark Jones
5 17 Sylvester Joosten
# Ensure that the datafile is copied over to /cache/halla/solid/subsystem/lgc/testrun2020
6
# Then on cdaq do the following
7
8 1 Mark Jones
<pre>
9 17 Sylvester Joosten
go_analysis solid
10
./bin/esb_analyze cache/<raw_data.evio> <output.root>
11 1 Mark Jones
</pre>
12
13 18 Sylvester Joosten
Note: the analyzer works on both MODE1 and MODE3 runs. For MODE1 it will extract timing and pulse amplitude, while for MODE3 it will extract timing and pulse integral.
14
15 17 Sylvester Joosten
h1. Data monitoring for the Summer 2020 run
16 1 Mark Jones
17 17 Sylvester Joosten
* To view the online display, go to http://conline.jlab.org/online/solid
18 1 Mark Jones
* The first two tabs are the live display for coming from the current run
19 18 Sylvester Joosten
* The first tab shows the amplitude and timing for MODE 1 runs, and the integral (divided by 1000) and timing for MODE 3 runs
20 17 Sylvester Joosten
* The second tab shows a scope trace for all detectors for MODE 1 runs every second, and is empty for MODE 3 runs
21 1 Mark Jones
22 17 Sylvester Joosten
There is also an offline viewer utility, that can be used to get similar plots for previous runs. These plots can be accessed in the last two tabs. In order to populate these plots, you have to "feed" events into a dummy ET. 
23 1 Mark Jones
24
<pre>
25 17 Sylvester Joosten
go_analysis solid
26
./bin/offline_monitor cache/<raw_data.evio>
27 11 Chao Peng
</pre>
28 14 Chao Peng
29 17 Sylvester Joosten
Note that this will slowly feed events into the dummy ET. If you are done monitoring, or want to monitor a different run please Ctrl+C to exit. Please do not run multiple instances of the offline_monitor simultaneously, as there is no failsafe in place (yet).
30 14 Chao Peng
31 17 Sylvester Joosten
h1. Data replay on clrlpc
32
33
# Login to clrlpc (a-compton@clrlpc)
34
# Type the following commands
35
36 14 Chao Peng
<pre>
37 17 Sylvester Joosten
cd ~/fadc_decoder
38
source env/set_env.csh
39
./bin/esb_analyze <raw_data.evio> <output.root>
40 7 Chao Peng
</pre>
41 1 Mark Jones
42 17 Sylvester Joosten
Note that:
43
* The map file is at config/esb_module.conf
44
* It works for both mode 1 and mode 3 raw data