3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from TriggerJobOpts.TriggerByteStreamConfig
import ByteStreamReadCfg
11 "xAOD::TriggerTowerContainer/xAODTriggerTowers",
12 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersAux.",
13 "xAOD::TriggerTowerContainer/xAODTriggerTowersMuon",
14 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersMuonAux.",
15 "xAOD::TriggerTowerContainer/xAODTriggerTowersSpare",
16 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersSpareAux.",
18 "xAOD::TriggerTowerContainer/TriggerTowers",
19 "xAOD::TriggerTowerAuxContainer/TriggerTowersAux.",
20 "xAOD::TriggerTowerContainer/TriggerTowersMuon",
21 "xAOD::TriggerTowerAuxContainer/TriggerTowersMuonAux.",
22 "xAOD::TriggerTowerContainer/TriggerTowersSpare",
23 "xAOD::TriggerTowerAuxContainer/TriggerTowersSpareAux.",
26 "xAOD::CPMTowerContainer/CPMTowers",
27 "xAOD::CPMTowerAuxContainer/CPMTowersAux.",
28 "xAOD::CPMTowerContainer/CPMTowersOverlap",
29 "xAOD::CPMTowerAuxContainer/CPMTowersOverlapAux.",
31 "xAOD::CMXCPTobContainer/CMXCPTobs",
32 "xAOD::CMXCPTobAuxContainer/CMXCPTobsAux.",
34 "xAOD::CMXCPHitsContainer/CMXCPHits",
35 "xAOD::CMXCPHitsAuxContainer/CMXCPHitsAux.",
37 "xAOD::CMXJetTobContainer/CMXJetTobs",
38 "xAOD::CMXJetTobAuxContainer/CMXJetTobsAux.",
40 "xAOD::CMXJetHitsContainer/CMXJetHits",
41 "xAOD::CMXJetHitsAuxContainer/CMXJetHitsAux.",
43 "xAOD::CMXEtSumsContainer/CMXEtSums",
44 "xAOD::CMXEtSumsAuxContainer/CMXEtSumsAux.",
46 "xAOD::JEMEtSumsContainer/JEMEtSums",
47 "xAOD::JEMEtSumsAuxContainer/JEMEtSumsAux.",
49 "xAOD::CPMTobRoIContainer/CPMTobRoIs",
50 "xAOD::CPMTobRoIAuxContainer/CPMTobRoIsAux.",
51 "xAOD::CPMTobRoIContainer/CPMTobRoIsRoIB",
52 "xAOD::CPMTobRoIAuxContainer/CPMTobRoIsRoIBAux.",
54 "xAOD::JEMTobRoIContainer/JEMTobRoIs",
55 "xAOD::JEMTobRoIAuxContainer/JEMTobRoIsAux.",
56 "xAOD::JEMTobRoIContainer/JEMTobRoIsRoIB",
57 "xAOD::JEMTobRoIAuxContainer/JEMTobRoIsRoIBAux.",
59 "xAOD::JetElementContainer/JetElements",
60 "xAOD::JetElementAuxContainer/JetElementsAux.",
61 "xAOD::JetElementContainer/JetElementsOverlap",
62 "xAOD::JetElementAuxContainer/JetElementsOverlapAux.",
64 "xAOD::CMXRoIContainer/CMXRoIs",
65 "xAOD::CMXRoIAuxContainer/CMXRoIsAux.",
66 "xAOD::CMXRoIContainer/CMXRoIsRoIB",
67 "xAOD::CMXRoIAuxContainer/CMXRoIsRoIBAux.",
69 "xAOD::RODHeaderContainer/RODHeaders",
70 "xAOD::RODHeaderAuxContainer/RODHeadersAux.",
71 "xAOD::RODHeaderContainer/RODHeadersPP",
72 "xAOD::RODHeaderAuxContainer/RODHeadersPPAux.",
73 "xAOD::RODHeaderContainer/RODHeadersCP",
74 "xAOD::RODHeaderAuxContainer/RODHeadersCPAux.",
75 "xAOD::RODHeaderContainer/RODHeadersCPRoI",
76 "xAOD::RODHeaderAuxContainer/RODHeadersCPRoIAux.",
77 "xAOD::RODHeaderContainer/RODHeadersJEP",
78 "xAOD::RODHeaderAuxContainer/RODHeadersJEPAux.",
79 "xAOD::RODHeaderContainer/RODHeadersJEPRoI",
80 "xAOD::RODHeaderAuxContainer/RODHeadersJEPRoIAux.",
81 "xAOD::RODHeaderContainer/RODHeadersCPRoIB",
82 "xAOD::RODHeaderAuxContainer/RODHeadersCPRoIBAux.",
83 "xAOD::RODHeaderContainer/RODHeadersJEPRoIB",
84 "xAOD::RODHeaderAuxContainer/RODHeadersJEPRoIBAux.",
85 "std::vector<unsigned int>/L1CaloUnpackingErrors",
93 "xAOD::CPMTowerContainer/CPMTowers",
94 "xAOD::CPMTowerAuxContainer/CPMTowersAux.",
96 "xAOD::JetElementContainer/JetElements",
97 "xAOD::JetElementAuxContainer/JetElementsAux.",
99 if flags.Trigger.enableL1CaloPhase1:
102 "xAOD::TriggerTowerContainer/xAODTriggerTowers",
103 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersAux.",
110 cpmReadTool = CompFactory.getComp(
'LVL1BS::CpByteStreamV2Tool')(
111 name=
'CpByteStreamV2Tool',
112 enableEncoding =
False)
113 acc.addPublicTool(cpmReadTool)
114 jepReadTool = CompFactory.getComp(
'LVL1BS::JepByteStreamV2Tool')(
115 name=
'JepByteStreamV2Tool',
116 enableEncoding =
False)
117 acc.addPublicTool(jepReadTool)
123 typeNamesToDecode = []
125 if flags.Trigger.doLVL1
or forRoIBResultToxAOD:
135 acc.addPublicTool(CompFactory.LVL1BS.RodHeaderByteStreamTool(
"RodHeaderByteStreamTool",UseSWROD=(
max(flags.Input.RunNumbers+[0])>=484848)))
136 acc.addPublicTool(CompFactory.LVL1BS.PpmByteStreamReadV1V2Tool(
"PpmByteStreamReadV1V2Tool",UseSWROD=(
max(flags.Input.RunNumbers+[0])>=484848)))
138 if flags.Trigger.Online.isPartition: