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

Functions

 L0MuonTGCSimCfg (flags, name="L0Muon.TGCSimulation", **kwargs)

Variables

 parser = SetupArgParser()
 inputFile
 nEvents
 args = parser.parse_args()
 flags = initConfigFlags()
 MsgSuppression
 acc

Function Documentation

◆ L0MuonTGCSimCfg()

L0MuonS1TGCConfig.L0MuonTGCSimCfg ( flags,
name = "L0Muon.TGCSimulation",
** kwargs )

Definition at line 6 of file L0MuonS1TGCConfig.py.

6def L0MuonTGCSimCfg(flags, name = "L0Muon.TGCSimulation", **kwargs):
7
8 result = ComponentAccumulator()
9
10 alg = CompFactory.L0Muon.TGCSimulation(name = name, **kwargs)
11
12 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
13 monTool = GenericMonitoringTool(flags, 'MonTool')
14 monTool.defineHistogram('nTgcDigits', path='EXPERT', type='TH1F', title=';n_{Digit}^{TGC};Events', xbins=50, xmin=0, xmax=100)
15
16 alg.MonTool = monTool
17
18 histSvc = CompFactory.THistSvc(Output=["EXPERT DATAFILE='" + name + ".root' OPT='RECREATE'"])
19
20 result.addEventAlgo(alg)
21 result.addService(histSvc)
22 return result
23
24

Variable Documentation

◆ acc

L0MuonS1TGCConfig.acc

Definition at line 37 of file L0MuonS1TGCConfig.py.

◆ args

L0MuonS1TGCConfig.args = parser.parse_args()

Definition at line 32 of file L0MuonS1TGCConfig.py.

◆ flags

L0MuonS1TGCConfig.flags = initConfigFlags()

Definition at line 34 of file L0MuonS1TGCConfig.py.

◆ inputFile

L0MuonS1TGCConfig.inputFile

Definition at line 29 of file L0MuonS1TGCConfig.py.

◆ MsgSuppression

L0MuonS1TGCConfig.MsgSuppression

Definition at line 35 of file L0MuonS1TGCConfig.py.

◆ nEvents

L0MuonS1TGCConfig.nEvents

Definition at line 30 of file L0MuonS1TGCConfig.py.

◆ parser

L0MuonS1TGCConfig.parser = SetupArgParser()

Definition at line 28 of file L0MuonS1TGCConfig.py.