Index: trunk/DataCheck/QuickLook/ReDoStar.sh
===================================================================
--- trunk/DataCheck/QuickLook/ReDoStar.sh	(revision 15386)
+++ trunk/DataCheck/QuickLook/ReDoStar.sh	(revision 15387)
@@ -4,6 +4,6 @@
 printprocesslog "INFO starting $0"
 
-root=/opt/root_svn/bin/thisroot.sh
-source $root
+#root=/opt/root_svn/bin/thisroot.sh
+#source $root
 
 anapath=/loc_data/analysis
@@ -12,5 +12,6 @@
 printprocesslog "INFO get list of calibrated files"
 
-calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` )
+#calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` )
+calfiles=( `find $anapath/callisto -type f -name '*_C.root' 2>/dev/null | sort` )
 if [ ${#calfiles[@]} -eq 0 ]
 then
@@ -18,5 +19,6 @@
    finish
 fi
-starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` )
+#starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` )
+starfiles=( `find $anapath/star -type f -name '*_I.root' 2>/dev/null | sort` )
 if [ ${#starfiles[@]} -eq 0 ]
 then
@@ -25,4 +27,6 @@
 fi
 
+echo ${#calfiles[@]}" "${#starfiles[@]}
+printprocesslog "INFO #cal-files:"${#calfiles[@]}" #star-files:"${#starfiles[@]}
 
 if [ ${#starfiles[@]} -lt ${#calfiles[@]} ] 
@@ -33,9 +37,12 @@
       if ! ls $starfile >/dev/null 2>&1
       then
+         echo $starfile
          echo $starfile" is missing -> reprocess. "
-         source=`echo $starfile | cut -d/ -f4`
-         seqfile="/loc_data/analysis/sequences/"`echo $starfile | cut -d/ -f6-8`"/"`echo $starfile | cut -d/ -f9 | cut -dI -f1 | sed -e 's/_//2'`".seq"
-         #echo $source" "$seqfile
-         `dirname $0`/RunStar.sh $source $seqfile 
+         #source=`echo $starfile | cut -d/ -f4`
+         seqfile=`echo $starfile | sed -e 's/star/sequences/' -e 's/_I.root/.seq/'`
+         echo $seqfile
+         ##echo $source" "$seqfile
+         #`dirname $0`/RunStar.sh $source $seqfile 
+         `dirname $0`/RunStar.sh $seqfile 
          if ! ls $starfile >/dev/null 2>&1
          then 
@@ -49,4 +56,2 @@
 
 
-
-
