Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:26

0001 #!/bin/tcsh
0002 
0003 # usage: ./runMe.sh <HLT Key Name>
0004 
0005 cmsenv
0006 rehash
0007 
0008 echo "HLT Key: " $1
0009 
0010 # remove old temporary files if any
0011 touch   ../python/tmpPrescaleService.py
0012 /bin/rm ../python/tmpPrescaleService.py*
0013 
0014 # extract PrescaleService using provided HLT Key
0015 edmConfigFromDB --nopsets --noes --nopaths --cff --services PrescaleService --configName $1 > ../python/tmpPrescaleService.py
0016 
0017 touch   put.py  get.py
0018 /bin/rm put.py* get.py*
0019 edmConfigDump ./putHLTPrescaleTable.py > put.py
0020 edmConfigDump ./getHLTPrescaleTable.py > get.py
0021 /bin/rm ../python/tmpPrescaleService.py*
0022 
0023 echo
0024 echo "cmsRun to put it into the DB"
0025 cmsRun put.py
0026 
0027 echo
0028 echo "Dump content of DB"
0029 foreach tag (`cmscond_list_iov -c sqlite_file:HLTPrescaleTable.db -a`)
0030     echo $tag
0031     cmscond_list_iov -c sqlite_file:HLTPrescaleTable.db -t $tag
0032 end
0033 
0034 echo
0035 echo "cmsRun to get it from the DB"
0036 cmsRun get.py