ATLAS Offline Software
Functions
MuonReadoutGeomCnvCfg Namespace Reference

Functions

def MuonReadoutGeometryCnvAlgCfg (flags, name="MuonDetectorManagerCondAlg", **kwargs)
 

Function Documentation

◆ MuonReadoutGeometryCnvAlgCfg()

def MuonReadoutGeomCnvCfg.MuonReadoutGeometryCnvAlgCfg (   flags,
  name = "MuonDetectorManagerCondAlg",
**  kwargs 
)

Definition at line 7 of file MuonReadoutGeomCnvCfg.py.

7 def MuonReadoutGeometryCnvAlgCfg(flags,name="MuonDetectorManagerCondAlg", **kwargs):
8  from MuonGeoModelR4.MuonGeoModelConfig import MuonAlignStoreCfg
9 
10  result = ComponentAccumulator()
11  result.merge(MuonAlignStoreCfg(flags))
12  alignStores = []
13 
14  if flags.Detector.GeometryMDT:
15  alignStores+=["MdtActsAlignContainer"]
16  if flags.Detector.GeometryRPC:
17  alignStores+=["RpcActsAlignContainer"]
18  if flags.Detector.GeometryTGC:
19  alignStores+=["TgcActsAlignContainer"]
20  if flags.Detector.GeometrysTGC:
21  alignStores+=["sTgcActsAlignContainer"]
22  if flags.Detector.GeometryMM:
23  alignStores+=["MmActsAlignContainer"]
24  kwargs.setdefault("AlignmentKeys", alignStores)
25  the_alg = CompFactory.MuonReadoutGeomCnvAlg(name=name, **kwargs)
26  result.addCondAlgo(the_alg, primary = True)
27  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
MuonGeoModelConfig.MuonAlignStoreCfg
def MuonAlignStoreCfg(flags)
Definition: MuonGeoModelConfig.py:84
MuonReadoutGeomCnvCfg.MuonReadoutGeometryCnvAlgCfg
def MuonReadoutGeometryCnvAlgCfg(flags, name="MuonDetectorManagerCondAlg", **kwargs)
Definition: MuonReadoutGeomCnvCfg.py:7