ATLAS Offline Software
Functions
EfexInputMonitorAlgorithm Namespace Reference

Functions

def EfexInputMonitoringConfig (flags)
 

Function Documentation

◆ EfexInputMonitoringConfig()

def EfexInputMonitorAlgorithm.EfexInputMonitoringConfig (   flags)
Function to configure LVL1 EfexInput algorithm in the monitoring system.

Definition at line 4 of file EfexInputMonitorAlgorithm.py.

5  '''Function to configure LVL1 EfexInput algorithm in the monitoring system.'''
6 
7  # get the component factory - used for getting the algorithms
8  from AthenaConfiguration.ComponentFactory import CompFactory
9  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
10  result = ComponentAccumulator()
11 
12  from LArBadChannelTool.LArBadChannelConfig import LArMaskedSCCfg
13 
14  result.merge(LArMaskedSCCfg(flags))
15 
16  # use L1Calo's special MonitoringCfgHelper
17  from TrigT1CaloMonitoring.LVL1CaloMonitoringConfig import L1CaloMonitorCfgHelper
18  helper = L1CaloMonitorCfgHelper(flags,CompFactory.EfexInputMonitorAlgorithm,'EfexInputMonAlg')
19 
20  helper.defineHistogram('LBNString,Error;h_summary',title='EfexInput Monitoring summary;LBN;Error',
21  fillGroup="errors",
22  type='TH2I',
23  xlabels=[""],
24  ybins=1,ymin=0,ymax=1,ylabels=[""],
25  opt=['kCanRebin','kAlwaysCreate'],merge="merge")
26 
27  helper.defineHistogram('LBN,TowerEta,TowerCount;h_dataTowers_ecal',title='DataTowers ECAL Average;LBN;Eta',
28  fillGroup="ecal",
29  type='TProfile2D',
30  xbins=1,xmin=0,xmax=1,
31  ybins=50,ymin=-2.5,ymax=2.5,
32  opt=['kAddBinsDynamically','kAlwaysCreate'],merge="merge")
33  helper.defineHistogram('LBN,TowerEta,TowerCount;h_dataTowers_hcal',title='DataTowers HCAL Average;LBN;Eta',
34  fillGroup="hcal",
35  type='TProfile2D',
36  xbins=1,xmin=0,xmax=1,
37  ybins=50,ymin=-2.5,ymax=2.5,
38  opt=['kAddBinsDynamically','kAlwaysCreate'],merge="merge")
39  helper.defineTree('LBNString,Error,EventNumber,TowerId,TowerEta,TowerPhi,TowerEmstatus,TowerHadstatus,TowerSlot,TowerCount,RefTowerCount,SlotSCID,timeSince,timeUntil;errors',
40  "lbnString/string:error/string:eventNumber/l:id/I:eta/F:phi/F:em_status/i:had_status/i:slot/I:count/I:ref_count/I:scid/string:timeSince/I:timeUntil/I",
41  title="errors tree;LBN;Error",fillGroup="errors")
42 
43 
44  result.merge(helper.result())
45  return result
46 
47 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
EfexInputMonitorAlgorithm.EfexInputMonitoringConfig
def EfexInputMonitoringConfig(flags)
Definition: EfexInputMonitorAlgorithm.py:4
python.LArBadChannelConfig.LArMaskedSCCfg
def LArMaskedSCCfg(configFlags)
Definition: LArBadChannelConfig.py:59