10 from TriggerMenuMT.HLT.Config.Utility.ChainDefInMenu
import ChainProp
11 from .SignatureDicts
import ChainStore
14 from .
import Physics_pp_run3_v1
as physics_menu
15 from .
import P1_run3_v1
17 from .Physics_pp_run3_v1
import (
21 JetPhaseIStreamersGroup,
22 TauPhaseIStreamersGroup,
23 EgammaPhaseIStreamersGroup,
30 from AthenaCommon.Logging
import logging
31 log = logging.getLogger(__name__)
39 ChainProp(name=
'HLT_mu5_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
40 ChainProp(name=
'HLT_mu8_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
41 ChainProp(name=
'HLT_mu10_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
42 ChainProp(name=
'HLT_mu15_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
43 ChainProp(name=
'HLT_mu20_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
44 ChainProp(name=
'HLT_mu25_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
45 ChainProp(name=
'HLT_mu30_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
46 ChainProp(name=
'HLT_mu50_mucombTag_L1MU20VFC',groups=SingleMuonGroup+SupportGroup, monGroups=[
'muonMon:online']),
51 ChainProp(name=
'HLT_j0_perf_L1jJ30_EMPTY', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleJetGroup+SupportPhIGroup, monGroups=[
'jetMon:online']),
56 chainsP1[
'Streaming'] = [
57 ChainProp(name=
'HLT_noalg_L1MU3VC', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
58 ChainProp(name=
'HLT_noalg_L1MU3EOF', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
59 ChainProp(name=
'HLT_noalg_L1MU4BO', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
60 ChainProp(name=
'HLT_noalg_L1MU8FC', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
61 ChainProp(name=
'HLT_noalg_L1MU8FH', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
62 ChainProp(name=
'HLT_noalg_L1MU8EOF', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
63 ChainProp(name=
'HLT_noalg_L1MU9VF', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
64 ChainProp(name=
'HLT_noalg_L1MU9VFC', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
65 ChainProp(name=
'HLT_noalg_L1MU12FCH', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
66 ChainProp(name=
'HLT_noalg_L1MU14FCHR', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
67 ChainProp(name=
'HLT_noalg_L1MU14EOF', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main',
'express'], groups=SingleMuonGroup+SupportGroup),
68 ChainProp(name=
'HLT_noalg_L1MU15VFCH', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
69 ChainProp(name=
'HLT_noalg_L1MU15VFCHR', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
70 ChainProp(name=
'HLT_noalg_L1MU20VFC', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SingleMuonGroup+SupportGroup),
72 ChainProp(name=
'HLT_noalg_L1eTAU20L', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+TauPhaseIStreamersGroup),
73 ChainProp(name=
'HLT_noalg_L1eTAU35', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+TauPhaseIStreamersGroup),
74 ChainProp(name=
'HLT_noalg_L1eTAU40HM', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+TauPhaseIStreamersGroup),
76 ChainProp(name=
'HLT_noalg_L1eEM7', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
77 ChainProp(name=
'HLT_noalg_L1eEM10L', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
78 ChainProp(name=
'HLT_noalg_L1eEM15', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
79 ChainProp(name=
'HLT_noalg_L1eEM18', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
80 ChainProp(name=
'HLT_noalg_L1eEM22M', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
81 ChainProp(name=
'HLT_noalg_L1eEM24VM', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
83 ChainProp(name=
'HLT_noalg_L1jEM20', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
84 ChainProp(name=
'HLT_noalg_L1jEM20M', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+EgammaPhaseIStreamersGroup),
86 ChainProp(name=
'HLT_noalg_L1jJ30p0ETA25', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
87 ChainProp(name=
'HLT_noalg_L1jJ40p0ETA25', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
89 ChainProp(name=
'HLT_noalg_L1jJ55', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
90 ChainProp(name=
'HLT_noalg_L1jJ55p0ETA23', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
91 ChainProp(name=
'HLT_noalg_L1jJ70p0ETA23', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
92 ChainProp(name=
'HLT_noalg_L1jJ80', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup, monGroups=[
'jetMon:online']),
93 ChainProp(name=
'HLT_noalg_L1jJ80p0ETA25', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
94 ChainProp(name=
'HLT_noalg_L1jJ85p0ETA21', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
95 ChainProp(name=
'HLT_noalg_L1jJ140', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup, monGroups=[
'jetMon:online']),
96 ChainProp(name=
'HLT_noalg_L1jJ180', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
98 ChainProp(name=
'HLT_noalg_L1jLJ180', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportPhIGroup+JetPhaseIStreamersGroup),
101 ChainProp(name=
'HLT_noalg_L1MU14FCH_EMPTY', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportGroup+MuonXStreamersGroup),
102 ChainProp(name=
'HLT_noalg_L1MU14FCH_UNPAIRED_ISO', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=SupportGroup+MuonXStreamersGroup),
105 ChainProp(name=
'HLT_noalg_L1AFP_FSA_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
106 ChainProp(name=
'HLT_noalg_L1AFP_FSC_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
108 ChainProp(name=
'HLT_noalg_L1AFP_FSA_TOF_T0_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
109 ChainProp(name=
'HLT_noalg_L1AFP_FSA_TOF_T1_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
110 ChainProp(name=
'HLT_noalg_L1AFP_FSA_TOF_T2_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
111 ChainProp(name=
'HLT_noalg_L1AFP_FSA_TOF_T3_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
112 ChainProp(name=
'HLT_noalg_L1AFP_FSC_TOF_T0_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
113 ChainProp(name=
'HLT_noalg_L1AFP_FSC_TOF_T1_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
114 ChainProp(name=
'HLT_noalg_L1AFP_FSC_TOF_T2_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
115 ChainProp(name=
'HLT_noalg_L1AFP_FSC_TOF_T3_BGRP12', l1SeedThresholds=[
'FSNOSEED'], stream=[
'Main'], groups=MinBiasGroup+SupportGroup),
118 for sig,chainsInSig
in chainsP1.items():
119 for chain
in chainsInSig:
120 for group
in chain.groups:
121 if 'Primary' in group:
122 log.error(
"chain %s in PhysicsP1 menu [%s] with Primary tag. Please move this to Physics menu file", chain.name, sig)
123 raise RuntimeError(
"Move %s chain to Physics menu file",chain.name)
125 for sig,chainsInSig
in chainsP1.items():
126 chains[sig] += chainsInSig
129 log.info(
'setupMenu ...')
132 chains = physics_menu.setupMenu()
137 P1_run3_v1.addCommonP1Signatures(chains)
138 P1_run3_v1.addHighMuP1Signatures(chains)