Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:17:08

0001 #! /bin/bash
0002 
0003 # load common HLT functions
0004 if [ -f "$CMSSW_BASE/src/HLTrigger/Configuration/common/utils.sh" ]; then
0005   source "$CMSSW_BASE/src/HLTrigger/Configuration/common/utils.sh"
0006 elif [ -f "$CMSSW_RELEASE_BASE/src/HLTrigger/Configuration/common/utils.sh" ]; then
0007   source "$CMSSW_RELEASE_BASE/src/HLTrigger/Configuration/common/utils.sh"
0008 else
0009   exit 1
0010 fi
0011 
0012 HLT='/online/collisions/2012/8e33/v2.2/HLT'
0013 L1T='L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc'
0014 #L1T='L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc,sqlite_file:/afs/cern.ch/user/g/ghete/public/L1Menu/L1Menu_Collisions2012_v3/sqlFile/L1Menu_Collisions2012_v3_mc.db'
0015 
0016 # tests
0017 hltGetConfiguration $HLT --process TEST                                    --full --data --unprescale --l1 $L1T --l1-emulator > online_data.py
0018 hltGetConfiguration $HLT --process TEST                                    --full --data --unprescale --l1 $L1T --l1-emulator > offline_data.py
0019 hltGetConfiguration $HLT --process TEST    --globaltag auto:startup_GRun   --full --mc   --unprescale --l1 $L1T --l1-emulator > offline_mc.py
0020 
0021 # standard 'cff' dumps - in CVS
0022 hltGetConfiguration $HLT                                                   --cff  --data                                      > ../python/HLT_GRun_data_cff.py
0023 hltGetConfiguration $HLT                                                   --cff  --mc                                        > ../python/HLT_GRun_cff.py
0024 diff -C0 ../python/HLT_GRun_data_cff.py ../python/HLT_GRun_cff.py
0025 
0026 # standard 'cfg' dumps - in CVS
0027 hltGetConfiguration $HLT --process HLTGRun --globaltag auto:hltonline_GRun --full --data --unprescale --l1 $L1T               > OnData_HLT_GRun.py
0028 hltGetConfiguration $HLT --process HLTGRun --globaltag auto:startup_GRun   --full --mc   --unprescale --l1 $L1T               > OnLine_HLT_GRun.py
0029 
0030 # dump streams, datasets and paths
0031 read Vx DB TABLE <<< $(parse_HLT_menu "$HLT")
0032 hltConfigFromDB --$Vx --$DB --configName $TABLE | hltDumpStream > streams.txt