ATLAS Offline Software
Functions
ITkStripGeoModelConfig Namespace Reference

Functions

def ITkStripGeoModelCfg (flags)
 
def ITkStripAlignmentCfg (flags)
 
def ITkStripSimulationGeometryCfg (flags)
 
def ITkStripReadoutGeometryCfg (flags)
 

Function Documentation

◆ ITkStripAlignmentCfg()

def ITkStripGeoModelConfig.ITkStripAlignmentCfg (   flags)

Definition at line 23 of file ITkStripGeoModelConfig.py.

23 def ITkStripAlignmentCfg(flags):
24  if flags.GeoModel.Align.LegacyConditionsAccess: # revert to old style CondHandle in case of simulation
25  from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline
26  return addFoldersSplitOnline(flags, "INDET", "/Indet/Onl/Align", flags.ITk.Geometry.alignmentFolder)
27  else:
28  from SCT_ConditionsAlgorithms.ITkStripConditionsAlgorithmsConfig import ITkStripAlignCondAlgCfg
29  return ITkStripAlignCondAlgCfg(flags)
30 
31 

◆ ITkStripGeoModelCfg()

def ITkStripGeoModelConfig.ITkStripGeoModelCfg (   flags)

Definition at line 3 of file ITkStripGeoModelConfig.py.

3 def ITkStripGeoModelCfg(flags):
4  from AtlasGeoModel.GeoModelConfig import GeoModelCfg
5  acc = GeoModelCfg(flags)
6  geoModelSvc = acc.getPrimary()
7 
8  from AthenaConfiguration.ComponentFactory import CompFactory
9  ITkStripDetectorTool = CompFactory.ITk.StripDetectorTool()
10  # ITkStripDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic #Will we need to do dynamic alignment for ITk?
11  ITkStripDetectorTool.Alignable = flags.ITk.Geometry.stripAlignable
12  ITkStripDetectorTool.AlignmentFolderName = flags.ITk.Geometry.alignmentFolder
13  ITkStripDetectorTool.DetectorName = "ITkStrip"
14  if flags.ITk.Geometry.StripLocal:
15  # Setting this filename triggers reading from local file rather than DB
16  ITkStripDetectorTool.GmxFilename = flags.ITk.Geometry.StripFilename
17  if flags.ITk.Geometry.StripClobOutputName:
18  ITkStripDetectorTool.ClobOutputName = flags.ITk.Geometry.StripClobOutputName
19  geoModelSvc.DetectorTools += [ ITkStripDetectorTool ]
20  return acc
21 
22 

◆ ITkStripReadoutGeometryCfg()

def ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg (   flags)

Definition at line 39 of file ITkStripGeoModelConfig.py.

40  # main GeoModel config
41  acc = ITkStripGeoModelCfg(flags)
42  acc.merge(ITkStripAlignmentCfg(flags))
43  from SCT_ConditionsAlgorithms.ITkStripConditionsAlgorithmsConfig import ITkStripDetectorElementCondAlgCfg
44  acc.merge(ITkStripDetectorElementCondAlgCfg(flags))
45  return acc

◆ ITkStripSimulationGeometryCfg()

def ITkStripGeoModelConfig.ITkStripSimulationGeometryCfg (   flags)

Definition at line 32 of file ITkStripGeoModelConfig.py.

33  # main GeoModel config
34  acc = ITkStripGeoModelCfg(flags)
35  acc.merge(ITkStripAlignmentCfg(flags))
36  return acc
37 
38 
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags)
Definition: ITkStripGeoModelConfig.py:39
ITkStripGeoModelConfig.ITkStripGeoModelCfg
def ITkStripGeoModelCfg(flags)
Definition: ITkStripGeoModelConfig.py:3
python.ITkStripConditionsAlgorithmsConfig.ITkStripDetectorElementCondAlgCfg
def ITkStripDetectorElementCondAlgCfg(flags, name="ITkStripDetectorElementCondAlg", **kwargs)
Definition: ITkStripConditionsAlgorithmsConfig.py:68
ITkStripGeoModelConfig.ITkStripAlignmentCfg
def ITkStripAlignmentCfg(flags)
Definition: ITkStripGeoModelConfig.py:23
python.IOVDbSvcConfig.addFoldersSplitOnline
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')
Definition: IOVDbSvcConfig.py:153
python.ITkStripConditionsAlgorithmsConfig.ITkStripAlignCondAlgCfg
def ITkStripAlignCondAlgCfg(flags, name="ITkStripAlignCondAlg", **kwargs)
Definition: ITkStripConditionsAlgorithmsConfig.py:9
ITkStripGeoModelConfig.ITkStripSimulationGeometryCfg
def ITkStripSimulationGeometryCfg(flags)
Definition: ITkStripGeoModelConfig.py:32
python.GeoModelConfig.GeoModelCfg
def GeoModelCfg(flags)
Definition: GeoModelConfig.py:16