Changeset 18268 for trunk


Ignore:
Timestamp:
07/16/15 15:07:07 (9 years ago)
Author:
Daniela Dorner
Message:
implemented usage of delays-file and general drs-time-file
File:
1 edited

Legend:

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

    r18153 r18268  
    2323done
    2424
     25# get all needed paths and files
     26delays="resources/delays-20150217.txt"
     27drstimefiles=`ls $drstimepath | sort`
     28for drstimefile in $drstimefiles
     29do
     30   num=`echo $drstimefile | cut -c 1-8`
     31   if [ $num -gt $night ]
     32   then
     33      break
     34   fi
     35   drstime=$drstimepath/$drstimefile
     36done
     37   
    2538case $1 in
    2639   drun) # process data run
    27          printprocesslog "DEBUG fact/analysis/callisto_data.C\("\"$3\""\,"\"$4\""\,"\"$5\""\,"\"\""\,"\"$6\""\) | tee $logfile "
    28          check1=`root -q -b fact/analysis/callisto_data.C\("\"$3\""\,"\"$4\""\,"\"$5\""\,"\"\""\,"\"$6\""\) | tee $logfile | intgrep`
     40         printprocesslog "DEBUG fact/analysis/callisto_data.C\("\"$3\""\,"\"$4\""\,"\"$drstime\""\,"\"$delays\""\,"\"$5\""\) | tee $logfile "
     41         check1=`root -q -b fact/analysis/callisto_data.C\("\"$3\""\,"\"$4\""\,"\"$drstime\""\,"\"$delays\""\,"\"$5\""\) | tee $logfile | intgrep`
    2942         ;;
    3043   prun) # process pedestal run
    3144         # currently not done (s Step1.sh)
    32          printprocesslog "DEBUG fact/analysis/callisto_pedestal.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile "
    33          check1=`root -q -b fact/analysis/callisto_pedestal.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile | intgrep`
     45         echo "processing pedetal runs currently not implemented"
     46         # printprocesslog "DEBUG fact/analysis/callisto_pedestal.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile "
     47         #check1=`root -q -b fact/analysis/callisto_pedestal.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile | intgrep`
    3448         ;;
    3549   crun) # process light-pulser run
    3650         # currently not done (s Step1.sh)
    37          printprocesslog "DEBUG fact/analysis/callisto_lightpulser.C\("\"$3\""\,"\"$4\""\,"\"$5\""\,"\"$6\""\) | tee $logfile "
    38          check1=`root -q -b fact/analysis/callisto_lightpulser.C\("\"$3\""\,"\"$4\""\,"\"$5\""\,"\"$6\""\) | tee $logfile | intgrep`
     51         echo "processing light-pulser runs currently not implemented"
     52         #printprocesslog "DEBUG fact/analysis/callisto_lightpulser.C\("\"$3\""\,"\"$4\""\,"\"$5\""\,"\"$5\""\) | tee $logfile "
     53         #check1=`root -q -b fact/analysis/callisto_lightpulser.C\("\"$3\""\,"\"$4\""\,"\"$5\""\,"\"$5\""\) | tee $logfile | intgrep`
    3954         ;;
    40    time) # do drs-calib
     55   time) # do drs-time-calib
    4156         printprocesslog "DEBUG fact/analysis/callisto_drstime.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile "
    4257         check1=`root -q -b fact/analysis/callisto_drstime.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile | intgrep`
     
    5166        if [ "$1" == "drun" ]
    5267        then
    53            printprocesslog "INFO start RunStar.sh for file "$7
    54            starfile=`echo $7 | sed -e 's/callisto/star/g' -e 's/_C/_I/'`
     68           printprocesslog "INFO start RunStar.sh for file "$6
     69           starfile=`echo $6 | sed -e 's/callisto/star/g' -e 's/_C/_I/'`
    5570           starlog=`echo $starfile | sed -e 's/_I.root/-images.log/'`
    5671           outpath=`dirname $starfile`
    5772           makedir $outpath
    58            `dirname $0`/RunStar.sh $starlog $7 $outpath $starfile
     73           `dirname $0`/RunStar.sh $starlog $6 $outpath $starfile
    5974        fi
    6075        ;;
Note: See TracChangeset for help on using the changeset viewer.