ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrigMinBiasMonitoring Namespace Reference

Functions

 SpCountMonitoring (flags)
 MbtsFexMonitoring (flags)
 MbtsHypoToolMonitoring (flags)
 TrackCountMonitoring (flags, hypoAlg)

Variables

str __MBTSXTitle = "channel (0-15 A side, 16-31 C side)"

Function Documentation

◆ MbtsFexMonitoring()

python.TrigMinBiasMonitoring.MbtsFexMonitoring ( flags)

Definition at line 28 of file TrigMinBiasMonitoring.py.

28def MbtsFexMonitoring(flags):
29 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
30 monTool = GenericMonitoringTool(flags,'MonTool')
31 monTool.defineHistogram('triggerEnergies', path='EXPERT', type='TH1D', title='triggerEnergies',xbins=50, xmin=-5, xmax=45)
32 monTool.defineHistogram('triggerTimes', path='EXPERT', type='TH1I', title='triggerTimes',xbins=100, xmin=-50, xmax=50)
33 monTool.defineHistogram('channelID, triggerEnergies', path='EXPERT', title=f'signal per channel;{__MBTSXTitle}; energy[pC]', type='TH2F', xbins=32, xmin=-0.5, xmax=31.5, ybins=20, ymin=-5,ymax=45)
34 monTool.defineHistogram('channelID, triggerEnergies;triggerEnergies_vs_channelID_zoom', path='EXPERT', title=f'signal per channel;{__MBTSXTitle}; energy[pC]', type='TH2F', xbins=32, xmin=-0.5, xmax=31.5, ybins=50, ymin=-2, ymax=3)
35 monTool.defineHistogram('channelID, triggerTimes', path='EXPERT', title=f'times per channel;{__MBTSXTitle}; time[ns]', type='TH2F', xbins=32, xmin=-0.5, xmax=31.5, ybins=20, ymin=-50, ymax=50)
36 monTool.defineHistogram('channelID, triggerTimes;triggerTimes_vs_channelID_zoom', path='EXPERT', title=f'times per channel;{__MBTSXTitle}; time[ns]', type='TH2F', xbins=32, xmin=-0.5, xmax=31.5, ybins=20, ymin=-5, ymax=5)
37 monTool.defineHistogram('timeDelta', path='EXPERT', type='TH1F', title='MBTS time delta;time[ns]', xbins=80, xmin=-40, xmax=40)
38
39 return monTool
40

◆ MbtsHypoToolMonitoring()

python.TrigMinBiasMonitoring.MbtsHypoToolMonitoring ( flags)

Definition at line 41 of file TrigMinBiasMonitoring.py.

41def MbtsHypoToolMonitoring(flags):
42 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
43 monTool = GenericMonitoringTool(flags, 'MonTool')
44 monTool.defineHistogram('Counts', path='EXPERT', title=f'MBTS counts per channel;{__MBTSXTitle};counts', type='TH1F', xbins=32, xmin=-0.5, xmax=31.5)
45
46 return monTool
47

◆ SpCountMonitoring()

python.TrigMinBiasMonitoring.SpCountMonitoring ( flags)

Definition at line 3 of file TrigMinBiasMonitoring.py.

3def SpCountMonitoring(flags):
4
5 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
6 monTool = GenericMonitoringTool(flags, 'MonTool')
7 monTool.defineHistogram('pixCL_1', path='EXPERT', type='TH1I', title='pixCL_1',xbins=100, xmin=1, xmax=1+6000)
8 monTool.defineHistogram('pixCLBeforeCuts', path='EXPERT', type='TH1I', title='totPixBeforeCuts', xbins = 250, xmin=0, xmax=1+6000)
9 monTool.defineHistogram('pixCL_2', path='EXPERT', type='TH1I', title='pixCL_2',xbins=100, xmin=1, xmax=1+6000)
10 monTool.defineHistogram('pixCLmin3', path='EXPERT', type='TH1I', title='pixCLmin3',xbins=100, xmin=1, xmax=1+6000)
11 monTool.defineHistogram('pixCL', path='EXPERT', type='TH1I', title='pixCL', xbins = 500, xmin=1, xmax=1+6000)
12 monTool.defineHistogram('pixCLnoToT', path='EXPERT', type='TH1I', title='pixCLnoToT', xbins = 500, xmin=1, xmax=1+6000)
13 monTool.defineHistogram('pixCLBarrel', path='EXPERT', type='TH1I', title='pixClBarrel', xbins = 500, xmin=1, xmax=1+6000)
14 monTool.defineHistogram('pixCLEndcapA', path='EXPERT', type='TH1I', title='pixClEndcapA', xbins = 500, xmin=1, xmax=1+3000)
15 monTool.defineHistogram('pixCLEndcapC', path='EXPERT', type='TH1I', title='pixClEndcapC', xbins = 500, xmin=1, xmax=1+3000)
16 monTool.defineHistogram('pixModulesOverThreshold', path='EXPERT', type='TH1I', title='Pixels ModulesOverThreshold', xbins = 100, xmin=1, xmax=200)
17 monTool.defineHistogram('sctSP', path='EXPERT', type='TH1I', title='sctSP', xbins = 500, xmin=1, xmax=6000)
18 monTool.defineHistogram('sctSPEndcapC', path='EXPERT', type='TH1I', title='sctSPEndcapC', xbins = 500, xmin=1, xmax=1+3000)
19 monTool.defineHistogram('sctSPBarrel', path='EXPERT', type='TH1I', title='sctSPBarrel', xbins = 500, xmin=1, xmax=1+6000)
20 monTool.defineHistogram('sctSPEndcapA', path='EXPERT', type='TH1I', title='sctSPEndcapA', xbins = 500, xmin=1, xmax=1+3000)
21 monTool.defineHistogram('pixCL, sctSP', path='EXPERT', type='TH2I', title='SP ; pix SP after ToT cut; sct SP', xbins = 50, xmin=1, xmax=1+6000, ybins = 50, ymin=0, ymax=6000)
22 monTool.defineHistogram('sctModulesOverThreshold', path='EXPERT', type='TH1I', title='SCT ModulesOverThreshold', xbins = 100, xmin=1, xmax=1+200)
23 monTool.defineHistogram('pixQ2mod', path='EXPERT', type='TH1I', title='Q2', xbins = 50, xmin=0.01, xmax=1.01)
24
25 return monTool
26

◆ TrackCountMonitoring()

python.TrigMinBiasMonitoring.TrackCountMonitoring ( flags,
hypoAlg )

Definition at line 48 of file TrigMinBiasMonitoring.py.

48def TrackCountMonitoring(flags, hypoAlg):
49 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
50 monTool = GenericMonitoringTool(flags, 'MonTool')
51 monTool.defineHistogram('ntrks', path='EXPERT', type='TH1I', title='ntrks', xbins=200, xmin=0, xmax=200)
52 for i in range(len(hypoAlg.minPt)):
53 monTool.defineHistogram('countsSelection{}'.format(i),
54 path='EXPERT', type='TH1I', title='counts for min pT and max z0 cut',
55 xbins=200, xmin=0, xmax=200)
56 monTool.defineHistogram( "trkPt", path='EXPERT', type='TH1I', title="Tracks pt (low pt part);p_{T} [GeV]", xbins=100, xmin=0, xmax=10)
57 monTool.defineHistogram( "trkEta", path='EXPERT', type='TH1I', title="Tracks eta;#eta", xbins=50, xmin=-2.5, xmax=2.5)
58
59 return monTool

Variable Documentation

◆ __MBTSXTitle

str python.TrigMinBiasMonitoring.__MBTSXTitle = "channel (0-15 A side, 16-31 C side)"
private

Definition at line 27 of file TrigMinBiasMonitoring.py.