Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-04-04 08:10:23

0001 #!/bin/bash
0002 
0003 nmax=150000
0004 filecounter=0
0005 echo `pwd`
0006 LISTDIR=lists
0007 for rn in `cat listrunnumber.txt`; do #`ls  ${LISTDIR}/dst_calofitting_run2pp*.list | awk -F'.' '{print $1}' | awk -F'/' '{print $2}' | awk -F'-' '{print $2}'`; do #`cat fullgoodrunlist.list`; do
0008     rn=$(expr $rn + 0)
0009     nfile=`wc -l ${LISTDIR}/dst_calofitting-000${rn}.list | awk '{print $1}'`
0010     njob=$(( $nfile + 19 ))
0011     njob=$(( $njob / 20 ))
0012     filecounter=$(( $filecounter + $njob ))
0013     bash run_everything.sh $njob $rn $nfile `pwd`
0014     echo $rn $filecounter
0015 
0016     if [ $filecounter -gt $nmax ]; then
0017         break
0018     fi
0019     
0020 done
0021 
0022