ATLAS Offline Software
Functions
BCMPrimeGeoModelConfig Namespace Reference

Functions

def BCMPrimeGeometryCfg (flags)
 

Function Documentation

◆ BCMPrimeGeometryCfg()

def BCMPrimeGeoModelConfig.BCMPrimeGeometryCfg (   flags)

Definition at line 6 of file BCMPrimeGeoModelConfig.py.

6 def BCMPrimeGeometryCfg(flags):
7  from AtlasGeoModel.GeoModelConfig import GeoModelCfg
8  acc = GeoModelCfg(flags)
9  geoModelSvc = acc.getPrimary()
10 
11  bcmPrimeDetectorTool = CompFactory.BCMPrimeDetectorTool()
12  bcmPrimeDetectorTool.Alignable = False # make this a flag? Set true as soon as decided on folder structure
13  bcmPrimeDetectorTool.DetectorName = "BCMPrime"
14  if flags.ITk.Geometry.BCMPrimeLocal:
15  # Setting this filename triggers reading from local file rather than DB
16  bcmPrimeDetectorTool.GmxFilename = flags.ITk.Geometry.BCMPrimeFilename
17  if flags.ITk.Geometry.BCMPrimeClobOutputName:
18  bcmPrimeDetectorTool.ClobOutputName = flags.ITk.Geometry.BCMPrimeClobOutputName
19  geoModelSvc.DetectorTools += [ bcmPrimeDetectorTool ]
20 
21  return acc
BCMPrimeGeoModelConfig.BCMPrimeGeometryCfg
def BCMPrimeGeometryCfg(flags)
Definition: BCMPrimeGeoModelConfig.py:6
python.GeoModelConfig.GeoModelCfg
def GeoModelCfg(flags)
Definition: GeoModelConfig.py:16