ATLAS Offline Software
Functions | Variables
TrigFwdZDCMonitoring Namespace Reference

Functions

def TrigFwdZDCMonitoringAlg (configFlags)
 

Variables

 flags
 
 HISTFileName
 
 cfg
 
 OutputLevel
 
 withDetails
 

Function Documentation

◆ TrigFwdZDCMonitoringAlg()

def TrigFwdZDCMonitoring.TrigFwdZDCMonitoringAlg (   configFlags)
Configure general ZDC chains monitoring algs 

Definition at line 6 of file TrigFwdZDCMonitoring.py.

6 def TrigFwdZDCMonitoringAlg(configFlags):
7  """ Configure general ZDC chains monitoring algs """
8  monConfig = AthMonitorCfgHelper(configFlags,'FwdZDCMonitoringAlgs')
9 
10  zdcMonAlg = monConfig.addAlgorithm(CompFactory.FwdZDCMonitoringAlg, 'FwdZDCTrigMonitoringAlg')
11 
12  zdcMonAlg.triggerList += ['L1_ZDC_A','L1_ZDC_C','L1_ZDC_A_C','L1_ZDC_XOR']
13  # this creates a 'Group' called 'zdcMonitor' which will put its histograms into the subdirectory 'L1/FwdZDC/'
14 
15  length = len(zdcMonAlg.triggerList)
16 
17  zdcCountsGroup = monConfig.addGroup(zdcMonAlg, 'ZDCall', topPath='L1/FwdZDC/')
18  zdcCountsGroup.defineHistogram('TrigCounts', title='Trigger counts;;Event rate',
19  xbins=length, xmin=0, xmax=length, xlabels=list(zdcMonAlg.triggerList))
20  zdcCountsGroup.defineHistogram('moduleNum,moduleEnergy', type='TH2F', title= ';channel ID;CalibEnergy per channel [GeV]',
21  xbins=8, xmin=-0.5, xmax=7.5,
22  ybins=120, ymin=0, ymax=6e4)
23  zdcCountsGroup.defineHistogram('e_A,e_C', type='TH2F', title= ';Low Gain ADC counts on side A [GeV];Low Gain ADC counts on side C [GeV]',
24  xbins=160, xmin=0.0, xmax=8e4,
25  ybins=160, ymin=0.0, ymax=8e4)
26  zdcCountsGroup.defineHistogram('e_A', title=';CalibEnergy on side A [GeV];counts',
27  xbins=160, xmin=0.0, xmax=8e4)
28  zdcCountsGroup.defineHistogram('e_C', title=';CalibEnergy on side C [GeV];counts',
29  xbins=160, xmin=0.0, xmax=8e4)
30 
31 
32  for chain in zdcMonAlg.triggerList:
33  zdcExpGroup = monConfig.addGroup(zdcMonAlg, chain+'_expert', topPath='L1/FwdZDC/'+chain+'/' )
34  zdcExpGroup.defineHistogram('moduleNum,moduleEnergy', type='TH2F', title= 'occupancy for {};channel ID;CalibEnergy per channel [GeV]'.format(chain),
35  xbins=8, xmin=-0.5, xmax=7.5,
36  ybins=120, ymin=0, ymax=6e4)
37  zdcExpGroup.defineHistogram('e_A,e_C', type='TH2F', title= 'occupancy for {};CalibEnergy on side A [GeV];CalibEnergy on side C [GeV]'.format(chain),
38  xbins=160, xmin=0.0, xmax=8e4,
39  ybins=160, ymin=0.0, ymax=8e4)
40  zdcExpGroup.defineHistogram('e_A', title='occupancy for {};CalibEnergy on side A [GeV];counts'.format(chain),
41  xbins=160,xmin=0.0,xmax=8e4)
42  zdcExpGroup.defineHistogram('e_C', title='occupancy for {};CalibEnergy on side C [GeV];counts'.format(chain),
43  xbins=160,xmin=0.0,xmax=8e4)
44 
45 
46  return monConfig.result()
47 
48 

Variable Documentation

◆ cfg

TrigFwdZDCMonitoring.cfg

Definition at line 65 of file TrigFwdZDCMonitoring.py.

◆ flags

TrigFwdZDCMonitoring.flags

Definition at line 57 of file TrigFwdZDCMonitoring.py.

◆ HISTFileName

TrigFwdZDCMonitoring.HISTFileName

Definition at line 58 of file TrigFwdZDCMonitoring.py.

◆ OutputLevel

TrigFwdZDCMonitoring.OutputLevel

Definition at line 70 of file TrigFwdZDCMonitoring.py.

◆ withDetails

TrigFwdZDCMonitoring.withDetails

Definition at line 71 of file TrigFwdZDCMonitoring.py.

vtune_athena.format
format
Definition: vtune_athena.py:14
TrigFwdZDCMonitoring.TrigFwdZDCMonitoringAlg
def TrigFwdZDCMonitoringAlg(configFlags)
Definition: TrigFwdZDCMonitoring.py:6
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38