Changeset 18268
- Timestamp:
- 07/16/15 15:07:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/RunCallisto.sh
r18153 r18268 23 23 done 24 24 25 # get all needed paths and files 26 delays="resources/delays-20150217.txt" 27 drstimefiles=`ls $drstimepath | sort` 28 for drstimefile in $drstimefiles 29 do 30 num=`echo $drstimefile | cut -c 1-8` 31 if [ $num -gt $night ] 32 then 33 break 34 fi 35 drstime=$drstimepath/$drstimefile 36 done 37 25 38 case $1 in 26 39 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` 29 42 ;; 30 43 prun) # process pedestal run 31 44 # 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` 34 48 ;; 35 49 crun) # process light-pulser run 36 50 # 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` 39 54 ;; 40 time) # do drs- calib55 time) # do drs-time-calib 41 56 printprocesslog "DEBUG fact/analysis/callisto_drstime.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile " 42 57 check1=`root -q -b fact/analysis/callisto_drstime.C\("\"$3\""\,"\"$4\"","\"$5\""\) | tee $logfile | intgrep` … … 51 66 if [ "$1" == "drun" ] 52 67 then 53 printprocesslog "INFO start RunStar.sh for file "$ 754 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/'` 55 70 starlog=`echo $starfile | sed -e 's/_I.root/-images.log/'` 56 71 outpath=`dirname $starfile` 57 72 makedir $outpath 58 `dirname $0`/RunStar.sh $starlog $ 7$outpath $starfile73 `dirname $0`/RunStar.sh $starlog $6 $outpath $starfile 59 74 fi 60 75 ;;
Note:
See TracChangeset
for help on using the changeset viewer.