7 from AthenaConfiguration.ComponentFactory
import CompFactory
9 GroupName =
'TriggerCount'
11 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
12 monAlg = helper.addAlgorithm(CompFactory.MuonTriggerCount,
'MuonTriggerCount',
13 MuonSelectionTool = helper.result().popToolsAndMerge(
MuonSelectionToolCfg(helper.flags, MuQuality=1)))
16 from TrigConfigSvc.TriggerConfigAccess
import getHLTMonitoringAccess
18 monitoredChains = moniAccess.monitoredChains(signatures=
"muonMon",monLevels=[
"shifter",
"t0",
"val"])
21 if len(monitoredChains) == 0:
23 monitoredChains = [
'HLT_mu6_L1MU5VF',
'HLT_mu24_ivarmedium_L1MU14FCH',
'HLT_mu50_L1MU14FCH',
'HLT_mu60_0eta105_msonly_L1MU14FCH',
'HLT_2mu14_L12MU8F',
'HLT_mu22_mu8noL1_L1MU14FCH']
25 monitoredChains.sort()
27 monAlg.MonitoredChains = monitoredChains
29 monAlg.Group = GroupName
31 histGroup = helper.addGroup(monAlg, GroupName,
'HLT/MuonMon/TriggerCount')
33 histGroup.defineHistogram(
'TriggerCount;Monitoring_Chain',
34 title=
'Monitoring Chain Count;;Events',
35 type=
'TH1I',path=
'', xlabels=monitoredChains)