File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Configuration/Applications/python Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1062,8 +1062,10 @@ def define_Configs(self):
10621062 self .EVTCONTDefaultCFF = "Configuration/EventContent/EventContent_cff"
10631063
10641064 if not self ._options .beamspot :
1065- if 'SIM' in self .stepMap or 'GEN' in self .stepMap :
1066- raise Exception ("Missing \' --beamspot\' option in the GEN-SIM step of the cmsDriver command!" )
1065+ # GEN step always requires to have a VtxSmearing scenario (--beamspot) defined
1066+ # ...unless it's a special gen-only request (GEN:pgen_genonly)
1067+ if 'GEN' in self .stepMap and not 'pgen_genonly' in self .stepMap ['GEN' ]:
1068+ raise Exception ("Missing \' --beamspot\' option in the GEN step of the cmsDriver command!" )
10671069 else :
10681070 self ._options .beamspot = VtxSmearedDefaultKey
10691071
You can’t perform that action at this time.
0 commit comments