ATLAS Offline Software
Functions
python.SCT_CablingConfig Namespace Reference

Functions

def SCT_CablingFoldersCfg (flags)
 
def SCT_CablingCondAlgCfg (flags, name="SCT_CablingCondAlgFromCoraCool")
 
def SCT_CablingToolCfg (flags, name="SCT_CablingTool")
 

Function Documentation

◆ SCT_CablingCondAlgCfg()

def python.SCT_CablingConfig.SCT_CablingCondAlgCfg (   flags,
  name = "SCT_CablingCondAlgFromCoraCool" 
)

Definition at line 22 of file SCT_CablingConfig.py.

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

◆ SCT_CablingFoldersCfg()

def python.SCT_CablingConfig.SCT_CablingFoldersCfg (   flags)

Definition at line 8 of file SCT_CablingConfig.py.

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

◆ SCT_CablingToolCfg()

def python.SCT_CablingConfig.SCT_CablingToolCfg (   flags,
  name = "SCT_CablingTool" 
)

Definition at line 35 of file SCT_CablingConfig.py.

35 def SCT_CablingToolCfg(flags, name="SCT_CablingTool"):
36  cfg = ComponentAccumulator()
37 
38  # For SCT_ID used in SCT_CablingTool
39  from AtlasGeoModel.GeoModelConfig import GeoModelCfg
40  cfg.merge(GeoModelCfg(flags))
41 
42  cfg.merge(SCT_CablingCondAlgCfg(flags))
43 
44  cfg.setPrivateTools(CompFactory.SCT_CablingTool(name))
45  return cfg
python.SCT_CablingConfig.SCT_CablingCondAlgCfg
def SCT_CablingCondAlgCfg(flags, name="SCT_CablingCondAlgFromCoraCool")
Definition: SCT_CablingConfig.py:22
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.SCT_CablingConfig.SCT_CablingToolCfg
def SCT_CablingToolCfg(flags, name="SCT_CablingTool")
Definition: SCT_CablingConfig.py:35
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
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
python.SCT_CablingConfig.SCT_CablingFoldersCfg
def SCT_CablingFoldersCfg(flags)
Definition: SCT_CablingConfig.py:8