Skip to content
Snippets Groups Projects
Commit d2e2ee4e authored by Ahmed Tarek's avatar Ahmed Tarek
Browse files

Merge branch 'tstreble-24.0-patch-57d1' into '24.0'

Clean up legacy IdDictDetDescrCnv joboption

See merge request !71388
parents abc000cc 672654a9
No related branches found
No related tags found
2 merge requests!714242024-05-16: merge of 24.0 into main,!71388Clean up legacy IdDictDetDescrCnv joboption
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( IdDictDetDescrCnv )
......@@ -8,6 +8,3 @@ atlas_add_component( IdDictDetDescrCnv
src/*.cxx
LINK_LIBRARIES AthenaBaseComps AthenaKernel AtlasDetDescr DetDescrCnvSvcLib GaudiKernel GeoModelInterfaces GeoModelUtilities IdDictDetDescr IdDictParser Identifier RDBAccessSvcLib StoreGateLib )
# Install files from the package:
atlas_install_joboptions( share/*.py )
#
# Joboptions for the loading of the of InDetDDMgr
#
_log = logging.getLogger( 'IdDictDetDescrCnv_joboptions' )
from AthenaCommon.GlobalFlags import globalflags
from IOVDbSvc.CondDB import conddb
# Disable for MC or for Run 1 (AlignL* folders are not in COMP200).
if globalflags.DataSource.get_Value() != 'data' or conddb.dbname == 'COMP200':
_log.debug("Disabling ID dynamic alignment")
from AtlasGeoModel.InDetGMJobProperties import InDetGeometryFlags
InDetGeometryFlags.useDynamicAlignFolders=False
# DLLs
theApp.Dlls += [ "IdDictDetDescrCnv" ]
del _log
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