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

Functions

 setupTestOutputCfg (flags, **kwargs)

Variables

 parser = SetupArgParser()
 help
 action
 default
 nEvents
 outRootFile
 args = parser.parse_args()
 flags = initConfigFlags()
 ReleaseGeoModel
 ProductionStep
 Simulator
str streamName = "MuonSimTestStream"
 cfg

Function Documentation

◆ setupTestOutputCfg()

testSensitiveDetectors.setupTestOutputCfg ( flags,
** kwargs )

Definition at line 4 of file testSensitiveDetectors.py.

4def setupTestOutputCfg(flags,**kwargs):
5
6 kwargs.setdefault("AcceptAlgs",[])
7
8 result = ComponentAccumulator()
9
13 from MuonSensitiveDetectorsR4.SensitiveDetectorsCfg import OutputSimContainersCfg
14 container_items = ["xAOD::TruthParticleContainer#",
15 "xAOD::TruthParticleAuxContainer#",
16 "xAOD::TruthEventContainer#",
17 "xAOD::TruthEventAuxContainer#",
18 "McEventCollection#TruthEvent"] + OutputSimContainersCfg(flags)
19
20 from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
21 result.merge(SetupMetaDataForStreamCfg(flags, kwargs["streamName"]))
22
23 from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
24 kwargs.setdefault("ItemList", container_items)
25 result.merge(OutputStreamCfg(flags, **kwargs))
26 return result
27

Variable Documentation

◆ action

testSensitiveDetectors.action

Definition at line 31 of file testSensitiveDetectors.py.

◆ args

testSensitiveDetectors.args = parser.parse_args()

Definition at line 36 of file testSensitiveDetectors.py.

◆ cfg

testSensitiveDetectors.cfg

Definition at line 50 of file testSensitiveDetectors.py.

◆ default

testSensitiveDetectors.default

Definition at line 32 of file testSensitiveDetectors.py.

◆ flags

testSensitiveDetectors.flags = initConfigFlags()

Definition at line 38 of file testSensitiveDetectors.py.

◆ help

testSensitiveDetectors.help

Definition at line 31 of file testSensitiveDetectors.py.

◆ nEvents

testSensitiveDetectors.nEvents

Definition at line 33 of file testSensitiveDetectors.py.

◆ outRootFile

testSensitiveDetectors.outRootFile

Definition at line 34 of file testSensitiveDetectors.py.

◆ parser

testSensitiveDetectors.parser = SetupArgParser()

Definition at line 30 of file testSensitiveDetectors.py.

◆ ProductionStep

testSensitiveDetectors.ProductionStep

Definition at line 42 of file testSensitiveDetectors.py.

◆ ReleaseGeoModel

testSensitiveDetectors.ReleaseGeoModel

Definition at line 39 of file testSensitiveDetectors.py.

◆ Simulator

testSensitiveDetectors.Simulator

Definition at line 45 of file testSensitiveDetectors.py.

◆ streamName

str testSensitiveDetectors.streamName = "MuonSimTestStream"

Definition at line 46 of file testSensitiveDetectors.py.