ATLAS Offline Software
Functions | Variables
PixelAthClusterMonAlgCfg Namespace Reference

Functions

def PixelAthClusterMonAlgCfg (helper, alg, **kwargs)
 

Variables

string path = '/Pixel/TrackOnTrack/'
 end status histograms begin track histograms More...
 
string pathLowStat = '/Pixel/LumiBlockOnTrack/'
 
string histoGroupName = 'TSOSMeasurement'
 
string title = 'TSOS of type Measurement'
 
 helper
 
 alg
 
 type
 
string yaxistext = ';hit efficiency'
 
 opt
 
 histname
 
 onlylayers
 
 trackGroup = helper.addGroup(alg, 'Track')
 
string varName = 'res_phi'
 end cluster ToT and charge More...
 
 xbins
 
 xmin
 
 xmax
 
 lumibinsx
 
 ybins
 
 ymin
 
 ymax
 
 zmin
 
 zmax
 
 weight
 
 xlabels
 
string pathTiming = '/Pixel/Timing'
 
dictionary clusterGroup
 begin cluster timing More...
 
 pathGroup = addOnTrackToPath(pathTiming, ontrack)
 end cluster timing begin cluster sizes More...
 
string xaxistext = ';LVL1A'
 
string groupname = histoGroupName + '_{0}'.format(layer)
 
string fulltitle = title + ', {0}'.format(layer) + runtext + xaxistext + yaxistext
 
 layerGroup = helper.addGroup(alg, groupname)
 
string fullvarstring = varName + ';' + groupname
 
string var1Name = addOnTrackTxt('ClusterSize', ontrack) + '_em'
 
string 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
 

Function Documentation

◆ PixelAthClusterMonAlgCfg()

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

Definition at line 17 of file PixelAthClusterMonAlgCfg.py.

17 def 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

dictionary 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

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

Definition at line 237 of file PixelAthClusterMonAlgCfg.py.

◆ fullvarstring

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

Definition at line 239 of file PixelAthClusterMonAlgCfg.py.

◆ groupname

string 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

string 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

string 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

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

Definition at line 71 of file PixelAthClusterMonAlgCfg.py.

◆ pathTiming

string PixelAthClusterMonAlgCfg.pathTiming = '/Pixel/Timing'

Definition at line 207 of file PixelAthClusterMonAlgCfg.py.

◆ title

string 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

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

Definition at line 249 of file PixelAthClusterMonAlgCfg.py.

◆ var2Name

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

Definition at line 250 of file PixelAthClusterMonAlgCfg.py.

◆ varName

string 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

string 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

string 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.

PixelAthClusterMonAlgCfg.PixelAthClusterMonAlgCfg
def PixelAthClusterMonAlgCfg(helper, alg, **kwargs)
Definition: PixelAthClusterMonAlgCfg.py:17
PixelAthMonitoringBase.define1DProfLumiLayers
def define1DProfLumiLayers(helper, alg, name, title, path, yaxistext, type='TProfile', opt='', histname=None, onlylayers=layers)
Definition: PixelAthMonitoringBase.py:401
PixelAthMonitoringBase.define2DProfHist
def define2DProfHist(helper, alg, name, title, path, type='TProfile2D', doWeight=False, lifecycle='run', zmin=None, zmax=None, opt='', histname=None, onlylayers=baselayers)
Definition: PixelAthMonitoringBase.py:281
PixelAthMonitoringBase.define2DProfPerFEHist
def define2DProfPerFEHist(helper, alg, name, title, path, type='TProfile2D', doWeight=False, lifecycle='run', zmin=None, zmax=None, opt='', histname=None, onlylayers=baselayers)
Definition: PixelAthMonitoringBase.py:323