ATLAS Offline Software
Functions
MuonHitCsvDumpConfig Namespace Reference

Functions

def CsvSpacePointDumpCfg (flags, name="CsvDriftCircleDumper", **kwargs)
 
def CsvMuonSimHitDumpCfg (flags, name="CsvMuonSimHitDumper", **kwargs)
 
def CsvMuonTruthSegmentDumpCfg (flags, name="CsvMuonTruthSegmentDumper", **kwargs)
 

Function Documentation

◆ CsvMuonSimHitDumpCfg()

def MuonHitCsvDumpConfig.CsvMuonSimHitDumpCfg (   flags,
  name = "CsvMuonSimHitDumper",
**  kwargs 
)

Definition at line 14 of file MuonHitCsvDumpConfig.py.

14 def CsvMuonSimHitDumpCfg(flags, name="CsvMuonSimHitDumper", **kwargs):
15  result = ComponentAccumulator()
16  truthContainers = []
17  if flags.Detector.GeometryMDT: truthContainers += ["xMdtSimHits"]
18  if flags.Detector.GeometryRPC: truthContainers += ["xMdtSimHits"]
19  if flags.Detector.GeometryTGC: truthContainers += ["xTgcSimHits"]
20  if flags.Detector.GeometrysTGC: truthContainers += ["xStgcSimHits"]
21  if flags.Detector.GeometryMM: truthContainers += ["xMmSimHits"]
22  kwargs.setdefault("MuonSimHitKey", truthContainers)
23  the_alg = CompFactory.MuonR4.SimHitCsvDumperAlg(name = name, **kwargs)
24  result.addEventAlgo(the_alg, primary = True)
25  return result
26 

◆ CsvMuonTruthSegmentDumpCfg()

def MuonHitCsvDumpConfig.CsvMuonTruthSegmentDumpCfg (   flags,
  name = "CsvMuonTruthSegmentDumper",
**  kwargs 
)

Definition at line 27 of file MuonHitCsvDumpConfig.py.

27 def CsvMuonTruthSegmentDumpCfg(flags, name="CsvMuonTruthSegmentDumper", **kwargs):
28  result = ComponentAccumulator()
29  the_alg = CompFactory.MuonR4.TruthSegmentCsvDumperAlg(name = name, **kwargs)
30  result.addEventAlgo(the_alg, primary = True)
31  return result

◆ CsvSpacePointDumpCfg()

def MuonHitCsvDumpConfig.CsvSpacePointDumpCfg (   flags,
  name = "CsvDriftCircleDumper",
**  kwargs 
)

Definition at line 6 of file MuonHitCsvDumpConfig.py.

6 def CsvSpacePointDumpCfg(flags, name="CsvDriftCircleDumper", **kwargs):
7  result = ComponentAccumulator()
8  from MuonSpacePointFormation.SpacePointFormationConfig import MuonSpacePointFormationCfg
9  result.merge(MuonSpacePointFormationCfg(flags))
10  the_alg = CompFactory.MuonR4.SpacePointCsvDumperAlg(name=name, **kwargs)
11  result.addEventAlgo(the_alg, primary = True)
12  return result
13 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
MuonHitCsvDumpConfig.CsvMuonTruthSegmentDumpCfg
def CsvMuonTruthSegmentDumpCfg(flags, name="CsvMuonTruthSegmentDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:27
MuonHitCsvDumpConfig.CsvMuonSimHitDumpCfg
def CsvMuonSimHitDumpCfg(flags, name="CsvMuonSimHitDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:14
SpacePointFormationConfig.MuonSpacePointFormationCfg
def MuonSpacePointFormationCfg(flags)
Definition: SpacePointFormationConfig.py:20
MuonHitCsvDumpConfig.CsvSpacePointDumpCfg
def CsvSpacePointDumpCfg(flags, name="CsvDriftCircleDumper", **kwargs)
Definition: MuonHitCsvDumpConfig.py:6