ATLAS Offline Software
Loading...
Searching...
No Matches
testMuonTrackingGeometry Namespace Reference

Functions

 MuonTrackingGeometryTestCfg (flags, name="ActsMuonTrackingGeometryTest", **kwargs)

Variables

 parser = SetupArgParser()
 outRootFile
 inputFile
 nEvents
 defaultGeoFile
 action
 help
 args = parser.parse_args()
 flags = initConfigFlags()
 doFullMonMT
 UseBlueprint
 ObjDebugOutput
 cfg

Function Documentation

◆ MuonTrackingGeometryTestCfg()

testMuonTrackingGeometry.MuonTrackingGeometryTestCfg ( flags,
name = "ActsMuonTrackingGeometryTest",
** kwargs )

Definition at line 5 of file testMuonTrackingGeometry.py.

5def MuonTrackingGeometryTestCfg(flags, name = "ActsMuonTrackingGeometryTest", **kwargs):
6
7 result = ComponentAccumulator()
8
9 from xAODTruthCnv.xAODTruthCnvConfig import GEN_AOD2xAODCfg
10 result.merge(GEN_AOD2xAODCfg(flags))
11
12 from MuonTruthAlgsR4.MuonTruthAlgsConfig import MuonTruthAlgsCfg
13 result.merge(MuonTruthAlgsCfg(flags, useSDO = False))
14
15 result.getEventAlgo("MuonTruthSegmentMaker").useOnlyMuonHits = False
16 result.getEventAlgo("TruthMuonMakerAlg").pdgIds=[13,998,999]
17
18 from ActsConfig.ActsGeometryConfig import ActsTrackingGeometryToolCfg
19
20 kwargs.setdefault("TrackingGeometryTool", result.getPrimaryAndMerge(ActsTrackingGeometryToolCfg(flags)))
21
22 the_alg = CompFactory.ActsTrk.ActsMuonTrackingGeometryTest(name, **kwargs)
23 result.addEventAlgo(the_alg, primary = True)
24
25 return result
26

Variable Documentation

◆ action

testMuonTrackingGeometry.action

Definition at line 36 of file testMuonTrackingGeometry.py.

◆ args

testMuonTrackingGeometry.args = parser.parse_args()

Definition at line 38 of file testMuonTrackingGeometry.py.

◆ cfg

testMuonTrackingGeometry.cfg

Definition at line 47 of file testMuonTrackingGeometry.py.

◆ defaultGeoFile

testMuonTrackingGeometry.defaultGeoFile

Definition at line 35 of file testMuonTrackingGeometry.py.

◆ doFullMonMT

testMuonTrackingGeometry.doFullMonMT

Definition at line 43 of file testMuonTrackingGeometry.py.

◆ flags

testMuonTrackingGeometry.flags = initConfigFlags()

Definition at line 41 of file testMuonTrackingGeometry.py.

◆ help

testMuonTrackingGeometry.help

Definition at line 36 of file testMuonTrackingGeometry.py.

◆ inputFile

testMuonTrackingGeometry.inputFile

Definition at line 33 of file testMuonTrackingGeometry.py.

◆ nEvents

testMuonTrackingGeometry.nEvents

Definition at line 34 of file testMuonTrackingGeometry.py.

◆ ObjDebugOutput

testMuonTrackingGeometry.ObjDebugOutput

Definition at line 45 of file testMuonTrackingGeometry.py.

◆ outRootFile

testMuonTrackingGeometry.outRootFile

Definition at line 32 of file testMuonTrackingGeometry.py.

◆ parser

testMuonTrackingGeometry.parser = SetupArgParser()

Definition at line 31 of file testMuonTrackingGeometry.py.

◆ UseBlueprint

testMuonTrackingGeometry.UseBlueprint

Definition at line 44 of file testMuonTrackingGeometry.py.