Index: trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots	(revision 7486)
+++ trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots	(revision 7501)
@@ -76,4 +76,29 @@
 pstoimg -antialias -flip r270 -density 100 -type png -multipage $psfile >> $scriptlog 2>&1
 
+
+# second part
+# making plots for all datasets
+datasets=`find $datapath/ganymed -name ganymed*.root | grep -v summary`
+
+for dataset in ${datasets[@]}
+do 
+   nr=`echo $dataset | cut -d/ -f6`
+   nr2=`echo $nr | cut -c 1-5`
+   outpath=`dirname $dataset`
+   webpath=`echo $outpath | sed -e 's/magic\/data/www\/htdocs\/datacenter/'`
+   plotlog=$outpath/plotdb$nr.log
+   datasetfile=$datasetpath/$nr2/dataset$nr.txt
+   makedir $outpath >> $scriptlog 2>&1
+   rm -v $plotlog >> $scriptlog 2>&1
+   check1=`root -q -b $macrospath/plotdb.C+\("\"$datasetfile\""\) 2>>$plotlog | tee -a $scriptlog | grep int | sed -e 's/.*(int)//'`
+   echo "check1: "$check1 >> $scriptlog 2>&1
+   newpsfile=$outpath/plotdb$nr.ps
+   newrootfile=$outpath/plotdb$nr.root
+   mv -v plotdb.ps $newpsfile >> $scriptlog 2>&1
+   mv -v plotdb.root $newrootfile >> $scriptlog 2>&1
+   cp -v $newrootfile $webpath >> $scriptlog 2>&1
+   check1=
+done
+
 rm -v $lockfile >> $scriptlog 2>&1 
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 7486)
+++ trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 7501)
@@ -56,9 +56,10 @@
    fi
 
-   if gzip -1c $rawfile > $newrawfile.gz
-   then 
-      rm -v $newrawfile
-      rm -v $rawfile
-   fi
+   mv -v $rawfile $newrawfile
+#   if gzip -1c $rawfile > $newrawfile.gz
+#   then 
+#      rm -v $newrawfile
+#      rm -v $rawfile
+#   fi
 done
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7486)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7501)
@@ -46,4 +46,6 @@
 sequpath=/magic/sequences
 datasetpath=/magic/datasets
+
+datetime=`date +%F-%H-%M-%S`
 
 check="ok"
