DAQ how to » History » Version 3
Alexandre Camsonne, 01/14/2021 11:51 PM
1 | 1 | Alexandre Camsonne | h1. DAQ how to |
---|---|---|---|
2 | |||
3 | on clrlpc, a-compton account |
||
4 | |||
5 | to start coda ( need to be in tcsh ) |
||
6 | |||
7 | tcsh |
||
8 | startcoda |
||
9 | |||
10 | several windows will open |
||
11 | |||
12 | click in Control in rcgui pull down connect |
||
13 | |||
14 | select Configuration if not on desired configuration |
||
15 | |||
16 | |||
17 | Hit config , download, prestart and go to start a run |
||
18 | |||
19 | Intelvmeha8 FADC only ( most stable ) |
||
20 | FADCTDCDSC : FADC + F1 TDC + readout of discriminator scalers - need to reset and download at each run for now - still need to check |
||
21 | |||
22 | In case ROC or PEB crash, do Ctrl-C in their window and do reset and rcgui and restart a run |
||
23 | 2 | Alexandre Camsonne | |
24 | |||
25 | |||
26 | To look at data : |
||
27 | |||
28 | on clrlpc : |
||
29 | |||
30 | type tcsh |
||
31 | cd companaEcal |
||
32 | ./compana |
||
33 | |||
34 | type run number |
||
35 | |||
36 | type a |
||
37 | |||
38 | type 1 for all events |
||
39 | |||
40 | Open root file in Rootfiles directory |
||
41 | |||
42 | 3 | Alexandre Camsonne | root Rootfiles/vtpCerenkov_795.root |
43 | |||
44 | 2 | Alexandre Camsonne | One liner to display all waveforms : |
45 | 3 | Alexandre Camsonne | |
46 | T->Draw("fadc_slot7:Iteration$","") |
||
47 | |||
48 | Look at one fadc channel |
||
49 | |||
50 | T->Draw("fadc_slot7[3]:Iteration$","") |
||
51 | |||
52 | To display event by event : |
||
53 | i=0 |
||
54 | T->Draw("fadc_slot7:Iteration$","Iteration$>200&&Iteration$<600","L",1,i++) |
||
55 | |||
56 | if you go up in history and hit enter it will display next event |