ATLAS Offline Software
Functions
SpacePointFormationConfig Namespace Reference

Functions

def MuonSpacePointMakerAlgCfg (flags, name="MuonSpacePointMakerAlg", **kwargs)
 
def MuonSpacePointFormationCfg (flags)
 

Function Documentation

◆ MuonSpacePointFormationCfg()

def SpacePointFormationConfig.MuonSpacePointFormationCfg (   flags)

Definition at line 20 of file SpacePointFormationConfig.py.

21  result = ComponentAccumulator()
22  from ActsAlignmentAlgs.AlignmentAlgsConfig import ActsGeometryContextAlgCfg
23  result.merge(ActsGeometryContextAlgCfg(flags))
24  result.merge(MuonSpacePointMakerAlgCfg(flags, MmKey = "", sTgcKey = ""))
25 
26  if flags.Detector.GeometrysTGC or flags.Detector.GeometryMM:
27  result.merge(MuonSpacePointMakerAlgCfg(flags,
28  name="NswSpacePointMakerAlg",
29  MdtKey="", RpcKey = "", TgcKey ="",
30  WriteKey = "NswSpacePoints"))
31  return result

◆ MuonSpacePointMakerAlgCfg()

def SpacePointFormationConfig.MuonSpacePointMakerAlgCfg (   flags,
  name = "MuonSpacePointMakerAlg",
**  kwargs 
)

Definition at line 6 of file SpacePointFormationConfig.py.

6 def MuonSpacePointMakerAlgCfg(flags, name = "MuonSpacePointMakerAlg", **kwargs):
7  result = ComponentAccumulator()
8  if not flags.Detector.GeometryMDT: kwargs.setdefault("MdtKey" ,"")
9  if not flags.Detector.GeometryRPC: kwargs.setdefault("RpcKey" ,"")
10  if not flags.Detector.GeometryTGC: kwargs.setdefault("TgcKey" ,"")
11  if not flags.Detector.GeometryMM: kwargs.setdefault("MmKey" ,"")
12  if not flags.Detector.GeometrysTGC: kwargs.setdefault("sTgcKey" ,"")
13 
14  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
15  result.merge(MuonGeoModelCfg(flags))
16  the_alg = CompFactory.MuonR4.SpacePointMakerAlg(name, **kwargs)
17  result.addEventAlgo(the_alg, primary = True)
18  return result
19 
SpacePointFormationConfig.MuonSpacePointMakerAlgCfg
def MuonSpacePointMakerAlgCfg(flags, name="MuonSpacePointMakerAlg", **kwargs)
Definition: SpacePointFormationConfig.py:6
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
python.MuonGeometryConfig.MuonGeoModelCfg
def MuonGeoModelCfg(flags)
Definition: MuonGeometryConfig.py:28
SpacePointFormationConfig.MuonSpacePointFormationCfg
def MuonSpacePointFormationCfg(flags)
Definition: SpacePointFormationConfig.py:20