Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:21

0001 #!/usr/bin/bash
0002 
0003 if [ $# -eq 0 ]
0004 then
0005   echo "No type and runnumber supplied"
0006   exit 0
0007 fi
0008 
0009 if [ $# -eq 1 ]
0010 then
0011   echo "No type or runnumber supplied"
0012   exit 0
0013 fi
0014 
0015 type=$1
0016 runnumber=$(printf "%08d" $2)
0017 
0018 /bin/ls -1 /sphenix/lustre01/sphnxpro/physics/GL1/${type}/GL1_*-${runnumber}-* >gl1daq.list
0019 if [ ! -s gl1daq.list ]
0020 then
0021   echo gl1daq.list empty, removing it
0022   rm  gl1daq.list
0023 fi