ATLAS Offline Software
Functions
MuonPatternCnvConfig Namespace Reference

Functions

def MuonPatternCnvAlgCfg (flags, name="MuonPatternCnvAlg", **kwargs)
 

Function Documentation

◆ MuonPatternCnvAlgCfg()

def MuonPatternCnvConfig.MuonPatternCnvAlgCfg (   flags,
  name = "MuonPatternCnvAlg",
**  kwargs 
)

Definition at line 6 of file MuonPatternCnvConfig.py.

6 def MuonPatternCnvAlgCfg(flags, name="MuonPatternCnvAlg", **kwargs):
7  result = ComponentAccumulator()
8 
9  from ActsAlignmentAlgs.AlignmentAlgsConfig import ActsGeometryContextAlgCfg
10  result.merge(ActsGeometryContextAlgCfg(flags))
11 
12  if not flags.Detector.GeometryMDT: kwargs.setdefault("MdtKey" ,"")
13  if not flags.Detector.GeometryRPC: kwargs.setdefault("RpcKey" ,"")
14  if not flags.Detector.GeometryTGC: kwargs.setdefault("TgcKey" ,"")
15  if not flags.Detector.GeometryMM: kwargs.setdefault("MmKey" ,"")
16  if not flags.Detector.GeometrysTGC: kwargs.setdefault("sTgcKey" ,"")
17 
18  the_alg = CompFactory.MuonR4.PatternCnvAlg(name, **kwargs)
19  result.addEventAlgo(the_alg, primary = True)
20  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
AlignmentAlgsConfig.ActsGeometryContextAlgCfg
def ActsGeometryContextAlgCfg(flags, name="GeometryContextAlg", **kwargs)
Setup the Geometry context algorithm.
Definition: AlignmentAlgsConfig.py:125
MuonPatternCnvConfig.MuonPatternCnvAlgCfg
def MuonPatternCnvAlgCfg(flags, name="MuonPatternCnvAlg", **kwargs)
Definition: MuonPatternCnvConfig.py:6