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

Functions

 PixelAthClusterMonAlgCfg (helper, alg, **kwargs)

Variables

str path = '/Pixel/TrackOnTrack/'
 end status histograms begin track histograms
str pathLowStat = '/Pixel/LumiBlockOnTrack/'
str histoGroupName = 'TSOSMeasurement'
str title = 'TSOS of type Measurement'
 helper
 alg
 type
str yaxistext = ';hit efficiency'
 opt
 histname
 onlylayers
 trackGroup = helper.addGroup(alg, 'Track')
str varName = 'res_phi'
 end cluster ToT and charge
 xbins
 xmin
 xmax
 lumibinsx
 ybins
 ymin
 ymax
 zmin
 zmax
 weight
 xlabels
str pathTiming = '/Pixel/Timing'
dict clusterGroup
 begin cluster timing
 pathGroup = addOnTrackToPath(pathTiming, ontrack)
 end cluster timing begin cluster sizes
str xaxistext = ';LVL1A'
str groupname = histoGroupName + '_{0}'.format(layer)
str fulltitle = title + ', {0}'.format(layer) + runtext + xaxistext + yaxistext
 layerGroup = helper.addGroup(alg, groupname)
str fullvarstring = varName + ';' + groupname
str var1Name = addOnTrackTxt('ClusterSize', ontrack) + '_em'
str var2Name = addOnTrackTxt('ClusterSize', ontrack) + '_clsize'
int xmax1D = 20000 if ontrack else 80000
int xbins1D = 2000
int binsizes1D = 25 if ontrack else 100
 xmins
 binsizes
 e4
 lifecycle
 ztotbinsy
 ymins
 ztotminsy

Detailed Description

@file PixelAthClusterMonAlgCfg.py
@brief Configuration of Pixel Monitoring Clusters, Tracks and Status Histograms for Run 3

Function Documentation

◆ PixelAthClusterMonAlgCfg()

PixelAthClusterMonAlgCfg.PixelAthClusterMonAlgCfg ( helper,
alg,
** kwargs )

Definition at line 17 of file PixelAthClusterMonAlgCfg.py.

17def PixelAthClusterMonAlgCfg(helper, alg, **kwargs):
18
19 doOnline = kwargs.get('doOnline', False)
20 doLumiBlock = kwargs.get('doLumiBlock', False)
21 doLowOccupancy = kwargs.get('doLowOccupancy', False)
22 doHeavyIonMon = kwargs.get('doHeavyIonMon', False)
23 doFEPlots = kwargs.get('doFEPlots', False)
24
25
26
27 path = '/Pixel/Status/'
28 pathLowStat = '/Pixel/LumiBlock/'
29
30 histoGroupName = 'MapOfModulesStatus'
31 title = 'Modules Status (0=Active+Good, 1=Active+Bad, 2=Inactive)'
32 define2DProfHist(helper, alg, histoGroupName, title, path, type='TProfile2D')
33
34 if doOnline:
35 title = 'Modules Status (0=Active+Good, 1=Active+Bad, 2=Inactive) reset every 2 LBs'
36 define2DProfHist(helper, alg, histoGroupName, title, path, type='TProfile2D', zmin=0, zmax=2, opt='kLBNHistoryDepth=2', histname='MapOfModulesStatusMon')
37
38 if doFEPlots:
39 histoGroupName = 'MapOfFEsStatus'
40 title = 'FEs Status (0=Active+Good, 1=Active+Bad, 2=Inactive)'
41 define2DProfPerFEHist(helper, alg, histoGroupName, title, path, type='TProfile2D')
42
43 if doLumiBlock:
44 if not doFEPlots:
45 histoGroupName = 'MapOfModulesStatus'
46 title = 'Modules Status (0=Active+Good, 1=Active+Bad, 2=Inactive)'
47 define2DProfHist(helper, alg, histoGroupName, title, pathLowStat, type='TProfile2D', lifecycle='lumiblock', histname='MapOfModulesStatusLB')
48 else:
49 histoGroupName = 'MapOfFEsStatus'
50 title = 'FEs Status (0=Active+Good, 1=Active+Bad, 2=Inactive)'
51 define2DProfPerFEHist(helper, alg, histoGroupName, title, pathLowStat, type='TProfile2D', lifecycle='lumiblock', histname='MapOfFEsStatusLB')
52
53 histoGroupName = 'BadModulesPerLumi'
54 title = 'Fraction of bad modules (bad+active) per event per LB'
55 yaxistext = ';# modules/event'
56 define1DProfLumiLayers(helper, alg, histoGroupName, title, path, yaxistext, type='TProfile')
57
58 histoGroupName = 'DisabledModulesPerLumi'
59 title = 'Fraction of disabled modules per event per LB'
60 yaxistext = ';# modules/event'
61 define1DProfLumiLayers(helper, alg, histoGroupName, title, path, yaxistext, type='TProfile')
62
63 histoGroupName = 'BadAndDisabledModulesPerLumi'
64 title = 'Fraction of bad and disabled modules per event per LB'
65 yaxistext = ';# modules/event'
66 define1DProfLumiLayers(helper, alg, histoGroupName, title, path, yaxistext, type='TProfile')
67

Variable Documentation

◆ alg

PixelAthClusterMonAlgCfg.alg

Definition at line 75 of file PixelAthClusterMonAlgCfg.py.

◆ binsizes

PixelAthClusterMonAlgCfg.binsizes

Definition at line 301 of file PixelAthClusterMonAlgCfg.py.

◆ binsizes1D

int PixelAthClusterMonAlgCfg.binsizes1D = 25 if ontrack else 100

Definition at line 294 of file PixelAthClusterMonAlgCfg.py.

◆ clusterGroup

dict PixelAthClusterMonAlgCfg.clusterGroup
Initial value:
1= { True: helper.addGroup(alg, "Cluster_OnTrack" ),
2 False: helper.addGroup(alg, "Cluster") }

begin cluster timing

Definition at line 211 of file PixelAthClusterMonAlgCfg.py.

◆ e4

PixelAthClusterMonAlgCfg.e4

Definition at line 332 of file PixelAthClusterMonAlgCfg.py.

◆ fulltitle

str PixelAthClusterMonAlgCfg.fulltitle = title + ', {0}'.format(layer) + runtext + xaxistext + yaxistext

Definition at line 237 of file PixelAthClusterMonAlgCfg.py.

◆ fullvarstring

str PixelAthClusterMonAlgCfg.fullvarstring = varName + ';' + groupname

Definition at line 239 of file PixelAthClusterMonAlgCfg.py.

◆ groupname

str PixelAthClusterMonAlgCfg.groupname = histoGroupName + '_{0}'.format(layer)

Definition at line 235 of file PixelAthClusterMonAlgCfg.py.

◆ helper

PixelAthClusterMonAlgCfg.helper

Definition at line 75 of file PixelAthClusterMonAlgCfg.py.

◆ histname

PixelAthClusterMonAlgCfg.histname

Definition at line 106 of file PixelAthClusterMonAlgCfg.py.

◆ histoGroupName

str PixelAthClusterMonAlgCfg.histoGroupName = 'TSOSMeasurement'

Definition at line 73 of file PixelAthClusterMonAlgCfg.py.

◆ layerGroup

PixelAthClusterMonAlgCfg.layerGroup = helper.addGroup(alg, groupname)

Definition at line 238 of file PixelAthClusterMonAlgCfg.py.

◆ lifecycle

PixelAthClusterMonAlgCfg.lifecycle

Definition at line 367 of file PixelAthClusterMonAlgCfg.py.

◆ lumibinsx

PixelAthClusterMonAlgCfg.lumibinsx

Definition at line 162 of file PixelAthClusterMonAlgCfg.py.

◆ onlylayers

PixelAthClusterMonAlgCfg.onlylayers

Definition at line 114 of file PixelAthClusterMonAlgCfg.py.

◆ opt

PixelAthClusterMonAlgCfg.opt

Definition at line 106 of file PixelAthClusterMonAlgCfg.py.

◆ path

str PixelAthClusterMonAlgCfg.path = '/Pixel/TrackOnTrack/'

end status histograms begin track histograms

end track histograms begin cluster histograms

Definition at line 70 of file PixelAthClusterMonAlgCfg.py.

◆ pathGroup

PixelAthClusterMonAlgCfg.pathGroup = addOnTrackToPath(pathTiming, ontrack)

end cluster timing begin cluster sizes

end cluster occupancy begin cluster ToT and charge

end cluster rates begin cluster occupancy

end cluster sizes begin cluster rates

Definition at line 214 of file PixelAthClusterMonAlgCfg.py.

◆ pathLowStat

str PixelAthClusterMonAlgCfg.pathLowStat = '/Pixel/LumiBlockOnTrack/'

Definition at line 71 of file PixelAthClusterMonAlgCfg.py.

◆ pathTiming

str PixelAthClusterMonAlgCfg.pathTiming = '/Pixel/Timing'

Definition at line 207 of file PixelAthClusterMonAlgCfg.py.

◆ title

str PixelAthClusterMonAlgCfg.title = 'TSOS of type Measurement'

Definition at line 74 of file PixelAthClusterMonAlgCfg.py.

◆ trackGroup

PixelAthClusterMonAlgCfg.trackGroup = helper.addGroup(alg, 'Track')

Definition at line 124 of file PixelAthClusterMonAlgCfg.py.

◆ type

PixelAthClusterMonAlgCfg.type

Definition at line 75 of file PixelAthClusterMonAlgCfg.py.

◆ var1Name

str PixelAthClusterMonAlgCfg.var1Name = addOnTrackTxt('ClusterSize', ontrack) + '_em'

Definition at line 249 of file PixelAthClusterMonAlgCfg.py.

◆ var2Name

str PixelAthClusterMonAlgCfg.var2Name = addOnTrackTxt('ClusterSize', ontrack) + '_clsize'

Definition at line 250 of file PixelAthClusterMonAlgCfg.py.

◆ varName

str PixelAthClusterMonAlgCfg.varName = 'res_phi'

end cluster ToT and charge

Definition at line 125 of file PixelAthClusterMonAlgCfg.py.

◆ weight

PixelAthClusterMonAlgCfg.weight

Definition at line 176 of file PixelAthClusterMonAlgCfg.py.

◆ xaxistext

str PixelAthClusterMonAlgCfg.xaxistext = ';LVL1A'

Definition at line 232 of file PixelAthClusterMonAlgCfg.py.

◆ xbins

PixelAthClusterMonAlgCfg.xbins

Definition at line 130 of file PixelAthClusterMonAlgCfg.py.

◆ xbins1D

int PixelAthClusterMonAlgCfg.xbins1D = 2000

Definition at line 279 of file PixelAthClusterMonAlgCfg.py.

◆ xlabels

PixelAthClusterMonAlgCfg.xlabels

Definition at line 201 of file PixelAthClusterMonAlgCfg.py.

◆ xmax

PixelAthClusterMonAlgCfg.xmax

Definition at line 130 of file PixelAthClusterMonAlgCfg.py.

◆ xmax1D

int PixelAthClusterMonAlgCfg.xmax1D = 20000 if ontrack else 80000

Definition at line 278 of file PixelAthClusterMonAlgCfg.py.

◆ xmin

PixelAthClusterMonAlgCfg.xmin

Definition at line 130 of file PixelAthClusterMonAlgCfg.py.

◆ xmins

PixelAthClusterMonAlgCfg.xmins

Definition at line 301 of file PixelAthClusterMonAlgCfg.py.

◆ yaxistext

str PixelAthClusterMonAlgCfg.yaxistext = ';hit efficiency'

Definition at line 100 of file PixelAthClusterMonAlgCfg.py.

◆ ybins

PixelAthClusterMonAlgCfg.ybins

Definition at line 169 of file PixelAthClusterMonAlgCfg.py.

◆ ymax

PixelAthClusterMonAlgCfg.ymax

Definition at line 169 of file PixelAthClusterMonAlgCfg.py.

◆ ymin

PixelAthClusterMonAlgCfg.ymin

Definition at line 169 of file PixelAthClusterMonAlgCfg.py.

◆ ymins

PixelAthClusterMonAlgCfg.ymins

Definition at line 385 of file PixelAthClusterMonAlgCfg.py.

◆ zmax

PixelAthClusterMonAlgCfg.zmax

Definition at line 169 of file PixelAthClusterMonAlgCfg.py.

◆ zmin

PixelAthClusterMonAlgCfg.zmin

Definition at line 169 of file PixelAthClusterMonAlgCfg.py.

◆ ztotbinsy

PixelAthClusterMonAlgCfg.ztotbinsy

Definition at line 385 of file PixelAthClusterMonAlgCfg.py.

◆ ztotminsy

PixelAthClusterMonAlgCfg.ztotminsy

Definition at line 385 of file PixelAthClusterMonAlgCfg.py.