ATLAS Offline Software
Functions
python.ITkStripCablingConfig Namespace Reference

Functions

def ITkStripCablingFoldersCfg (flags)
 
def ITkStripCablingCondAlgCfg (flags, name="ITkStripCablingCondAlg")
 
def ITkStripCablingToolCfg (flags, name="ITkStripCablingTool")
 

Function Documentation

◆ ITkStripCablingCondAlgCfg()

def python.ITkStripCablingConfig.ITkStripCablingCondAlgCfg (   flags,
  name = "ITkStripCablingCondAlg" 
)

Definition at line 20 of file ITkStripCablingConfig.py.

20 def ITkStripCablingCondAlgCfg(flags, name="ITkStripCablingCondAlg"):
21  cfg = ComponentAccumulator()
22  foldersCfg, path = ITkStripCablingFoldersCfg(flags)
23  cfg.merge(foldersCfg)
24  SCT_CablingCondAlgFromCoraCool = CompFactory.SCT_CablingCondAlgFromCoraCool
25  cfg.addCondAlgo(SCT_CablingCondAlgFromCoraCool(name,
26  ReadKeyRod=path+"ROD",
27  ReadKeyRodMur=path+"RODMUR",
28  ReadKeyMur=path+"MUR",
29  ReadKeyGeo=path+"Geog"))
30  return cfg
31 
32 

◆ ITkStripCablingFoldersCfg()

def python.ITkStripCablingConfig.ITkStripCablingFoldersCfg (   flags)

Definition at line 7 of file ITkStripCablingConfig.py.

9  path = "/SCT/DAQ/Config/"
10  if flags.IOVDb.DatabaseInstance == "COMP200":
11  path = "/SCT/DAQ/Configuration/"
12  instance = "SCT"
13  if flags.Input.isMC:
14  instance = "SCT_OFL"
15  from IOVDbSvc.IOVDbSvcConfig import addFolders
16  cfg.merge(addFolders(flags, [path+"ROD", path+"RODMUR", path+"MUR", path+"Geog"], instance, className="CondAttrListVec"))
17  return cfg, path
18 
19 

◆ ITkStripCablingToolCfg()

def python.ITkStripCablingConfig.ITkStripCablingToolCfg (   flags,
  name = "ITkStripCablingTool" 
)

Definition at line 33 of file ITkStripCablingConfig.py.

33 def ITkStripCablingToolCfg(flags, name="ITkStripCablingTool"):
34  cfg = ComponentAccumulator()
35 
36  # For SCT_ID used in SCT_CablingTool
37  from AtlasGeoModel.GeoModelConfig import GeoModelCfg
38  cfg.merge(GeoModelCfg(flags))
39 
40  cfg.merge(ITkStripCablingCondAlgCfg(flags))
41 
42  cfg.setPrivateTools(CompFactory.SCT_CablingTool(name))
43  return cfg
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.ITkStripCablingConfig.ITkStripCablingToolCfg
def ITkStripCablingToolCfg(flags, name="ITkStripCablingTool")
Definition: ITkStripCablingConfig.py:33
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
python.ITkStripCablingConfig.ITkStripCablingCondAlgCfg
def ITkStripCablingCondAlgCfg(flags, name="ITkStripCablingCondAlg")
Definition: ITkStripCablingConfig.py:20
python.ITkStripCablingConfig.ITkStripCablingFoldersCfg
def ITkStripCablingFoldersCfg(flags)
Definition: ITkStripCablingConfig.py:7
SCT_CablingCondAlgFromCoraCool
Condition algorithm which fills the SCT Cabling from the database, using CoraCool.
Definition: SCT_CablingCondAlgFromCoraCool.h:40
python.GeoModelConfig.GeoModelCfg
def GeoModelCfg(flags)
Definition: GeoModelConfig.py:16