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

Functions

 L1MuonSmearingCfg (flags, name="L1MuonSmearingAlg", **kwargs)

Variables

 _log = logging.getLogger(__name__)
 flags = initConfigFlags()
 Files
 isMC
 MaxEvents
 MsgSuppression
 acc = MainServicesCfg(flags)
 smearerTruth
 withDetails
 True
 summariseProps
 status = acc.run()

Function Documentation

◆ L1MuonSmearingCfg()

L1MuonSmearingCfg ( flags,
name = "L1MuonSmearingAlg",
** kwargs )

Definition at line 8 of file L1MuonSmearingConfig.py.

8def L1MuonSmearingCfg(flags, name = "L1MuonSmearingAlg", **kwargs):
9
10 result = ComponentAccumulator()
11
12 alg = CompFactory.L1Muon.L1MuonSmearingAlg(name = name,
13 **kwargs)
14
15 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
16 monTool = GenericMonitoringTool(flags, 'MonTool')
17 monTool.defineHistogram('track_input_eta', path='EXPERT', type='TH1F', title=';#eta_{#mu}^{truth};Muons', xbins=50, xmin=-3, xmax=3)
18 monTool.defineHistogram('track_input_phi', path='EXPERT', type='TH1F', title=';#phi_{#mu}^{truth};Muons', xbins=50, xmin=-4, xmax=4)
19 monTool.defineHistogram('track_input_pt', path='EXPERT', type='TH1F', title=';p_{T,#mu}^{truth} (GeV);Muons', xbins=50, xmin=0, xmax=250)
20 monTool.defineHistogram('track_input_curv',path='EXPERT', type='TH1F', title=';q/p_{T,#mu}^{truth} (1/GeV);Muons', xbins=50, xmin=-0.4, xmax=0.4)
21 monTool.defineHistogram('track_output_eta', path='EXPERT', type='TH1F', title=';#eta_{#mu}^{L1};Muons', xbins=50, xmin=-3, xmax=3)
22 monTool.defineHistogram('track_output_phi', path='EXPERT', type='TH1F', title=';#phi_{#mu}^{L1};Muons', xbins=50, xmin=-4, xmax=4)
23 monTool.defineHistogram('track_output_pt', path='EXPERT', type='TH1F', title=';p_{T,#mu}^{L1} (GeV);Muons', xbins=50, xmin=0, xmax=250)
24 monTool.defineHistogram('track_output_curv',path='EXPERT', type='TH1F', title=';q/p_{T,#mu}^{L1} (1/GeV);Muons', xbins=50, xmin=-0.4, xmax=0.4)
25 monTool.defineHistogram('roi_output_eta', path='EXPERT', type='TH1F', title=';#eta_{RoI}^{L1};RoIs', xbins=50, xmin=-3, xmax=3)
26 monTool.defineHistogram('roi_output_phi', path='EXPERT', type='TH1F', title=';#phi_{RoI}^{L1};RoIs', xbins=50, xmin=-4, xmax=4)
27 monTool.defineHistogram('roi_output_pt', path='EXPERT', type='TH1F', title=';p_{T,RoI}^{L1} (GeV);RoIs', xbins=64, xmin=0, xmax=128.0)
28 monTool.defineHistogram('roi_output_curv',path='EXPERT', type='TH1F', title=';q/p_{T,RoI}^{L1} (1/GeV);RoIs', xbins=50, xmin=-0.4, xmax=0.4)
29 monTool.defineHistogram('delta_eta', path='EXPERT', type='TH1F', title=';#eta_{RoI}^{L1}-#eta_{#mu}^{truth};', xbins=50, xmin=-0.005,xmax=0.005)
30 monTool.defineHistogram('delta_phi', path='EXPERT', type='TH1F', title=';#phi_{RoI}^{L1}-#phi_{#mu}^{truth};', xbins=50, xmin=-0.1,xmax=0.1)
31 monTool.defineHistogram('delta_pt', path='EXPERT', type='TH1F', title=';(p_{T}^{L1}-p_{T}^{truth})/p_{T}^{truth};', xbins=50, xmin=-1,xmax=1)
32 monTool.defineHistogram('delta_curv',path='EXPERT', type='TH1F', title=';((q/p_{T})^{L1} - (q/p_{T})^{truth}) / (q/p_{T})^{truth}',xbins=50,xmin=-1,xmax=1)
33
34 alg.MonTool = monTool
35
36 from TriggerJobOpts.TriggerHistSvcConfig import TriggerHistSvcConfig
37 result.merge(TriggerHistSvcConfig(flags))
38
39 result.addEventAlgo(alg)
40 return result
41
42

Variable Documentation

◆ _log

L1MuonSmearingConfig._log = logging.getLogger(__name__)
protected

Definition at line 6 of file L1MuonSmearingConfig.py.

◆ acc

L1MuonSmearingConfig.acc = MainServicesCfg(flags)

Definition at line 57 of file L1MuonSmearingConfig.py.

◆ Files

L1MuonSmearingConfig.Files

Definition at line 49 of file L1MuonSmearingConfig.py.

◆ flags

L1MuonSmearingConfig.flags = initConfigFlags()

Definition at line 48 of file L1MuonSmearingConfig.py.

◆ isMC

L1MuonSmearingConfig.isMC

Definition at line 50 of file L1MuonSmearingConfig.py.

◆ MaxEvents

L1MuonSmearingConfig.MaxEvents

Definition at line 51 of file L1MuonSmearingConfig.py.

◆ MsgSuppression

L1MuonSmearingConfig.MsgSuppression

Definition at line 52 of file L1MuonSmearingConfig.py.

◆ smearerTruth

L1MuonSmearingConfig.smearerTruth
Initial value:
= L1MuonSmearingCfg(flags,
name = "L1MuonTruthSmearing",
InputTruthParticle = "TruthParticles",
OutputLevel = DEBUG)

Definition at line 63 of file L1MuonSmearingConfig.py.

◆ status

L1MuonSmearingConfig.status = acc.run()

Definition at line 73 of file L1MuonSmearingConfig.py.

◆ summariseProps

L1MuonSmearingConfig.summariseProps

Definition at line 70 of file L1MuonSmearingConfig.py.

◆ True

L1MuonSmearingConfig.True

Definition at line 70 of file L1MuonSmearingConfig.py.

◆ withDetails

L1MuonSmearingConfig.withDetails

Definition at line 70 of file L1MuonSmearingConfig.py.