Ignore:
Timestamp:
04/20/13 20:58:39 (12 years ago)
Author:
Daniela Dorner
Message:
removed source key
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/FillNumEvts.sh

    r15391 r15393  
    1212#        `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \
    1313        )
    14 #dates=( `find -L $ziprawdata -mindepth 3 -type d | sort -r | sed "s/\${ziprawdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw
     14#dates=( `find -L $auxdata -mindepth 3 -type d | sort -r | grep -v bad | sed "s/\${auxdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw
    1515
    16 #dates=( "2013/04/13" )
     16#dates=( "2013/04/17" )
    1717
    1818printprocesslog "INFO processing the following night(s): "${dates[@]}
     
    3030for date in ${dates[@]}
    3131do
    32    date2=`echo $date | sed -e 's/\///g'`
    3332   runnumber=`echo $date | sed -e 's/\///g'`
    34    inpath=$anapath"/"$source
    3533   
    36    query="SELECT fSourceKEY FROM RunInfo WHERE fNight="$date2" AND fSourceKey > 0 AND fRunTypeKEY=1 GROUP BY fSourceKey "
    37    sources=( `sendquery` )
    38    for source in ${sources[@]}
    39    do
    40       echo "processing "$source
    41      
    42       inpath=$anapath/$source
    43       echo "run numevts.C for night "$runnumber" (run-wise processing) "
    44       root -q -b -l $mars2/fact/processing/numevents.C\("\"$runnumber"\"\,"\"$inpath"\"\,"\"$resulttable1"\"\,kFALSE\,kFALSE\)
     34   # data which are not processed in LP
     35   if [ $runnumber -lt 20121212 ]
     36   then
     37      continue
     38   fi
     39   
     40   echo "run numevts.C for night "$runnumber" (run-wise processing) "
     41   printprocesslog "run numevts.C for night "$runnumber" (run-wise processing) "
     42   printprocesslog "root -q -b -l $mars2/fact/processing/numevents.C\("\"$runnumber"\"\,"\"$anapath"\"\,"\"$resulttable1"\"\,kFALSE\,kFALSE\)"
     43   root -q -b -l $mars2/fact/processing/numevents.C\("\"$runnumber"\"\,"\"$anapath"\"\,"\"$resulttable1"\"\,kFALSE\,kFALSE\)
    4544
    46       #echo "run numevts.C for night "$runnumber" (night-wise processing) "
    47       #root -q -b -l fact/processing/numevts.C\("\"$runnumber"\"\,"\"$inpath"\"\,"\"$resulttable2"\"\,kFALSE\,kTRUE\)
    48    done
     45   #echo "run numevts.C for night "$runnumber" (night-wise processing) "
     46   #root -q -b -l fact/processing/numevts.C\("\"$runnumber"\"\,"\"$inpath"\"\,"\"$resulttable2"\"\,kFALSE\,kTRUE\)
    4947
    5048done
Note: See TracChangeset for help on using the changeset viewer.