File indexing completed on 2025-08-03 08:20:29
0001
0002
0003
0004
0005
0006 if [ $
0007 then
0008 echo "Creates needed lists of input files for the MVTX for a given run"
0009 echo "Usage: mvtx_makelist.sh <type> <run number>"
0010 exit 1
0011 fi
0012
0013 if [ $
0014 then
0015 echo "No type or runnumber supplied"
0016 exit 0
0017 fi
0018
0019 type=$1
0020 runnumber=$(printf "%08d" $2)
0021
0022 for i in {0..5}
0023 do
0024 ls -1 /sphenix/lustre01/sphnxpro/physics/MVTX/${type}/${type}_mvtx${i}-${runnumber}-* > mvtx${i}.list
0025 if [ ! -s mvtx${i}.list ]
0026 then
0027 echo mvtx${i}.list empty, removing it
0028 rm mvtx${i}.list
0029 fi
0030
0031 done