Ignore:
Timestamp:
02/14/06 13:58:38 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/getdolist.C

    r7482 r7501  
    155155    //this part of the query is needed, if there are more than 512 results and single
    156156    //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"))
    159160        query+="LIMIT 0, 500";
    160161
  • 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
  • trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles

    r7479 r7501  
    5656   fi
    5757
    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
    6364done
    6465
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7486 r7501  
    4646sequpath=/magic/sequences
    4747datasetpath=/magic/datasets
     48
     49datetime=`date +%F-%H-%M-%S`
    4850
    4951check="ok"
Note: See TracChangeset for help on using the changeset viewer.