ATLAS Offline Software
Functions
MuonSegmentCnvConfig Namespace Reference

Functions

def MuonR4SegmentCnvAlgCfg (flags, name="MuonR4SegmentCnvAlg", **kwargs)
 

Function Documentation

◆ MuonR4SegmentCnvAlgCfg()

def MuonSegmentCnvConfig.MuonR4SegmentCnvAlgCfg (   flags,
  name = "MuonR4SegmentCnvAlg",
**  kwargs 
)

Definition at line 6 of file MuonSegmentCnvConfig.py.

6 def MuonR4SegmentCnvAlgCfg(flags, name="MuonR4SegmentCnvAlg", **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  from MuonConfig.MuonRIO_OnTrackCreatorToolConfig import MuonClusterOnTrackCreatorCfg, MdtDriftCircleOnTrackCreatorCfg, TriggerChamberClusterOnTrackCreatorCfg
19  kwargs.setdefault("MdtRotCreator", result.popToolsAndMerge(MdtDriftCircleOnTrackCreatorCfg(flags)))
20  kwargs.setdefault("ClusterRotCreator", result.popToolsAndMerge(MuonClusterOnTrackCreatorCfg(flags)))
21  kwargs.setdefault("CompetingRotCreator", result.getPrimaryAndMerge(TriggerChamberClusterOnTrackCreatorCfg(flags)))
22  from MuonConfig.MuonRecToolsConfig import MuonEDMPrinterToolCfg
23  kwargs.setdefault("printerTool", result.getPrimaryAndMerge(MuonEDMPrinterToolCfg(flags)))
24  the_alg = CompFactory.MuonR4.SegmentCnvAlg(name, **kwargs)
25  result.addEventAlgo(the_alg, primary = True)
26  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonRIO_OnTrackCreatorToolConfig.TriggerChamberClusterOnTrackCreatorCfg
def TriggerChamberClusterOnTrackCreatorCfg(flags, name="TriggerChamberClusterOnTrackCreator", **kwargs)
Definition: MuonRIO_OnTrackCreatorToolConfig.py:25
MuonSegmentCnvConfig.MuonR4SegmentCnvAlgCfg
def MuonR4SegmentCnvAlgCfg(flags, name="MuonR4SegmentCnvAlg", **kwargs)
Definition: MuonSegmentCnvConfig.py:6
python.MuonRecToolsConfig.MuonEDMPrinterToolCfg
def MuonEDMPrinterToolCfg(flags, name="MuonEDMPrinterTool", **kwargs)
Definition: MuonRecToolsConfig.py:10
AlignmentAlgsConfig.ActsGeometryContextAlgCfg
def ActsGeometryContextAlgCfg(flags, name="GeometryContextAlg", **kwargs)
Setup the Geometry context algorithm.
Definition: AlignmentAlgsConfig.py:125
python.MuonRIO_OnTrackCreatorToolConfig.MuonClusterOnTrackCreatorCfg
def MuonClusterOnTrackCreatorCfg(flags, name="MuonClusterOnTrackCreator", **kwargs)
Definition: MuonRIO_OnTrackCreatorToolConfig.py:96
python.MuonRIO_OnTrackCreatorToolConfig.MdtDriftCircleOnTrackCreatorCfg
def MdtDriftCircleOnTrackCreatorCfg(flags, name="MdtDriftCircleOnTrackCreator", **kwargs)
Definition: MuonRIO_OnTrackCreatorToolConfig.py:73