File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Configuration/Applications/python Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -821,6 +821,8 @@ def addStandardSequences(self):
821821 try :
822822 if len (self .stepMap ):
823823 self .loadAndRemember (self .GeometryCFF )
824+ if (self .GeometryCFF == 'Configuration/StandardSequences/GeometryRecoDB_cff' and not self .geometryDBLabel ):
825+ print ("Warning: The default GeometryRecoDB_cff is being used; however, the DB geometry is not applied. You may need to verify your cmsDriver." )
824826 if ('SIM' in self .stepMap or 'reSIM' in self .stepMap ) and not self ._options .fast :
825827 self .loadAndRemember (self .SimGeometryCFF )
826828 if self .geometryDBLabel :
@@ -1159,7 +1161,10 @@ def inGeometryKeys(opt):
11591161 if opt in GeometryConf :
11601162 return GeometryConf [opt ]
11611163 else :
1162- return opt
1164+ if (opt == 'SimDB' or opt .startswith ('DB:' )):
1165+ return opt
1166+ else :
1167+ raise Exception ("Geometry " + opt + " does not exist!" )
11631168
11641169 geoms = self ._options .geometry .split (',' )
11651170 if len (geoms )== 1 : geoms = inGeometryKeys (geoms [0 ]).split (',' )
You can’t perform that action at this time.
0 commit comments