auto.ConfigureFromListOfKeys(rec.AutoConfiguration()) from RecExConfig.ObjKeyStore import objKeyStore, CfgKeyStore from PyUtils.MetaReaderPeeker import convert_itemList objKeyStore.addManyTypesInputFile(convert_itemList(layout = '#join')) #---------------------------------------------------------------------------------# # Detector Description from AtlasGeoModel import SetGeometryVersion from AtlasGeoModel import GeoModelInit from LArGeoAlgsNV.LArGeoAlgsNVConf import LArDetectorToolNV from TileGeoModel.TileGeoModelConf import TileDetectorTool ServiceMgr.GeoModelSvc.DetectorTools += [ LArDetectorToolNV(ApplyAlignments = True, GeometryConfig = "RECO"), TileDetectorTool(GeometryConfig = "RECO") ] from CaloDetMgrDetDescrCnv import CaloDetMgrDDCnv include( "TileConditions/TileConditions_jobOptions.py" ) include( "CaloConditions/LArTTCellMap_ATLAS_jobOptions.py") include( "CaloConditions/CaloTTIdMap_ATLAS_jobOptions.py") include( "LArConditionsCommon/LArConditionsCommon_MC_jobOptions.py" ) include( "LArConditionsCommon/LArIdMap_MC_jobOptions.py" ) from LArConditionsCommon import LArAlignable ServiceMgr.DetDescrCnvSvc.DecodeIdDict = True # Detector Description
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # # TileCal GeoModel initialization # from AthenaCommon.JobProperties import jobproperties from AthenaCommon.DetFlags import DetFlags if (DetFlags.detdescr.Tile_on()): from GeoModelSvc.GeoModelSvcConf import GeoModelSvc GeoModelSvc = GeoModelSvc() from TileGeoModel.TileGeoModelConf import TileDetectorTool GeoModelSvc.DetectorTools += [TileDetectorTool()] if (jobproperties.Global.DetGeo() == "ctbh8" or jobproperties.Global.DetGeo() == "ctbh6"): GeoModelSvc.DetectorTools["TileDetectorTool"].TestBeam = True