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

Functions

 TruthMuonCfg (flags)
 L1MuonRPCSimCfg (flags, name="L1MuonRPCSim", **kwargs)

Variables

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

Function Documentation

◆ L1MuonRPCSimCfg()

L1MuonRPCSimCfg ( flags,
name = "L1MuonRPCSim",
** kwargs )

Definition at line 17 of file L1MuonS1RPCConfig.py.

17def L1MuonRPCSimCfg(flags, name = "L1MuonRPCSim", **kwargs):
18
19 result = ComponentAccumulator()
20 result.merge(TruthMuonCfg(flags))
21
22 alg = CompFactory.L1Muon.RPCSimulation(name = name, **kwargs)
23
24 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
25 monTool = GenericMonitoringTool(flags, 'MonTool')
26 monTool.HistPath = 'L1MuonRPCSim'
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
31 result.addEventAlgo(alg)
32 from ActsAlignmentAlgs.AlignmentAlgsConfig import ActsGeometryContextAlgCfg
33 result.merge(ActsGeometryContextAlgCfg(flags))
34
35 return result
36
37

◆ TruthMuonCfg()

TruthMuonCfg ( flags)

Definition at line 9 of file L1MuonS1RPCConfig.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

L1MuonS1RPCConfig._log = logging.getLogger(__name__)
protected

Definition at line 6 of file L1MuonS1RPCConfig.py.

◆ acc

L1MuonS1RPCConfig.acc

Definition at line 50 of file L1MuonS1RPCConfig.py.

◆ args

L1MuonS1RPCConfig.args = parser.parse_args()

Definition at line 45 of file L1MuonS1RPCConfig.py.

◆ flags

L1MuonS1RPCConfig.flags = initConfigFlags()

Definition at line 47 of file L1MuonS1RPCConfig.py.

◆ inputFile

L1MuonS1RPCConfig.inputFile

Definition at line 42 of file L1MuonS1RPCConfig.py.

◆ MsgSuppression

L1MuonS1RPCConfig.MsgSuppression

Definition at line 48 of file L1MuonS1RPCConfig.py.

◆ nEvents

L1MuonS1RPCConfig.nEvents

Definition at line 43 of file L1MuonS1RPCConfig.py.

◆ parser

L1MuonS1RPCConfig.parser = SetupArgParser()

Definition at line 41 of file L1MuonS1RPCConfig.py.