Project

General

Profile

Data Files from NDOS » History » Version 5

Jan Zirnstein, 10/18/2012 09:46 AM

1 1 Martin Frank
h1. Data Files from NDOS
2 1 Martin Frank
3 4 Martin Frank
*CHECK WITH THE RUN COORDINATOR BEFORE DOING ANY OF THIS!*
4 4 Martin Frank
5 1 Martin Frank
This wiki entry describes how to collect data from NDOS and store it as a data file that can be used with our DDT framework.
6 2 Martin Frank
7 3 Martin Frank
First, you need to make sure that data is being collected.  Check the MicroSlice rate of the DCMs on "Ganglia":https://novadaq-ctrl-datamon.fnal.gov/ganglia/?r=2hr&cs=&ce=&m=MicroSlice%2520Rate_P0&s=by+name&P=0&c=DCM&h=&host_regex=&max_graphs=0&sh=1&z=small&hc=4&q= , it should be 20 kHz.
8 1 Martin Frank
9 3 Martin Frank
Once that is verified you can log into one of the NDOS buffer nodes:
10 3 Martin Frank
11 2 Martin Frank
<pre>
12 2 Martin Frank
ssh novadaq@novadaq-ctrl-farm-01.fnal.gov
13 2 Martin Frank
</pre>
14 2 Martin Frank
15 2 Martin Frank
NDOS has 16 buffer nodes (01 - 16).  Note that the @novaddt@ user does not have permissions on the buffer nodes.
16 2 Martin Frank
17 2 Martin Frank
Now you just need to set up the environment and run the job:
18 2 Martin Frank
19 1 Martin Frank
<pre>
20 2 Martin Frank
setup_novaddt
21 3 Martin Frank
ddt-filter -c ddt-writeFile.fcl
22 2 Martin Frank
</pre>
23 2 Martin Frank
24 3 Martin Frank
This will run on the data stream and dump the data into a file called @ddt.root@.
25 5 Jan Zirnstein
26 5 Jan Zirnstein
Files from live data should be stored in
27 5 Jan Zirnstein
28 5 Jan Zirnstein
<pre>
29 5 Jan Zirnstein
/nova/ana/trigger/data/
30 5 Jan Zirnstein
</pre>
31 5 Jan Zirnstein
32 5 Jan Zirnstein
with format
33 5 Jan Zirnstein
34 5 Jan Zirnstein
<pre>
35 5 Jan Zirnstein
DDTData-<det>-<size>-<date>-<run>.root
36 5 Jan Zirnstein
</pre>
37 5 Jan Zirnstein
38 5 Jan Zirnstein
where 
39 5 Jan Zirnstein
* <det> is one of NDOS, ND, or FD
40 5 Jan Zirnstein
* <size> is number of milislices (1000,10000,etc)
41 5 Jan Zirnstein
* <date> is of format yymmdd
42 5 Jan Zirnstein
* <run> is 1, 2, 3, 4, etc.