Index: trunk/DataCheck/Processing/RunCallisto.sh
===================================================================
--- trunk/DataCheck/Processing/RunCallisto.sh	(revision 18249)
+++ trunk/DataCheck/Processing/RunCallisto.sh	(revision 18250)
@@ -28,4 +28,16 @@
 
 # get all needed paths and files
+delays="resources/delays-20150217.txt"
+drstimefiles=`ls $drstimepath | sort`
+for drstimefile in $drstimefiles
+do 
+   num=`echo $drstimefile | cut -c 1-8`
+   if [ $num -gt $night ]
+   then
+      break
+   fi
+   drstime=$drstimepath/$drstimefile
+done
+   
 seqfile=$seqpath"/"$nightpath"/"$seqnum".seq"
 outpath=$datapath"/callisto/"$nightpath
@@ -39,5 +51,6 @@
 setstatus "start" 
 
-check1=`root -q -b fact/analysis/callisto.C\("\"$seqfile\""\,"\"$outpath\""\) | tee $logfile | intgrep`
+printprocesslog "DEBUG root -q -b fact/analysis/callisto.C\("\"$seqfile\""\,"\"$outpath\""\,\""$drstime"\"\,\""$delays"\"\) | tee $logfile "
+check1=`root -q -b fact/analysis/callisto.C\("\"$seqfile\""\,"\"$outpath\""\,\""$drstime"\"\,\""$delays"\"\) | tee $logfile | intgrep`
 
 case $check1 in
