16 from .SignatureDicts
import ChainStore
19 ExpressStream=
'express'
20 SingleMuonGroup = [
'RATE:SingleMuon',
'BW:Muon']
21 MultiMuonGroup = [
'RATE:MultiMuon',
'BW:Muon']
22 SingleElectronGroup = [
'RATE:SingleElectron',
'BW:Electron']
23 MultiElectronGroup = [
'RATE:MultiElectron',
'BW:Electron']
24 SinglePhotonGroup = [
'RATE:SinglePhoton',
'BW:Photon']
25 MultiPhotonGroup = [
'RATE:MultiPhoton',
'BW:Photon']
26 METGroup = [
'RATE:MET',
'BW:MET']
27 SingleJetGroup = [
'RATE:SingleJet',
'BW:Jet']
28 MultiJetGroup = [
'RATE:MultiJet',
'BW:Jet']
29 SingleBjetGroup = [
'RATE:SingleBJet',
'BW:BJet']
30 MultiBjetGroup = [
'RATE:MultiBJet',
'BW:BJet']
31 EgammaBjetGroup = [
'RATE:EgammaBjet',
'BW:BJet']
32 MuonBjetGroup = [
'RATE:MuonBjet',
'BW:BJet']
33 BjetMETGroup = [
'RATE:BjetMET',
'BW:BJet']
34 SingleTauGroup = [
'RATE:SingleTau',
'BW:Tau']
35 MultiTauGroup = [
'RATE:MultiTau',
'BW:Tau']
36 BphysicsGroup = [
'RATE:Bphysics',
'BW:Bphysics']
37 BphysElectronGroup = [
'RATE:BphysicsElectron',
'BW:BphysicsElectron']
38 EgammaMuonGroup = [
'RATE:EgammaMuon',
'BW:Egamma',
'BW:Muon']
39 EgammaMETGroup = [
'RATE:EgammaMET',
'BW:Egamma',
'BW:MET']
40 MuonJetGroup =[
'RATE:MuonJet',
'BW:Muon',
'BW:Jet']
41 TauMETGroup =[
'RATE:TauMET',
'BW:Tau']
42 TauJetGroup =[
'RATE:TauJet',
'BW:Tau']
43 TauBJetGroup =[
'RATE:TauBJet',
'BW:Tau']
44 TauPhotonGroup =[
'RATE:TauPhoton',
'BW:Tau']
45 MuonMETGroup =[
'RATE:MuonMET',
'BW:Muon']
46 EgammaJetGroup = [
'RATE:EgammaJet',
'BW:Egamma']
47 EgammaTauGroup =[
'RATE:EgammaTau',
'BW:Egamma',
'BW:Tau']
48 MuonTauGroup =[
'RATE:MuonTau',
'BW:Muon',
'BW:Tau']
49 JetMETGroup = [
'RATE:JetMET',
'BW:Jet']
50 MinBiasGroup = [
'RATE:MinBias',
'BW:MinBias']
51 ZeroBiasGroup = [
'RATE:ZeroBias',
'BW:ZeroBias']
52 MuonXStreamersGroup = [
'RATE:SeededStreamers',
'BW:Muon']
53 MuonXPhaseIStreamersGroup = [
'RATE:PhaseISeededStreamers',
'BW:Muon']
54 EgammaStreamersGroup = [
'RATE:SeededStreamers',
'BW:Egamma']
55 EgammaPhaseIStreamersGroup = [
'RATE:PhaseISeededStreamers',
'BW:Egamma']
56 TauStreamersGroup = [
'RATE:SeededStreamers',
'BW:Tau']
57 TauPhaseIStreamersGroup = [
'RATE:PhaseISeededStreamers',
'BW:Tau']
58 JetStreamersGroup = [
'RATE:SeededStreamers',
'BW:Jet']
59 JetPhaseIStreamersGroup = [
'RATE:PhaseISeededStreamers',
'BW:Jet']
60 METStreamersGroup = [
'RATE:SeededStreamers',
'BW:MET']
61 METPhaseIStreamersGroup = [
'RATE:PhaseISeededStreamers',
'BW:MET']
63 PrimaryL1MuGroup = [
'Primary:L1Muon']
65 PrimaryLegGroup = [
'Primary:Legacy']
67 PrimaryPhIGroup = [
'Primary:PhaseI']
68 SupportGroup = [
'Support']
69 SupportLegGroup = [
'Support:Legacy']
70 SupportPhIGroup = [
'Support:PhaseI']
72 TagAndProbeGroup = [
'Support:TagAndProbe']
73 TagAndProbeLegGroup = [
'Support:LegacyTagAndProbe']
74 TagAndProbePhIGroup = [
'Support:PhaseITagAndProbe']
75 EOFL1MuGroup = [
'EOF:L1Muon']
76 EOFEgammaLegGroup = [
'EOF:EgammaLegacy']
77 EOFEgammaPhIGroup = [
'EOF:EgammaPhaseI']
78 EOFBPhysL1MuGroup = [
'EOF:BPhysL1Muon']
79 EOFBeePhIGroup = [
'EOF:BeePhaseI']
80 EOFTLALegGroup = [
'EOF:TLALegacy']
81 EOFTLAPhIGroup = [
'EOF:TLAPhaseI']
83 UnconvTrkGroup = [
'RATE:UnconvTrk',
'BW:UnconvTrk']
84 LowMuGroup = [
'LowMu']
86 Topo2Group = [
'Topo2']
87 Topo3Group = [
'Topo3']
88 LegacyTopoGroup = [
'LegacyTopo']
92 from AthenaCommon.Logging
import logging
93 log = logging.getLogger( __name__ )
94 log.info(
'[setupMenu] going to add the Physics menu chains now')
109 chains[
'Bphysics'] = []
111 chains[
'Combined'] = []
113 chains[
'Monitor'] = []
115 chains[
'Calib'] += []
117 chains[
'UnconventionalTracking'] += []
119 chains[
'EnhancedBias'] += []
121 chains[
'Streaming'] += []
123 chains[
'Beamspot'] += []
127 for chain
in chains[sig]:
129 for group
in chain.groups:
130 if 'Primary' in group
or 'Support' in group
or 'EOF' in group:
133 log.error(
"chain %s in Physics menu needs to be classified as either primary or support chain", chain.name)
134 raise RuntimeError(
"Add either the primary or support group to the chain %s",chain.name)