ATLAS Offline Software
InDetServMatGeoModelConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 #
4 
5 from AthenaConfiguration.ComponentFactory import CompFactory
6 
7 
9  from AtlasGeoModel.GeometryDBConfig import InDetGeometryDBSvcCfg
10  db = InDetGeometryDBSvcCfg(flags)
11 
12  from AtlasGeoModel.GeoModelConfig import GeoModelCfg
13  acc = GeoModelCfg(flags)
14  geoModelSvc = acc.getPrimary()
15  geoModelSvc.DetectorTools += [ CompFactory.InDetServMatTool(GeometryDBSvc=db.getPrimary()) ]
16  acc.merge(db)
17  return acc
python.InDetServMatGeoModelConfig.InDetServiceMaterialCfg
def InDetServiceMaterialCfg(flags)
Definition: InDetServMatGeoModelConfig.py:8
python.GeometryDBConfig.InDetGeometryDBSvcCfg
def InDetGeometryDBSvcCfg(flags)
Definition: GeometryDBConfig.py:7
python.GeoModelConfig.GeoModelCfg
def GeoModelCfg(flags)
Definition: GeoModelConfig.py:16