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

Functions

 TruthMuonCfg (flags)
 L0MuonRPCSimCfg (flags, name="L0MuonRPCSim", **kwargs)

Variables

 _log = logging.getLogger(__name__)
 parser = SetupArgParser()
 inputFile
 nEvents
 args = parser.parse_args()
 flags = initConfigFlags()
 MsgSuppression
 acc

Function Documentation

◆ L0MuonRPCSimCfg()

L0MuonS1RPCConfig.L0MuonRPCSimCfg ( flags,
name = "L0MuonRPCSim",
** kwargs )

Definition at line 17 of file L0MuonS1RPCConfig.py.

17def L0MuonRPCSimCfg(flags, name = "L0MuonRPCSim", **kwargs):
18
19 result = ComponentAccumulator()
20 result.merge(TruthMuonCfg(flags))
21
22 alg = CompFactory.L0Muon.RPCSimulation(name = name, **kwargs)
23
24 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
25 monTool = GenericMonitoringTool(flags, 'MonTool')
26 monTool.HistPath = 'L0MuonRPCSim'
27 monTool.defineHistogram('track_input_eta', path='EXPERT', type='TH1F', title=';#eta_{#mu}^{truth};Muons', xbins=50, xmin=-3, xmax=3)
28
29 alg.MonTool = monTool
30 from MuonConfig.MuonConfigUtils import setupHistSvcCfg
31 result.merge(setupHistSvcCfg(flags, outFile=f"{name}.root", outStream="EXPERT"))
32
33
34 result.addEventAlgo(alg)
35 from ActsAlignmentAlgs.AlignmentAlgsConfig import ActsGeometryContextAlgCfg
36 result.merge(ActsGeometryContextAlgCfg(flags))
37
38 return result
39
40

◆ TruthMuonCfg()

L0MuonS1RPCConfig.TruthMuonCfg ( flags)

Definition at line 9 of file L0MuonS1RPCConfig.py.

9def TruthMuonCfg(flags):
10 result = ComponentAccumulator()
11
12 from MuonTruthAlgsR4.MuonTruthAlgsConfig import MuonTruthAlgsCfg
13 result.merge(MuonTruthAlgsCfg(flags, useSDO=True, recoAssoc = False))
14
15 return result
16

Variable Documentation

◆ _log

L0MuonS1RPCConfig._log = logging.getLogger(__name__)
protected

Definition at line 6 of file L0MuonS1RPCConfig.py.

◆ acc

L0MuonS1RPCConfig.acc

Definition at line 53 of file L0MuonS1RPCConfig.py.

◆ args

L0MuonS1RPCConfig.args = parser.parse_args()

Definition at line 48 of file L0MuonS1RPCConfig.py.

◆ flags

L0MuonS1RPCConfig.flags = initConfigFlags()

Definition at line 50 of file L0MuonS1RPCConfig.py.

◆ inputFile

L0MuonS1RPCConfig.inputFile

Definition at line 45 of file L0MuonS1RPCConfig.py.

◆ MsgSuppression

L0MuonS1RPCConfig.MsgSuppression

Definition at line 51 of file L0MuonS1RPCConfig.py.

◆ nEvents

L0MuonS1RPCConfig.nEvents

Definition at line 46 of file L0MuonS1RPCConfig.py.

◆ parser

L0MuonS1RPCConfig.parser = SetupArgParser()

Definition at line 44 of file L0MuonS1RPCConfig.py.