Ignore:
Timestamp:
05/13/13 12:43:09 (12 years ago)
Author:
mknoetig
Message:
add: fTriggerRateTimeOver125 to FillEffectiveOn.sh
File:
1 edited

Legend:

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

    r15331 r15602  
    159159            query=$query", fOnTime="${effectiveon[2]}
    160160         fi
     161         if [ "${effectiveon[3]}" == "" ]
     162         then
     163            query=$query", fTriggerRateTimeOver125=NULL"
     164         else
     165            query=$query", fTriggerRateTimeOver125="${effectiveon[3]}
     166         fi
    161167      else
    162168         query=$query" fEffectiveOn=NULL"
    163169         query=$query", fEffectiveOnRms=NULL"
    164170         query=$query", fOnTime=NULL"
     171         query=$query", fTriggerRateTimeOver125=NULL"
    165172      fi
    166173     
    167174      # add where condition
    168175      query=$query" WHERE fNight="$runnumber" AND fRunID="$filenum
    169      
     176
    170177      #echo $query
    171       #echo "EffectiveOn:${effectiveon[0]} # RMSEffectiveOn:${effectiveon[1]} # SumOnTime:${effectiveon[2]}"
     178      #echo "EffectiveOn:${effectiveon[0]} # RMSEffectiveOn:${effectiveon[1]} # SumOnTime:${effectiveon[2]} # TriggerTimeOver125:${effectiveon[3]}"
    172179      #send query to DB
    173180      sendquery >/dev/null
Note: See TracChangeset for help on using the changeset viewer.