40 from AthenaMonitoring
import AthMonitorCfgHelper
41 monConfig = AthMonitorCfgHelper(flags,
'HLTHeavyIonMonitoring')
43 from AthenaConfiguration.ComponentFactory
import CompFactory
44 alg = monConfig.addAlgorithm(CompFactory.HLTHeavyIonMonAlg,
'HLTHeavyIonMonAlgo')
46 from TrigConfigSvc.TriggerConfigAccess
import getHLTMonitoringAccess
54 log.info(f
'Monitoring {len(hiChains)} MinBias heavy-ion chains')
55 log.debug([name
for name, _
in hiChains])
57 alg.triggerListMon = [name
for name, _
in hiChains]
59 for chain, group
in hiChains:
60 hiSumETGroup = monConfig.addGroup(alg, f
'{chain}_sumEt', topPath=f
'HLT/MinBiasMon/{group}/SumEt/{chain}/')
64 hiSumETGroup.defineHistogram(
'sum_L1TE', title=
'TE sum from legacy L1;L1 Legacy E_{T} [GeV];Events', **ranges)
65 hiSumETGroup.defineHistogram(
'sum_L1jTE', title=
'TE sum from jFex L1;L1 jFEX E_{T} [GeV];Events', **ranges)
66 hiSumETGroup.defineHistogram(
'sum_L1FWDAjTE', title=
'FwdTE sum from jFex L1 (side A);L1 jFEX FWD_{A} E_{T} [GeV];Events', **ranges_fwd)
67 hiSumETGroup.defineHistogram(
'sum_L1FWDCjTE', title=
'FwdTE sum from jFex L1 (side C);L1 jFEX FWD_{C} E_{T} [GeV];Events', **ranges_fwd)
68 hiSumETGroup.defineHistogram(
'sum_FCalAEt', title=
'FCal sum from HLT (side A);HLT FCal_{A} E_{T} [GeV];Events', **ranges_fwd)
69 hiSumETGroup.defineHistogram(
'sum_FCalCEt', title=
'FCal sum from HLT (side C);HLT FCal_{C} E_{T} [GeV];Events', **ranges_fwd)
72 ranges |= {
'ybins': ranges[
'xbins'],
'ymin': ranges[
'xmin'],
'ymax': ranges[
'xmax']}
73 ranges_fwd |= {
'ybins': ranges_fwd[
'xbins'],
'ymin': ranges_fwd[
'xmin'],
'ymax': ranges_fwd[
'xmax']}
74 hiSumETGroup.defineHistogram(
'sum_L1TE,sum_L1jTE', type=
'TH2F', title=
'Legacy vs Phase-I TE;L1 Legacy E_{T} [GeV];L1 jFEX E_{T} [GeV];Events', **ranges)
75 hiSumETGroup.defineHistogram(
'sum_L1FWDAjTE,sum_L1FWDCjTE', type=
'TH2F', title=
'FwdTE A-C side corr.;L1 jFEX FWD_{A} E_{T} [GeV];L1 jFEX FWD_{C} E_{T} [GeV];Events', **ranges_fwd)
76 hiSumETGroup.defineHistogram(
'sum_FCalAEt,sum_FCalCEt', type=
'TH2F', title=
'FCal sum A-C side corr.;HLT FCal_{A} E_{T} [GeV];HLT FCal_{C} E_{T} [GeV];Events', **ranges_fwd)
77 hiSumETGroup.defineHistogram(
'sum_L1FWDAjTE,sum_FCalAEt', type=
'TH2F', title=
'FwdTE vs FCal, A side;L1 jFEX FWD_{A} E_{T} [GeV];HLT FCal_{A} E_{T} [GeV];Events', **ranges_fwd)
78 hiSumETGroup.defineHistogram(
'sum_L1FWDCjTE,sum_FCalCEt', type=
'TH2F', title=
'FwdTE vs FCal, C side;L1 jFEX FWD_{C} E_{T} [GeV];HLT FCal_{C} E_{T} [GeV];Events', **ranges_fwd)
80 return monConfig.result()