File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Configuration/Applications/python Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -817,6 +817,8 @@ def addStandardSequences(self):
817817 try :
818818 if len (self .stepMap ):
819819 self .loadAndRemember (self .GeometryCFF )
820+ if (self .GeometryCFF == 'Configuration/StandardSequences/GeometryRecoDB_cff' ):
821+ print ("Warning: Default GeometryRecoDB_cff is used. It may not work with your process." )
820822 if ('SIM' in self .stepMap or 'reSIM' in self .stepMap ) and not self ._options .fast :
821823 self .loadAndRemember (self .SimGeometryCFF )
822824 if self .geometryDBLabel :
@@ -1155,7 +1157,7 @@ def inGeometryKeys(opt):
11551157 if opt in GeometryConf :
11561158 return GeometryConf [opt ]
11571159 else :
1158- return opt
1160+ raise Exception ( "Geometry " + opt + " does not exist!" )
11591161
11601162 geoms = self ._options .geometry .split (',' )
11611163 if len (geoms )== 1 : geoms = inGeometryKeys (geoms [0 ]).split (',' )
You can’t perform that action at this time.
0 commit comments