Ignore:
Timestamp:
01/10/06 22:12:58 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7407 r7460  
    2020#   Author(s): Daniela Dorner  08/2005 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2004
     22#   Copyright: MAGIC Software Development, 2000-2006
    2323#
    2424#
    2525# ========================================================================
    2626#
     27# This script produces the qualityplots in the web by executing the macro
     28# plotdb.C
     29#
     30# After checking, if the script is already running, the plots are produced
     31# (ps and root file). Then they are moved to the webdirectory and there png
     32# files are produced from the ps file.
    2733#
    2834
     
    4349date >> $scriptlog 2>&1
    4450
     51# check if script is already running
    4552lockfile=$lockpath/lock-doqualityplots.txt
    4653date > $lockfile >> $scriptlog 2>&1
     
    5562esac
    5663
    57 
     64# producing the plots with the values from the database
    5865echo "producing plots: " >> $scriptlog 2>&1
    5966check0=`root -q -b $macrospath/plotdb.C+\(\) | tee -a $scriptlog | grep int | sed -e 's/.*(int)//'`
     
    6673esac
    6774
    68 
     75# making files available in the web
    6976webpath=/www/htdocs/datacenter/datacheck
    7077name=plotdb
     
    7481mv -v $name.{root,ps} $webpath  >> $scriptlog 2>&1
    7582
    76 echo "moving files: " >> $scriptlog 2>&1
     83echo "producing png files: " >> $scriptlog 2>&1
    7784pstoimg -antialias -flip r270 -density 100 -type png -multipage $psfile >> $scriptlog 2>&1
    7885
Note: See TracChangeset for help on using the changeset viewer.