Ignore:
Timestamp:
02/14/06 13:58:38 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots

    r7486 r7501  
    7676pstoimg -antialias -flip r270 -density 100 -type png -multipage $psfile >> $scriptlog 2>&1
    7777
     78
     79# second part
     80# making plots for all datasets
     81datasets=`find $datapath/ganymed -name ganymed*.root | grep -v summary`
     82
     83for dataset in ${datasets[@]}
     84do
     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=
     101done
     102
    78103rm -v $lockfile >> $scriptlog 2>&1
    79104
Note: See TracChangeset for help on using the changeset viewer.