Changeset 7501 for trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
- Timestamp:
- 02/14/06 13:58:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.