File indexing completed on 2025-08-03 08:20:29
0001
0002
0003 if [ $
0004 then
0005 echo "No runnumber supplied"
0006 exit 0
0007 fi
0008
0009 if [ $
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 for i in {0..23}
0019 do
0020 for j in {0..1}
0021 do
0022 ebdc=$(printf "%02d_%01d" $i $j)
0023 /bin/ls -1 /sphenix/lustre01/sphnxpro/physics/tpc/${type}/TPC_ebdc${ebdc}*-${runnumber}-* > tpc${ebdc}.list
0024 if [ ! -s tpc${ebdc}.list ]
0025 then
0026 echo tpc${ebdc}.list empty, removing it
0027 rm tpc${ebdc}.list
0028 fi
0029 done
0030 done