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 if [ $# -eq 1 ]
0009 then
0010   echo "No type or runnumber supplied"
0011   exit 0
0012 fi
0013 
0014 type=$1
0015 runnumber=$(printf "%08d" $2)
0016 
0017 /bin/ls -1 /sphenix/lustre01/sphnxpro/physics/TPOT/${type}/TPOT_ebdc39_${type}-${runnumber}-* >tpot.list
0018 if [ ! -s tpot.list ]
0019 then
0020   echo tpot.list empty, removing it
0021   rm  tpot.list
0022 fi