Skip to content
Snippets Groups Projects
Commit dba71457 authored by Peter Onyisi's avatar Peter Onyisi
Browse files

Lock flag to false in MC

parent 8a6e212e
No related branches found
No related tags found
2 merge requests!38239Fix uninitialized variable warnings for TRT raw monitoring (also fixes FPEs),!37784Set useDynamicAlignFolders to true
...@@ -155,6 +155,11 @@ class InDetGeometryFlags_JobProperties(JobPropertyContainer): ...@@ -155,6 +155,11 @@ class InDetGeometryFlags_JobProperties(JobPropertyContainer):
self.GeoVersionName.set_Value_and_Lock(InDetGeoFlags.getValue("VersionName")) self.GeoVersionName.set_Value_and_Lock(InDetGeoFlags.getValue("VersionName"))
self.GeoLayout.set_Value_and_Lock(InDetGeoFlags.getValue("Layout")) self.GeoLayout.set_Value_and_Lock(InDetGeoFlags.getValue("Layout"))
def setupDynamicAlignFolders(self):
from AthenaCommon.GlobalFlags import globalflags
if globalflags.DataSource.get_Value() != 'data':
self.useDynamicAlignFolders.set_Value_and_Lock(False)
def reset(self,geoTagName="none"): def reset(self,geoTagName="none"):
...@@ -190,7 +195,7 @@ jobproperties.InDetGeometryFlags_JobProperties.add_JobProperty(useDynamicAlignFo ...@@ -190,7 +195,7 @@ jobproperties.InDetGeometryFlags_JobProperties.add_JobProperty(useDynamicAlignFo
InDetGeometryFlags = jobproperties.InDetGeometryFlags_JobProperties InDetGeometryFlags = jobproperties.InDetGeometryFlags_JobProperties
InDetGeometryFlags.setupValuesFromDB() InDetGeometryFlags.setupValuesFromDB()
InDetGeometryFlags.setupDynamicAlignFolders()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment