Changeset 19399
- Timestamp:
- 11/15/18 13:24:06 (6 years ago)
- Location:
- trunk/DataCheck/Processing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CalcSource.sh
r19197 r19399 65 65 then 66 66 printprocesslog "INFO "$numchanged" rows were changed in DB => "$night"_"$runid" is already processed => continue." 67 echo "continue"68 67 continue 69 68 fi 70 69 70 # get file-id 71 71 query="SELECT FileID FROM CalcSourceStatus WHERE fNight="$night" AND fRunID="$runid 72 72 fileid=`sendquery` 73 echo "INFO calculating source position for "$fileid73 #echo "INFO calculating source position for "$fileid 74 74 printprocesslog "INFO calculating source position for "$fileid 75 75 echo "INFO filling star events for "$fileid >> $logfile -
trunk/DataCheck/Processing/FillEvents.sh
r19196 r19399 66 66 then 67 67 printprocesslog "INFO "$numchanged" rows were changed in DB => "$night"_"$runid" is already processed => continue." 68 echo "continue"69 68 continue 70 69 fi 71 72 70 73 echo "INFO filling star events for "$night"_"$runid 71 # get file id and star-file name 72 #echo "INFO filling star events for "$night"_"$runid 74 73 printprocesslog "INFO filling star events for "$night"_"$runid 75 74 echo "INFO filling star events for "$night"_"$runid >> $logfile 76 75 night2=`echo $night | cut -c 1-4`/`echo $night | cut -c 5-6`/`echo $night | cut -c 7-8` 77 76 starfile=$datapath/star/$night2/$night"_"`printf %03d $runid`"_I.root" 77 78 # some runs have problems, e.g. double event numbers 79 # these have an ignore-errors flag set in the DB 80 ignoreoption="" 81 query="SELECT fIgnoreErrors FROM StarEventsFilledStatus WHERE fNight="$night" AND fRunID="$runid 82 ignore=`sendquery` 83 if [ $ignore -eq 1 ] 84 then 85 ignoreoption="--ignore-errors" 86 fi 78 87 79 88 # fill star files to DB 80 89 printprocesslog "INFO /swdev_nfs/FACT++.r19188-bin/root2sql -C $starrc $starfile" 81 /swdev_nfs/FACT++.r19188-bin/root2sql -C $starrc $ starfile >> $logfile 2>&190 /swdev_nfs/FACT++.r19188-bin/root2sql -C $starrc $ignoreoption $starfile >> $logfile 2>&1 82 91 check1=$? 83 92 case $check1 in
Note:
See TracChangeset
for help on using the changeset viewer.