Changeset 17900 for trunk/DataCheck


Ignore:
Timestamp:
05/27/14 22:08:04 (10 years ago)
Author:
Daniela Dorner
Message:
removed not needed lines
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/QuickLook/ReDoStar.sh

    r15387 r17900  
    1212printprocesslog "INFO get list of calibrated files"
    1313
     14date="2014/05/24"
    1415#calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` )
    15 calfiles=( `find $anapath/callisto -type f -name '*_C.root' 2>/dev/null | sort` )
     16calfiles=( `find $anapath/callisto/$date -type f -name '*_C.root' 2>/dev/null | sort` )
    1617if [ ${#calfiles[@]} -eq 0 ]
    1718then
     
    2021fi
    2122#starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` )
    22 starfiles=( `find $anapath/star -type f -name '*_I.root' 2>/dev/null | sort` )
     23starfiles=( `find $anapath/star/$date -type f -name '*_I.root' 2>/dev/null | sort` )
    2324if [ ${#starfiles[@]} -eq 0 ]
    2425then
    2526   printprocesslog "INFO no star files available "
    26    finish
     27#   finish
    2728fi
    2829
     
    3536   do
    3637      starfile=`echo $calfile | sed -e 's/callisto/star/' -e 's/_C/_I/'`
     38      logfile=`echo $starfile | sed -e 's/_I.root/-images.log/'`
    3739      if ! ls $starfile >/dev/null 2>&1
    3840      then
    39          echo $starfile
    4041         echo $starfile" is missing -> reprocess. "
    41          #source=`echo $starfile | cut -d/ -f4`
    42          seqfile=`echo $starfile | sed -e 's/star/sequences/' -e 's/_I.root/.seq/'`
    43          echo $seqfile
    44          ##echo $source" "$seqfile
    45          #`dirname $0`/RunStar.sh $source $seqfile
    46          `dirname $0`/RunStar.sh $seqfile
     42         outpath=`dirname $starfile`
     43         makedir $outpath
     44         `dirname $0`/RunStar.sh $logfile $calfile $outpath $starfile &
    4745         if ! ls $starfile >/dev/null 2>&1
    4846         then
Note: See TracChangeset for help on using the changeset viewer.