ATLAS Offline Software
Functions
HLTSeedingMonitoring Namespace Reference

Functions

def CTPUnpackingMonitoring (flags, maxItems, maxChains)
 
def RoIsUnpackingMonitoring (flags, prefix, maxCount, maxEta=3., phiOffset=0., etaOffset=0.)
 
def PrescalingMonitoring (flags)
 
def L1DataConsistencyMonitoring (flags)
 

Function Documentation

◆ CTPUnpackingMonitoring()

def HLTSeedingMonitoring.CTPUnpackingMonitoring (   flags,
  maxItems,
  maxChains 
)

Definition at line 8 of file HLTSeedingMonitoring.py.

8 def CTPUnpackingMonitoring(flags, maxItems, maxChains):
9  tool = GenericMonitoringTool(flags, 'MonTool')
10  tool.HistPath="HLTFramework/HLTSeeding"
11  tool.defineHistogram('TAVItems', path='EXPERT', type='TH1F', title='Number of active L1 TAV items;N Items;N Events',
12  xbins=maxItems, xmin=0, xmax=maxItems)
13  tool.defineHistogram('Chains', path='EXPERT', type='TH1F', title='Number of activated Chains;N Chains;N Events',
14  xbins=(maxChains//4 if maxChains>100 else maxChains), xmin=0, xmax=maxChains)
15  return tool
16 
17 

◆ L1DataConsistencyMonitoring()

def HLTSeedingMonitoring.L1DataConsistencyMonitoring (   flags)

Definition at line 46 of file HLTSeedingMonitoring.py.

47  tool = GenericMonitoringTool(flags, 'MonTool')
48  tool.HistPath="HLTFramework/HLTSeeding/L1DataConsistencyChecker"
49 
50  tool.defineHistogram('TIME_consistencyCheck', path='EXPERT', type='TH1F',
51  title='Time of consistencyCheck() calls;Time [ms];N calls',
52  xbins=100, xmin=0, xmax=50)
53  tool.defineHistogram('MissingTOBs', path='EXPERT', type='TH1F',
54  title='L1 thresholds with missing TOBs;Threshold name;Events with missing TOBs',
55  xbins=10, xmin=0, xmax=10)
56  tool.defineHistogram('MissingTOBsIncludingOverflow', path='EXPERT', type='TH1F',
57  title='L1 thresholds with missing TOBs (incl. overflow);Threshold name;Events with missing TOBs',
58  xbins=10, xmin=0, xmax=10)
59  tool.defineHistogram('ThrName,CtpCount', path='EXPERT', type='TH2F',
60  title='Max threshold multiplicity accepted by CTP;Threshold name;Multiplicity',
61  xbins=50, xmin=0, xmax=50, ybins=20, ymin=0, ymax=20)
62  tool.defineHistogram('ThrName,TobCount', path='EXPERT', type='TH2F',
63  title='Number of TOBs passing thresholds;Threshold name;Number of TOBs',
64  xbins=50, xmin=0, xmax=50, ybins=200, ymin=0, ymax=200)
65  tool.defineHistogram('ThrName,TobMinusCtpCount', path='EXPERT', type='TH2F',
66  title='Diff. between N TOBs and CTP multiplicity;Threshold name;N TOBs - CTP multiplicity',
67  xbins=50, xmin=0, xmax=50, ybins=250, ymin=-50, ymax=200)
68  return tool

◆ PrescalingMonitoring()

def HLTSeedingMonitoring.PrescalingMonitoring (   flags)

Definition at line 34 of file HLTSeedingMonitoring.py.

34 def PrescalingMonitoring(flags):
35  tool = GenericMonitoringTool(flags, 'MonTool')
36  tool.HistPath="HLTFramework/HLTSeeding"
37  tool.defineHistogram('LB,HLTPSK', path='EXPERT', type='TH2I', opt='kAddBinsDynamically',
38  title='HLT prescale key used in LB;Lumiblock;HLTPSK',
39  xbins=100, xmin=0, xmax=100, ybins=5, ymin=0, ymax=5)
40  tool.defineHistogram('Random', path='EXPERT', type='TH1F',
41  title='Random number distribution;random number',
42  xbins=100, xmin=0, xmax=1)
43  return tool
44 
45 

◆ RoIsUnpackingMonitoring()

def HLTSeedingMonitoring.RoIsUnpackingMonitoring (   flags,
  prefix,
  maxCount,
  maxEta = 3.,
  phiOffset = 0.,
  etaOffset = 0. 
)

Definition at line 18 of file HLTSeedingMonitoring.py.

18 def RoIsUnpackingMonitoring(flags, prefix, maxCount, maxEta=3., phiOffset=0.,etaOffset=0.):
19  tool = GenericMonitoringTool(flags, 'MonTool')
20  tool.HistPath = f'HLTFramework/HLTSeeding/RoIs_{prefix}'
21  tool.defineHistogram('count', path='EXPERT', type='TH1F', title=f'Number of {prefix} RoIs;N RoIs;N Events',
22  xbins=maxCount, xmin=0, xmax=maxCount)
23  tool.defineHistogram('eta', path='EXPERT', type='TH1F', title=f'{prefix} RoIs eta;eta;N RoIs',
24  xbins=int(20*maxEta), xmin=-(maxEta-etaOffset), xmax=(maxEta+etaOffset))
25  tool.defineHistogram('phi', path='EXPERT', type='TH1F', title=f'{prefix} RoIs phi;phi;N RoIs',
26  xbins=64, xmin=-(math.pi-phiOffset), xmax=(math.pi+phiOffset))
27  tool.defineHistogram('eta,phi', path='EXPERT', type='TH2F', title=f'{prefix} RoIs eta-phi;eta;phi;N RoIs',
28  xbins=int(20*maxEta), xmin=-(maxEta-etaOffset), xmax=(maxEta+etaOffset),
29  ybins=64, ymin=-(math.pi-phiOffset), ymax=(math.pi+phiOffset))
30 
31  return tool
32 
33 
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
HLTSeedingMonitoring.RoIsUnpackingMonitoring
def RoIsUnpackingMonitoring(flags, prefix, maxCount, maxEta=3., phiOffset=0., etaOffset=0.)
Definition: HLTSeedingMonitoring.py:18
HLTSeedingMonitoring.L1DataConsistencyMonitoring
def L1DataConsistencyMonitoring(flags)
Definition: HLTSeedingMonitoring.py:46
HLTSeedingMonitoring.PrescalingMonitoring
def PrescalingMonitoring(flags)
Definition: HLTSeedingMonitoring.py:34
GenericMonitoringTool
Definition: GenericMonitoringTool.h:53
HLTSeedingMonitoring.CTPUnpackingMonitoring
def CTPUnpackingMonitoring(flags, maxItems, maxChains)
Definition: HLTSeedingMonitoring.py:8