Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #!/usr/bin/bash
0002 
0003 if [ $# -eq 0 ]
0004 then
0005   echo "No runnumber supplied"
0006   exit 0
0007 fi
0008 
0009 runnumber=$(printf "%08d" $1)
0010 
0011 for i in {0..23}
0012 do
0013 ebdc=$(printf "%02d" $i)
0014 ls -1 /sphenix/lustre01/sphnxpro/commissioning/tpc/beam/TPC_ebdc${ebdc}_beam-${runnumber}-* > tpc${ebdc}.list
0015 if [ ! -s tpc${ebdc}.list ]
0016 then
0017   echo tpc${ebdc}.list empty, removing it
0018   rm  tpc${ebdc}.list
0019 fi
0020 done