- Timestamp:
- 02/14/06 13:58:38 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7498 r7501 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/02/14 Daniela Dorner, Daniel Hoehne 21 22 * datacenter/scripts/sourcefile: 23 - fixed small bug 24 25 * datacenter/scripts/movingrawfiles: 26 - changed back to moving files without zipping 27 28 * datacenter/scripts/doqualityplots: 29 - added running of plotdb.C for each datasetfile 30 31 * datacenter/macros/getdolist.C: 32 - implemented limitation for number of todo files for 33 SequenceProcessStatus 34 35 36 20 37 2006/02/13 21 38 -
trunk/MagicSoft/Mars/datacenter/macros/getdolist.C
r7482 r7501 155 155 //this part of the query is needed, if there are more than 512 results and single 156 156 //todo files are written, as shell scripts have a limitation for arrays 157 // this is currently only the case, if runs are processed, i.e. for the table RunProcessStatus 158 if (table=="RunProcessStatus") 157 if ((table=="SequenceProcessStatus" && column=="fCallisto") || 158 (table=="SequenceProcessStatus" && column=="fStar") || 159 (table=="RunProcessStatus" && column=="fDataCheckDone")) 159 160 query+="LIMIT 0, 500"; 160 161 -
trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
r7486 r7501 76 76 pstoimg -antialias -flip r270 -density 100 -type png -multipage $psfile >> $scriptlog 2>&1 77 77 78 79 # second part 80 # making plots for all datasets 81 datasets=`find $datapath/ganymed -name ganymed*.root | grep -v summary` 82 83 for dataset in ${datasets[@]} 84 do 85 nr=`echo $dataset | cut -d/ -f6` 86 nr2=`echo $nr | cut -c 1-5` 87 outpath=`dirname $dataset` 88 webpath=`echo $outpath | sed -e 's/magic\/data/www\/htdocs\/datacenter/'` 89 plotlog=$outpath/plotdb$nr.log 90 datasetfile=$datasetpath/$nr2/dataset$nr.txt 91 makedir $outpath >> $scriptlog 2>&1 92 rm -v $plotlog >> $scriptlog 2>&1 93 check1=`root -q -b $macrospath/plotdb.C+\("\"$datasetfile\""\) 2>>$plotlog | tee -a $scriptlog | grep int | sed -e 's/.*(int)//'` 94 echo "check1: "$check1 >> $scriptlog 2>&1 95 newpsfile=$outpath/plotdb$nr.ps 96 newrootfile=$outpath/plotdb$nr.root 97 mv -v plotdb.ps $newpsfile >> $scriptlog 2>&1 98 mv -v plotdb.root $newrootfile >> $scriptlog 2>&1 99 cp -v $newrootfile $webpath >> $scriptlog 2>&1 100 check1= 101 done 102 78 103 rm -v $lockfile >> $scriptlog 2>&1 79 104 -
trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles
r7479 r7501 56 56 fi 57 57 58 if gzip -1c $rawfile > $newrawfile.gz 59 then 60 rm -v $newrawfile 61 rm -v $rawfile 62 fi 58 mv -v $rawfile $newrawfile 59 # if gzip -1c $rawfile > $newrawfile.gz 60 # then 61 # rm -v $newrawfile 62 # rm -v $rawfile 63 # fi 63 64 done 64 65 -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7486 r7501 46 46 sequpath=/magic/sequences 47 47 datasetpath=/magic/datasets 48 49 datetime=`date +%F-%H-%M-%S` 48 50 49 51 check="ok"
Note:
See TracChangeset
for help on using the changeset viewer.