-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --setup option in hltGetConfiguration #17636
Add --setup option in hltGetConfiguration #17636
Conversation
please test |
A new Pull Request was created by @silviodonato (Silvio Donato) for CMSSW_9_0_X. It involves the following packages: HLTrigger/Configuration @perrotta, @cmsbuild, @silviodonato, @Martin-Grunewald, @fwyzard, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
The tests are being triggered in jenkins. |
Comparison job queued. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
+1 |
This PR adds the
--setup
option to hltGetConfiguration. It may be useful for the HLT developers.Example-1:
hltGetConfiguration --full --offline /users/sdonato/TriggerVBF2 --setup mysetup_cff.py > hlt.py
is equivalent to
hltGetConfiguration --full --offline /users/sdonato/TriggerVBF2 > hlt.py
and adding
process.load("mysetup_cff")
Example-2:
hltGetConfiguration --full --offline /users/sdonato/TriggerVBF2 --setup /dev/CMSSW_9_0_0/HLT > hlt.py
is equivalent to
hltGetConfiguration --full --offline /users/sdonato/TriggerVBF2 > hlt.py
hltConfigFromDB --cff --configName /dev/CMSSW_9_0_0/GRun --nopaths > setup_dev_CMSSW_9_0_0_HLT_cff.py
and adding
process.load("setup_dev_CMSSW_9_0_0_HLT_cff.py")
See: https://its.cern.ch/jira/browse/CMSHLT-54