list_evd_runs.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 echo ""
4 echo ""
5 echo "Available runs with event display data:"
6 echo ""
7 
8 
9 
10 export FileSearch='/dune/data2/users/lbnedaq/nearline_evd/*/*/*/sliced_pedestal.root'
11 
12 
13 
14 # Find the available runs
15 for file in $( find ${FileSearch} -mmin +1 | sort)
16 do {
17  run=${file:53:6}
18  echo $run
19  } done
20 
21 
22 
23 echo ""
24 echo ""
25 echo "NOTE: There are 3 types of event display files. This list means that at least one event display file (i.e. - root file) exists for these runs. It is possible that for a given run, not all 3 types of event display file exist (although that would be odd...)"
26 echo ""
27 echo ""