150 tool = CompFactory.gFexByteStreamTool(name)
151 gfex_roi_moduleids = [0x3000]
152 tool.ROBIDs = [
int(SourceIdentifier(SubDetector.TDAQ_CALO_FEAT_EXTRACT_ROI, moduleid))
for moduleid
in gfex_roi_moduleids]
155 tool.gFexRhoOutputContainerReadKey =
"L1_gFexRhoRoI"
156 tool.gFexSRJetOutputContainerReadKey =
"L1_gFexSRJetRoI"
157 tool.gFexLRJetOutputContainerReadKey =
"L1_gFexLRJetRoI"
158 tool.gScalarEJwojOutputContainerReadKey =
"L1_gScalarEJwoj"
159 tool.gMETComponentsJwojOutputContainerReadKey =
"L1_gMETComponentsJwoj"
160 tool.gMHTComponentsJwojOutputContainerReadKey =
"L1_gMHTComponentsJwoj"
161 tool.gMSTComponentsJwojOutputContainerReadKey =
"L1_gMSTComponentsJwoj"
162 tool.gMETComponentsNoiseCutOutputContainerReadKey =
"L1_gMETComponentsNoiseCut"
163 tool.gMETComponentsRmsOutputContainerReadKey =
"L1_gMETComponentsRms"
164 tool.gScalarENoiseCutOutputContainerReadKey =
"L1_gScalarENoiseCut"
165 tool.gScalarERmsOutputContainerReadKey =
"L1_gScalarERms"
168 tool.gFexRhoOutputContainerWriteKey =
""
169 tool.gFexSRJetOutputContainerWriteKey =
""
170 tool.gFexLRJetOutputContainerWriteKey =
""
171 tool.gScalarEJwojOutputContainerWriteKey =
""
172 tool.gMETComponentsJwojOutputContainerWriteKey =
""
173 tool.gMHTComponentsJwojOutputContainerWriteKey =
""
174 tool.gMSTComponentsJwojOutputContainerWriteKey =
""
175 tool.gMETComponentsNoiseCutOutputContainerWriteKey =
""
176 tool.gMETComponentsRmsOutputContainerWriteKey =
""
177 tool.gScalarENoiseCutOutputContainerWriteKey =
""
178 tool.gScalarERmsOutputContainerWriteKey =
""
181 tool.gFexRhoOutputContainerReadKey =
""
182 tool.gFexSRJetOutputContainerReadKey =
""
183 tool.gFexLRJetOutputContainerReadKey =
""
184 tool.gScalarEJwojOutputContainerReadKey =
""
185 tool.gMETComponentsJwojOutputContainerReadKey =
""
186 tool.gMHTComponentsJwojOutputContainerReadKey =
""
187 tool.gMSTComponentsJwojOutputContainerReadKey =
""
188 tool.gMETComponentsNoiseCutOutputContainerReadKey =
""
189 tool.gMETComponentsRmsOutputContainerReadKey =
""
190 tool.gScalarENoiseCutOutputContainerReadKey =
""
191 tool.gScalarERmsOutputContainerReadKey =
""
194 tool.gFexRhoOutputContainerWriteKey =
"L1_gFexRhoRoI"
195 tool.gFexSRJetOutputContainerWriteKey =
"L1_gFexSRJetRoI"
196 tool.gFexLRJetOutputContainerWriteKey =
"L1_gFexLRJetRoI"
197 tool.gScalarEJwojOutputContainerWriteKey =
"L1_gScalarEJwoj"
198 tool.gMETComponentsJwojOutputContainerWriteKey =
"L1_gMETComponentsJwoj"
199 tool.gMHTComponentsJwojOutputContainerWriteKey =
"L1_gMHTComponentsJwoj"
200 tool.gMSTComponentsJwojOutputContainerWriteKey =
"L1_gMSTComponentsJwoj"
201 tool.gMETComponentsNoiseCutOutputContainerWriteKey =
"L1_gMETComponentsNoiseCut"
202 tool.gMETComponentsRmsOutputContainerWriteKey =
"L1_gMETComponentsRms"
203 tool.gScalarENoiseCutOutputContainerWriteKey =
"L1_gScalarENoiseCut"
204 tool.gScalarERmsOutputContainerWriteKey =
"L1_gScalarERms"
207 if flags.Output.HISTFileName !=
'' or flags.Trigger.doHLT:
208 if flags.Trigger.doHLT:
209 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
214 from AthenaMonitoring
import AthMonitorCfgHelper
215 helper = AthMonitorCfgHelper(flags,
'HLTFramework')
216 monTool = helper.addGroup(
None, f
'{name}MonTool', f
'/HLT/HLTFramework/L1BSConverters/{name}')
218 acc.merge(helper.result())
220 monTool.defineHistogram(
'gfexDecoderErrorTitle,gfexDecoderErrorLocation;errors', path=topDir, type=
'TH2I',
221 title=
'gFEX TOB Decoder Errors;Type;Location',
224 opt=[
'kCanRebin'],merge=
"merge")
225 tool.MonTool = monTool
228 acc.setPrivateTools(tool)