Skip to content

Commit

Permalink
Merge pull request #13073 from lveldere/fastsim-cmsdriver-scenarios
Browse files Browse the repository at this point in the history
fastsim : exit cmsDriver when using option --fast with fastsim-incompatible scenarios
  • Loading branch information
davidlange6 committed Jan 27, 2016
2 parents 39db08d + cfd1fb4 commit 59a1d63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Configuration/Applications/python/cmsDriverOptions.py
Expand Up @@ -266,6 +266,9 @@ def OptionsFromItems(items):
else :
options.era="fastSim"

# options incompatible with fastsim
if options.fast and not options.scenario == "pp":
raise Exception("ERROR: the --option fast is only compatible with the default scenario (--scenario=pp)")

return options

0 comments on commit 59a1d63

Please sign in to comment.