15 from optparse
import OptionParser
17 import TrigEDMConfig.TriggerEDM
as edm
29 Class to calculate total trigger AOD size
35 from Logger
import Logger
38 print(
"Can't import logger in test mode")
43 self.
checkFile = paramDict.get(
'checkFile',
'AOD.pool.root.checkFile')
57 'ElectronContainer_p1_AtlfastElectronCollection',
58 'INav4MomAssocs_p2_AtlfastMcAodAssocs',
59 'MuonContainer_p3_AtlfastMuonCollection',
60 'MuonContainer_p3_AtlfastNonIsoMuonCollection',
61 'ParticleJetContainer_p1_AtlfastParticleJetContainer',
62 'PhotonContainer_p1_AtlfastPhotonCollection',
63 'Rec::TrackParticleContainer_tlp1_AtlfastTrackParticles',
64 'TauJetContainer_p1_AtlfastTauJet1p3pContainer',
65 'TauJetContainer_p1_AtlfastTauJetContainer',
66 'JetCollection_p2_AtlfastJetContainer',
67 'JetCollection_tlp5_AtlfastJetContainer',
68 'TauJetContainer_p2_AtlfastTauJetContainer',
69 'TauJetContainer_p2_AtlfastTauJet1p3pContainer',
70 'TauJetContainer_p3_AtlfastTauJet1p3pContainer',
71 'TauJetContainer_p3_AtlfastTauJetContainer',
72 'JetCollection_tlp2_AtlfastJetContainer',
73 'MuonContainer_p4_AtlfastNonIsoMuonCollection',
74 'MuonContainer_p4_AtlfastMuonCollection',
75 'egDetailContainer_p1_AtlfastIsoEleShowerContainer',
76 'egDetailContainer_p1_AtlfastEleShowerContainer',
77 'ElectronContainer_p1_AtlfastIsoElectronCollection',
78 'MuonContainer_p4_AtlfastIsoMuonCollection',
79 'egDetailContainer_p1_AtlfastIsoPhoShowerContainer',
80 'PhotonContainer_p1_AtlfastIsoPhotonCollection',
81 'egDetailContainer_p1_AtlfastPhoShowerContainer',
82 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationCombined_Electron_EFID',
84 atlfastCounter =
Counter(
'atlfast',atlfastList)
87 'CaloClusterContainer_p2_CaloCalTopoCluster',
88 'CaloClusterContainer_p2_CombinedCluster',
89 'CaloClusterContainer_p2_EMTopoCluster',
90 'CaloClusterContainer_p2_LArClusterEMSofte',
91 'CaloClusterContainer_p3_CaloCalTopoCluster',
92 'CaloClusterContainer_p3_EMTopoCluster',
93 'CaloClusterContainer_p3_LArClusterEMSofte',
94 'CaloClusterContainer_p3_MuonClusterCollection',
95 'CaloClusterContainer_p4_CaloCalTopoCluster',
96 'CaloClusterContainer_p4_EMTopoCluster',
97 'CaloClusterContainer_p4_LArClusterEMSofte',
98 'CaloClusterContainer_p5_Tau1P3PCellEM012ClusterContainer',
99 'CaloClusterContainer_p5_Tau1P3PCellCluster',
100 'CaloClusterContainer_p5_LArClusterEMFrwd',
101 'CaloClusterContainer_p5_Tau1P3PPi0ClusterContainer',
102 'CaloClusterContainer_p5_MuonClusterCollection',
103 'CaloClusterContainer_p5_egClusterCollection',
104 'CaloClusterContainer_p5_LArClusterEMSofte',
105 'CaloClusterContainer_p5_EMTopoCluster430',
106 'CaloClusterContainer_p5_CaloCalTopoCluster',
107 'CaloClusterContainer_p7_LArClusterEMFrwd',
108 'CaloClusterContainer_p7_LArClusterEMSofte',
109 'CaloClusterContainer_p7_egClusterCollection',
110 'CaloClusterContainer_p7_LArClusterEMSofte',
111 'CaloClusterContainer_p7_egClusterCollection',
112 'CaloClusterContainer_p7_EMTopoCluster430',
113 'LArNoisyROSummary_p1_LArNoisyROSummary',
114 'CaloClusterContainer_p7_CaloCalTopoCluster',
115 'TileCellVec_MBTSContainer',
116 'TileContainer<TileMu>_TileMuObj',
118 caloCounter =
Counter(
'calo',caloList)
121 'CaloCellLinkContainer_p2_egClusterCollection_Link',
122 'CaloClusterContainer_p2_egClusterCollection',
123 'CaloClusterContainer_p3_egClusterCollection',
124 'CaloClusterContainer_p4_egClusterCollection',
125 'egDetailContainer_p1_egDetailAOD',
126 'egDetailContainer_p2_egDetailAOD',
127 'ElectronContainer_p1_ElectronAODCollection',
128 'PhotonContainer_p1_PhotonAODCollection',
129 'PhotonContainer_p4_PhotonAODCollection',
130 'CaloClusterContainer_p4_EMTopoCluster430',
131 'CaloClusterContainer_p4_LArClusterEMFrwd',
132 'ElectronContainer_p4_ElectronAODCollection',
133 'TrigPassFlagsCollection_p1_HLT_isEM',
134 'TrigPassFlagsCollection_p1_HLT_passflags',
136 egammaCounter =
Counter(
'egamma',egammaList)
140 'EventInfo_p2_ByteStreamEventInfo',
141 'EventInfo_p2_McEventInfo',
142 'EventStreamInfo_p1_StreamAOD',
143 'IOVMetaDataContainer_p1__GLOBAL_DETSTATUS_LBSUMM',
144 'LumiBlockCollection_p1_LumiBlocks',
146 'MetaDataHdrDataHeader',
147 'PileUpEventInfo_p2_OverlayEvent',
148 'EventInfo_p2_MyEvent',
149 'IOVMetaDataContainer_p1__Simulation_Parameters',
150 'IOVMetaDataContainer_p1__Digitization_Parameters',
151 'BCM_RDO_Container_p0_BCM_CompactDOs',
152 'MetaDataHdrDataHeaderForm',
153 'EventBookkeeperCollection_p1_EventSelector.Counter',
154 'IOVMetaDataContainer_p1__LAR_LArAffectedRegionInfo',
155 'EventStreamInfo_p2_StreamAOD',
156 'RawInfoSummaryForTag_p1_RawInfoSummaryForTag',
157 'EventInfo_p3_McEventInfo',
158 'POOLContainer_DataHeaderForm',
159 'IOVMetaDataContainer_p1__EXT_DCS_MAGNETS_SENSORDATA',
160 'IOVMetaDataContainer_p1__GLOBAL_BField_Map',
161 'IOVMetaDataContainer_p1__TagInfo',
164 eventinfoCounter =
Counter(
'eventinfo',eventinfoList)
167 'CaloCompactCellContainer_AODCellContainer',
168 'CaloCompactCellContainer_AllCalo',
170 'TPCnv::MuonMeasurements_tlp1',
171 'Trk::TrackCollection_tlp1_egammaSlimmedTrackCollection',
172 'Trk::TrackCollection_tlp1_MuonSlimmedTrackCollection',
173 'Trk::TrackCollection_tlp2_Tracks',
174 'Trk::TrackCollection_tlp3_Tracks',
176 emtCounter =
Counter(
'emt',emtList)
179 'Rec::TrackParticleContainer_tlp1_TrackParticleCandidate',
180 'Trk::MVFVxContainer_tlp1',
181 'Trk::V0Container_tlp1_V0Candidates',
182 'Trk::VxContainer_tlp1_ConversionCandidate',
183 'Trk::VxContainer_tlp1_Conversions',
184 'Trk::VxContainer_tlp1_VxPrimaryCandidate',
185 'Trk::VxContainer_tlp1_SecVertices',
186 'Trk::VxContainer_tlp1_AllPhotonsVxCandidates',
187 'InDetLowBetaContainer_tlp1_InDetLowBetaCandidates',
189 indetCounter =
Counter(
'indet',indetList)
192 'ParticleJetContainer_p1_Cone4H1TopoParticleJets',
193 'ParticleJetContainer_p1_Cone4H1TowerParticleJets',
194 'ParticleJetContainer_p1_Cone7H1TopoParticleJets',
195 'ParticleJetContainer_p1_Cone7H1TowerParticleJets',
196 'ParticleJetContainer_p1_Kt4H1TopoParticleJets',
197 'ParticleJetContainer_p1_Kt4H1TowerParticleJets',
198 'ParticleJetContainer_p1_Kt6H1TopoParticleJets',
199 'ParticleJetContainer_p1_Kt6H1TowerParticleJets',
200 'JetCollection_p2_Cone4H1TopoJets',
201 'JetCollection_p2_Cone4H1TowerJets',
202 'JetCollection_p2_Cone7H1TopoJets',
203 'JetCollection_p2_Cone7H1TowerJets',
204 'JetCollection_p2_Kt4H1TopoJets',
205 'JetCollection_p2_Kt4H1TowerJets',
206 'JetCollection_p2_Kt6H1TopoJets',
207 'JetCollection_p2_Kt6H1TowerJets',
208 'JetKeyDescriptor_p1_JetKeyMap',
209 'JetCollection_tlp2_Cone4H1TopoJets',
210 'JetCollection_tlp2_Cone7H1TopoJets',
211 'JetCollection_tlp2_Cone4H1TowerJets',
212 'JetCollection_tlp2_Cone7H1TowerJets',
213 'JetCollection_tlp2_Kt4H1TopoJets',
214 'JetCollection_tlp2_Kt4H1TowerJets',
215 'JetCollection_tlp2_Kt6H1TopoJets',
216 'JetCollection_tlp2_Kt6H1TowerJets',
217 'Analysis::JetTagInfo_tlp1',
218 'JetCollection_tlp5_Cone4TruthJets',
219 'JetCollection_tlp5_Cone4H1TopoJets',
220 'JetCollection_tlp5_Cone4H1TowerJets',
221 'JetCollection_tlp5_Cone7H1TowerJets',
223 'JetCollection_tlp5_AntiKt6H1TopoJets',
224 'JetCollection_tlp5_AntiKt6LCTopoJets',
225 'JetCollection_tlp5_AntiKt4H1TopoJets',
226 'JetCollection_tlp5_AntiKt4H1TowerJets',
227 'JetCollection_tlp5_AntiKt6H1TowerJets',
229 'JetMomentMap_p6_TrigJetRecMomentMap',
231 jetCounter =
Counter(
'jet',jetList)
234 'ParticleJetContainer_p1_Cone4TruthParticleJets',
235 'ParticleJetContainer_p1_Cone7TruthParticleJets',
236 'ParticleJetContainer_p1_Kt4TruthParticleJets',
237 'ParticleJetContainer_p1_Kt6TruthParticleJets',
238 'JetCollection_p2_JetTruthParticles',
239 'JetCollection_p2_JetTruthPileupParticles',
240 'JetCollection_p2_Cone4TruthJets',
241 'JetCollection_p2_Cone7TruthJets',
242 'JetCollection_p2_Cone4TruthPileupJets',
243 'JetCollection_p2_Cone7TruthPileupJets',
244 'JetCollection_p2_Kt4TruthJets',
245 'JetCollection_p2_Kt6TruthJets',
246 'JetCollection_p2_Kt4TruthPileupJets',
247 'JetCollection_p2_Kt6TruthPileupJets',
248 'JetCollection_tlp2_Cone4TruthJets',
249 'JetCollection_tlp2_Cone7TruthJets',
250 'JetCollection_tlp2_Kt4TruthJets',
251 'JetCollection_tlp2_Kt6TruthJets',
253 jtCounter =
Counter(
'jt',jtList)
256 'MissingET_p1_MET_CellOut_MiniJet',
257 'MissingET_p1_AtlfastMissingEt',
258 'MissingET_p1_MET_CellOut',
259 'MissingET_p1_MET_Cryo',
260 'MissingET_p1_MET_CryoCone',
261 'MissingET_p1_MET_DM_All',
262 'MissingET_p1_MET_DM_Crack1',
263 'MissingET_p1_MET_DM_Crack2',
264 'MissingET_p1_MET_DM_Cryo',
265 'MissingET_p1_MET_Final',
266 'MissingET_p1_MET_LocHadTopoObj',
267 'MissingET_p1_MET_Muon',
268 'MissingET_p1_MET_MuonBoy',
269 'MissingET_p1_MET_RefEle',
270 'MissingET_p1_MET_RefFinal',
271 'MissingET_p1_MET_RefGamma',
272 'MissingET_p1_MET_RefJet',
273 'MissingET_p1_MET_RefMuon',
274 'MissingET_p1_MET_RefTau',
275 'MissingET_p1_MET_TopoObj',
276 'MissingET_p1_ObjMET_Elec',
277 'MissingET_p1_ObjMET_Final',
278 'MissingET_p1_ObjMET_IdTrk',
279 'MissingET_p1_ObjMET_Jet',
280 'MissingET_p1_ObjMET_MiniJet',
281 'MissingET_p1_ObjMET_Muon',
282 'MissingET_p1_ObjMET_Rest',
283 'MissingET_p1_ObjMET_TauJet',
284 'MissingEtCalo_p1_MET_Base',
285 'MissingEtCalo_p1_MET_Calib',
286 'MissingEtCalo_p1_MET_CorrTopo',
287 'MissingEtCalo_p1_MET_LocHadTopo',
288 'MissingEtCalo_p1_MET_Topo',
289 'MissingETSig_p1_METSig',
290 'MissingETSigObjContainer_p1_EtMissObjCollection',
291 'MissingEtTruth_MET_Truth',
292 'MissingET_p1_MET_RefMuon_Track',
293 'MissingET_p1_MET_MuonBoy_Spectro',
294 'MissingET_p1_MET_MuonBoy_Track',
295 'MissingETSigHypoContainer_p1_EtMissHypoCollection',
296 'MissingEtCalo_p1_MET_Base0',
297 'MissingET_p2_MET_RefTau',
298 'MissingET_p2_MET_RefGamma',
299 'MissingET_p2_MET_MuonBoy',
300 'MissingET_p2_MET_MuonBoy_Track',
301 'MissingET_p2_MET_MuonBoy_Spectro',
302 'MissingET_p2_MET_RefEle',
303 'MissingET_p2_MET_CryoCone',
304 'MissingET_p2_MET_Cryo',
305 'MissingET_p2_MET_Muon',
306 'MissingET_p2_MET_DM_Cryo',
307 'MissingET_p2_MET_TopoObj',
308 'MissingET_p2_MET_DM_All',
309 'MissingET_p2_MET_LocHadTopoObj',
310 'MissingET_p2_MET_RefJet',
311 'MissingET_p2_MET_RefFinal',
312 'MissingET_p2_MET_Final',
313 'MissingET_p2_MET_DM_Crack2',
314 'MissingET_p2_AtlfastMissingEt',
315 'MissingET_p2_MET_CellOut',
316 'MissingET_p2_MET_DM_Crack1',
317 'MissingEtCalo_p2_MET_Base0',
318 'MissingEtCalo_p2_MET_Base',
319 'MissingEtCalo_p2_MET_Calib',
320 'MissingEtCalo_p2_MET_LocHadTopo',
321 'MissingEtCalo_p2_MET_Topo',
322 'MissingEtCalo_p2_MET_CorrTopo',
323 'MissingET_p3_MET_RefGamma'
324 'MissingET_p3_MET_RefMuon',
325 'MissingET_p3_MET_RefEle',
326 'MissingET_p3_MET_RefMuon_Track',
327 'MissingET_p3_MET_CryoCone',
328 'MissingET_p3_MET_Muid_Track',
329 'MissingET_p3_MET_MuonBoy_Track',
330 'MissingET_p3_MET_Cryo',
331 'MissingET_p3_MET_TopoObj',
332 'MissingET_p3_MET_DM_All',
333 'MissingET_p3_MET_DM_Crack2',
334 'MissingET_p3_MET_Track',
335 'MissingET_p3_MET_DM_Cryo',
336 'MissingET_p3_MET_LocHadTopoObj',
337 'MissingET_p3_MET_DM_Crack1',
338 'MissingET_p3_MET_MuonBoy_Spectro',
339 'MissingET_p3_MET_RefTau',
340 'MissingET_p3_MET_MuonBoy',
341 'MissingET_p3_MET_Muid',
342 'MissingET_p3_MET_Muid_Spectro',
343 'MissingET_p3_MET_Muon',
344 'MissingET_p3_MET_MuonMuid',
345 'MissingET_p3_MET_Final',
346 'MissingET_p3_MET_RefJet',
347 'MissingET_p3_MET_CellOut_Eflow',
348 'MissingET_p3_MET_CellOut',
349 'MissingET_p3_MET_RefFinal',
350 'MissingET_p3_MET_RefGamma',
351 'MissingET_p3_MET_RefMuon',
352 'MissingEtCalo_p3_MET_Base0',
353 'MissingEtCalo_p3_MET_Calib',
354 'MissingEtCalo_p3_MET_Base',
355 'MissingEtCalo_p3_MET_Topo',
356 'MissingEtCalo_p3_MET_LocHadTopo',
357 'MissingEtCalo_p3_MET_CorrTopo',
358 'MissingETComposition_p1_MET_RefComposition',
360 metCounter =
Counter(
'met',metList)
363 'CaloCellLinkContainer_p2_MuonClusterCollection_Link',
364 'CaloClusterContainer_p2_MuonClusterCollection',
365 'CaloClusterContainer_p4_MuonClusterCollection',
366 'MuonCaloEnergyContainer_p1_MuonCaloEnergyCollection',
367 'MuonContainer_p1_CaloMuonCollection',
368 'MuonContainer_p1_MuidMuonCollection',
369 'MuonContainer_p1_StacoMuonCollection',
370 'MuonContainer_p3_CaloMuonCollection',
371 'MuonContainer_p3_MuidMuonCollection',
372 'MuonContainer_p3_StacoMuonCollection',
373 'MuonContainer_p4_CaloMuonCollection',
374 'MuonContainer_p4_MuidMuonCollection',
375 'MuonContainer_p4_StacoMuonCollection',
376 'MuonContainer_p6_CaloMuonCollection',
377 'MuonContainer_p6_StacoMuonCollection',
378 'MuonContainer_p6_MuidMuonCollection',
379 'MuonContainer_p6_MuGirlLowBetaCollection',
380 'MuonSpShowerContainer_p1_MuonSpShowers',
381 'POOLContainer_MuonFeature_p1',
382 'Rec::TrackParticleContainer_tlp1_MooreTrackParticles',
383 'Rec::TrackParticleContainer_tlp1_MuidCombTrackParticles',
384 'Rec::TrackParticleContainer_tlp1_MuidExtrTrackParticles',
385 'Rec::TrackParticleContainer_tlp1_MuonboyMuonSpectroOnlyTrackParticles',
386 'Rec::TrackParticleContainer_tlp1_MuonboyTrackParticles',
387 'Rec::TrackParticleContainer_tlp1_MuTagTrackParticles',
388 'Rec::TrackParticleContainer_tlp1_StacoTrackParticles',
389 'Trk::SegmentCollection_tlp1_ConvertedMBoySegments',
390 'Trk::SegmentCollection_tlp1_MooreSegments',
391 'Trk::SegmentCollection_tlp1_MooreSegments_',
392 'Trk::SegmentCollection_tlp1_MuGirlSegments',
393 'Trk::TrackCollection_tlp2_MuonSlimmedTrackCollection',
394 'Rec::TrackParticleContainer_tlp1_MuGirlRefittedTrackParticles',
395 'Rec::TrackParticleContainer_tlp1_MuTagIMOTrackParticles',
396 'TileMuContainer_p1_TileMuObj',
397 'MuonContainer_p4_MuGirlLowBetaCollection',
398 'Trk::TrackCollection_tlp3_MuonSlimmedTrackCollection',
399 'MuonCaloEnergyContainer_tlp1_MuonCaloEnergyCollection',
400 'Muon::ChamberT0s_p1_MboyMuonChamberT0s',
401 'Muon::ChamberT0s_p1_MooreMuonChamberT0s',
402 'CaloClusterContainer_p7_MuonClusterCollection',
404 muonCounter =
Counter(
'muon',muonList)
407 'CaloClusterContainer_p2_Tau1P3PPi0ClusterContainer',
408 'CaloClusterContainer_p3_Tau1P3PPi0ClusterContainer',
409 'CaloClusterContainer_p4_Tau1P3PPi0ClusterContainer',
410 'TauDetailsContainer_tlp1_Tau1P3PDetailsContainer',
411 'TauDetailsContainer_tlp1_TauRecDetailsContainer',
412 'TauDetailsContainer_tlp2_TauRecDetailsContainer',
413 'TauJetContainer_p1_Tau1P3PContainer',
414 'TauJetContainer_p1_TauRecContainer',
415 'TauJetContainer_p2_TauRecContainer',
416 'TauJetContainer_p3_TauRecContainer',
417 'TauJetContainer_p4_TauRecContainer',
418 'CaloClusterContainer_p4_Tau1P3PCellCluster',
419 'CaloClusterContainer_p4_Tau1P3PCellEM012ClusterContainer',
420 'CaloClusterContainer_p7_Tau1P3PCellEM012ClusterContainer',
421 'CaloClusterContainer_p7_Tau1P3PCellCluster',
422 'CaloClusterContainer_p7_Tau1P3PPi0ClusterContainer',
424 tauCounter =
Counter(
'tau',tauList)
430 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Bjet_EFID',
431 'TrigEFBjetContainer_tlp2_HLT_EFBjetFex',
432 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Jet',
433 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Jet',
434 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Jet',
435 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Jet',
436 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Jet',
437 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Jet',
438 'TrigInDetTrackCollection_tlp3_HLT_TrigL2SiTrackFinder',
439 'TrigL2BjetContainer_tlp2_HLT_L2BjetFex',
440 'TrigL2BjetContainer_p3_HLT_L2BjetFex',
441 'TrigVertexCollection_tlp1_HLT_T2HistoPrmVtx',
442 'TrigVertexCollection_tlp1_HLT_TrigBeamSpotVertex',
443 'TrigVertexCollection_tlp1_HLT_TrigBeamSpotVertex_SiTrack',
444 'TrigVertexCollection_tlp2_HLT_T2HistoPrmVtx',
445 'TrigVertexCollection_tlp2_HLT_TrigBeamSpotVertex',
446 'TrigVertexCollection_tlp2_HLT_EFHistoPrmVtx',
447 'Trk::VxContainer_tlp1_HLT_PrimVx',
448 'Trk::VxContainer_tlp1_HLT_ConversionVx',
449 'Trk::VxContainer_tlp2_HLT_ConversionVx',
450 'Trk::VxContainer_tlp2_HLT_PrimVx',
451 'TrigVertexCollection_tlp2_HLT_TrigBeamSpotVertex_SiTrack',
452 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_Bjet_EFID',
454 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Bjet_EFID',
455 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Bjet_EFID',
458 triggerCounterBjet =
Counter(
'triggerBjet',triggerListBjet)
461 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Bphysics_EFID',
462 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_FullScan_EFID',
463 'TrigEFBphysContainer_tlp1_HLT_EFBMuMuFex',
464 'TrigEFBphysContainer_tlp1_HLT_EFDsPhiPiFex',
465 'TrigEFBphysContainer_tlp1_HLT_EFMuPairs',
466 'TrigEFBphysContainer_tlp1_HLT_EFTrackMass',
467 'TrigEFBphysContainer_tlp2_HLT_EFMuPairs',
468 'TrigEFBphysContainer_tlp2_HLT_EFTrackMass',
469 'TrigEFBphysContainer_tlp2_HLT_EFDsPhiPiFex',
470 'TrigEFBphysContainer_tlp2_HLT_EFBMuMuFex',
471 'TrigEFBphysContainer_tlp2_HLT_EFMultiMuFex',
472 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Bphysics',
473 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Bphysics',
474 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Bphysics',
475 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_FullScan',
476 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_FullScan',
477 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_FullScan',
478 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Bphysics',
479 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Bphysics',
480 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Bphysics',
481 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_FullScan',
482 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_FullScan',
483 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_FullScan',
484 'TrigL2BphysContainer_tlp1_HLT',
485 'TrigL2BphysContainer_tlp1_HLT_L2BMuMuFex',
486 'TrigL2BphysContainer_tlp1_HLT_L2BMuMuXFex',
487 'TrigL2BphysContainer_tlp1_HLT_L2DiMuXFex',
488 'TrigL2BphysContainer_tlp1_HLT_L2DsPhiPiFexDs',
489 'TrigL2BphysContainer_tlp1_HLT_L2DsPhiPiFexPhi',
490 'TrigL2BphysContainer_tlp1_HLT_L2JpsieeFex',
491 'TrigL2BphysContainer_tlp1_HLT_TrigDiMuon',
492 'TrigL2BphysContainer_tlp1_HLT_L2TrackMass',
493 'TrigL2BphysContainer_tlp2_HLT',
494 'TrigL2BphysContainer_tlp2_HLT_L2BMuMuXFex',
495 'TrigL2BphysContainer_tlp2_HLT_L2DsPhiPiFexDs',
496 'TrigL2BphysContainer_tlp2_HLT_L2DsPhiPiFexPhi',
497 'TrigL2BphysContainer_tlp2_HLT_L2MultiMuFex',
498 'TrigL2BphysContainer_tlp2_HLT_L2BMuMuFex',
499 'TrigL2BphysContainer_tlp2_HLT_L2JpsieeFex',
500 'TrigL2BphysContainer_tlp2_HLT_L2TrackMass',
501 'TrigL2BphysContainer_tlp2_HLT_L2DiMuXFex',
502 'TrigL2BphysContainer_tlp2_HLT_TrigDiMuon',
503 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_Bphysics_EFID',
505 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Bphysics_EFID',
506 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Bphysics_EFID',
508 triggerCounterBphys =
Counter(
'triggerBphys',triggerListBphys)
510 triggerListConfigID = [
511 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_FullScan_EFID',
512 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationTRTOnly_FullScan_EFID',
514 'HLT_xAOD__RoiDescriptorStore_forID',
515 'HLT_xAOD__RoiDescriptorStore_forIDAux.',
516 'HLT_xAOD__RoiDescriptorStore_forID1',
517 'HLT_xAOD__RoiDescriptorStore_forID1Aux.',
518 'HLT_xAOD__RoiDescriptorStore_forID2',
519 'HLT_xAOD__RoiDescriptorStore_forID2Aux.',
520 'HLT_xAOD__RoiDescriptorStore_forID3',
521 'HLT_xAOD__RoiDescriptorStore_forID3Aux.',
523 triggerCounterID =
Counter(
'triggerID',triggerListConfigID)
525 triggerListConfig = [
526 'IOVMetaDataContainer_p1__TRIGGER_HLT_Menu',
527 'IOVMetaDataContainer_p1__TRIGGER_LVL1_Lvl1ConfigKey',
528 'IOVMetaDataContainer_p1__TRIGGER_LVL1_Menu',
529 'IOVMetaDataContainer_p1__TRIGGER_LVL1_Prescales',
530 'IOVMetaDataContainer_p1__TRIGGER_HLT_PrescaleKey',
531 'IOVMetaDataContainer_p1__TRIGGER_HLT_ConfigKeys',
533 '_TRIGGER_HLT_Prescales',
534 '_TRIGGER_HLT_PrescaleKey',
535 '_TRIGGER_HLT_HltConfigKeys',
536 '_TRIGGER_LVL1_Menu',
537 '_TRIGGER_LVL1_Lvl1ConfigKey',
538 '_TRIGGER_LVL1_Prescales',
539 '_TRIGGER_LVL1_ItemDef',
540 '_TRIGGER_LVL1_Thresholds',
543 'TriggerMenuJson_BG',
544 'TriggerMenuJson_L1',
545 'TriggerMenuJson_HLT',
546 'TriggerMenuJson_L1PS',
547 'TriggerMenuJson_HLTPS',
548 'TriggerMenuJson_HLTMonitoring',
549 'TriggerMenuJson_BGAux.',
550 'TriggerMenuJson_L1PSAux.',
551 'TriggerMenuJson_HLTMonitoringAux.',
552 'TriggerMenuJson_HLTPSAux.',
553 'TriggerMenuJson_L1Aux.',
554 'TriggerMenuJson_HLTAux.',
556 triggerCounterConfig =
Counter(
'triggerConfig',triggerListConfig)
558 triggerListCosmics = [
559 'CosmicMuonCollection_tlp1_HLT_CosmicMuons',
560 'MdtTrackSegmentCollection_tlp1_HLT_MDTsegments',
561 'MdtTrackSegmentCollection_p2_HLT_MDTsegments',
562 'TrigEMClusterContainer_tlp1_HLT_TrigT2CaloCosmic',
563 'TrigEMClusterContainer_p3_HLT_TrigT2CaloCosmic',
564 'TrigEMClusterContainer_p4_HLT_TrigT2CaloCosmic',
565 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Cosmics',
566 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Cosmics',
567 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Cosmics',
568 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Cosmics',
569 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Cosmics',
570 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Cosmics',
571 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_CosmicsN_EFID',
572 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreationIOTRT_CosmicsN_EFID',
573 'TrigT2JetContainer_tlp1_HLT_TrigT2CosmicJet',
574 'TrigT2JetContainer_p3_HLT_TrigT2CosmicJet',
575 'TrigRoiDescriptorCollection_tlp1_HLT_TrigT2CosmicJet',
576 'TrigRoiDescriptorCollection_p2_HLT_TrigT2CosmicJet',
577 'JetCollection_tlp5_HLT_TrigCosmicJetRec',
578 'JetCollection_tlp6_HLT_TrigCosmicJetRec',
580 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_CosmicsN_EFID',
581 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_CosmicsN_EFID',
582 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationIOTRT_CosmicsN_EFID',
583 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_CosmicsN_EFID'
585 triggerCounterCosmics =
Counter(
'triggerCosmics',triggerListCosmics)
587 triggerListEgamma = [
588 'egammaContainer_p1_HLT_egamma',
589 'egammaContainer_p2_HLT_egamma',
590 'egammaContainer_p5_HLT_egamma',
591 'egammaContainer_p2_HLT_egamma_Photons',
592 'egDetailContainer_p1_HLT_egamma',
593 'egDetailContainer_p2_HLT_egamma',
594 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Electron_EFID',
595 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Photon_EFID',
596 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreationCombined_Electron_EFID',
597 'TrigElectronContainer_tlp2_HLT_L2IDCaloFex',
598 'TrigElectronContainer_p3_HLT_L2IDCaloFex',
599 'TrigEMClusterContainer_tlp1_HLT',
600 'TrigEMClusterContainer_tlp1_HLT_TrigT2CaloEgamma',
601 'TrigEMClusterContainer_p3_HLT',
602 'TrigEMClusterContainer_p4_HLT',
603 'TrigEMClusterContainer_p3_HLT_TrigT2CaloEgamma',
604 'TrigEMClusterContainer_p4_HLT_TrigT2CaloEgamma',
605 'TrigEMClusterContainer_p4_HLT_T2CaloSwCluster',
607 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_eGamma',
608 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_eGamma',
609 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_eGamma',
610 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_eGamma_Brem',
611 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_eGamma_Brem',
612 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_eGamma_Brem',
613 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_eGamma',
614 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_eGamma',
615 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_eGamma',
616 'TrigPhotonContainer_tlp2_HLT_L2PhotonFex',
617 'TrigPhotonContainer_p3_HLT_L2PhotonFex',
618 'egammaContainer_p1_HLT_egamma_Electrons',
619 'egammaContainer_p1_HLT_egamma_Photons',
620 'egammaContainer_p2_HLT_egamma_Electrons',
621 'egammaContainer_p5_HLT_egamma_Photons',
622 'egammaContainer_p5_HLT_egamma_Electrons',
623 'egDetailContainer_p1_HLT_egamma_Electrons',
624 'egDetailContainer_p2_HLT_egamma_Electrons',
625 'egDetailContainer_p1_HLT_egamma_Photons',
626 'egDetailContainer_p2_HLT_egamma_Photons',
627 'RingerRingsContainer_tlp1_HLT_TrigT2CaloEgamma',
628 'RingerRingsContainer_p2_HLT_TrigT2CaloEgamma',
629 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_eGamma_robust',
630 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_eGamma_robust',
631 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_eGamma_robust',
632 'TrigEMClusterContainer_tlp1_HLT_TrigcaloSwCluster',
633 'TrigEMClusterContainer_p3_HLT_TrigcaloSwCluster',
634 'TrigEMClusterContainer_p4_HLT_TrigcaloSwCluster',
635 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreationTRTOnly_Electron_EFID',
636 'CaloClusterContainer_p6_HLT_TrigCaloClusterMaker_topo',
637 'TrigRNNOutputContainer_HLT_TrigRingerNeuralFex',
638 'TrigRNNOutputContainer_p2_HLT_TrigRingerNeuralFex',
639 'TrigElectronContainer_tlp2_HLT_L2ElectronFex',
640 'TrigElectronContainer_p3_HLT_L2ElectronFex',
641 'CaloClusterContainer_p6_HLT_TrigCaloClusterMaker_slw',
642 'CaloClusterContainer_p7_HLT_TrigCaloClusterMaker_slw',
643 'TrigEMClusterContainer_tlp1_HLT_T2CaloSwCluster',
644 'TrigEMClusterContainer_p3_HLT_T2CaloSwCluster',
645 'TrigCaloClusterContainer_p3_HLT_TrigT2Calo',
646 'egammaContainer_p3_HLT_egamma',
647 'egammaContainer_p4_HLT_egamma',
648 'egammaContainer_p3_HLT_egamma_Photons',
649 'egammaContainer_p4_HLT_egamma_Photons',
650 'egammaContainer_p3_HLT_egamma_Electrons',
651 'egammaContainer_p4_HLT_egamma_Electrons',
652 'TrigRNNOutputContainer_tlp1_HLT_TrigRingerNeuralFex',
653 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationTRTOnly_Electron_EFID',
654 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_Electron_EFID',
657 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Photon_EFID',
658 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Electron_EFID',
659 'CaloCompactCellContainer_HLT_TrigT2CaloEgammaCells',
660 'TrigEMClusterContainer_tlp1_HLT_TrigCaloRinger',
661 'TrigEMClusterContainer_p3_HLT_TrigCaloRinger',
662 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Photon_EFID',
663 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Electron_EFID',
664 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_Photon_EFID',
666 triggerCounterEgamma =
Counter(
'triggerEgamma',triggerListEgamma)
669 'JetCollection_tlp2_HLT',
670 'JetCollection_tlp2_HLT_TrigJetRec',
671 'JetCollection_tlp5_HLT_TrigJetRec',
672 'JetCollection_tlp6_HLT_TrigJetRec',
673 'TrigT2JetContainer_tlp1_HLT_TrigT2CaloJet',
674 'TrigT2JetContainer_p3_HLT_TrigT2CaloJet',
675 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Jet_robust',
676 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Jet_robust',
677 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Jet_robust',
679 triggerCounterJet =
Counter(
'triggerJet',triggerListJet)
682 'TrigMissingETContainer_tlp1_HLT_T2MissingET',
683 'TrigMissingETContainer_tlp1_HLT_TrigEFMissingET',
684 'TrigMissingETContainer_tlp1_HLT_TrigEFMissingET_FEB',
685 'TrigMissingETContainer_tlp1_HLT_TrigEFMissingET_noiseSupp',
686 'TrigMissingETContainer_tlp1_HLT_TrigEFMissingET_allCells',
687 'TrigMissingETContainer_tlp1_HLT_L2JetEtSum',
688 'TrigMissingETContainer_tlp1_HLT_EFJetEtSum',
689 'TrigMissingETContainer_p3_HLT_T2MissingET',
690 'TrigMissingETContainer_p3_HLT_TrigEFMissingET',
691 'TrigMissingETContainer_p3_HLT_TrigEFMissingET_FEB',
692 'TrigMissingETContainer_p3_HLT_TrigEFMissingET_noiseSupp',
693 'TrigMissingETContainer_p3_HLT_TrigEFMissingET_allCells',
694 'TrigMissingETContainer_p3_HLT_L2JetEtSum',
695 'TrigMissingETContainer_p3_HLT_EFJetEtSum',
696 'TrigMissingETContainer_p3_HLT_L2MissingET_FEB',
697 'TrigMissingETContainer_p3_HLT_TrigEFMissingET_topocl',
699 triggerCounterMET =
Counter(
'triggerMET',triggerListMET)
701 triggerListMinBias = [
702 'TrigSpacePointCountsCollection_p4_HLT_spacepoints',
703 'TrigSpacePointCountsCollection_tlp1_HLT_spacepoints',
704 'TrigTrackCountsCollection_tlp1_HLT',
705 'TrigT2MbtsBitsContainer_tlp1_HLT_T2Mbts',
706 'TrigT2MbtsBitsContainer_p3_HLT_T2Mbts',
707 'TrigTrackCountsCollection_tlp1_HLT_trackcounts',
708 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_minBias_EFID',
709 'TrigVertexCountsCollection_tlp1_HLT_vertexcounts',
711 triggerCounterMinBias =
Counter(
'triggerMinBias',triggerListMinBias)
714 'HLT_MuonFeatureContainer',
715 'HLT_MuonFeatureDetailsContainer',
716 'HLT_CombinedMuonFeatureContainer',
717 'CombinedMuonFeatureContainer_tlp1_HLT',
718 'IsoMuonFeatureContainer_tlp1_HLT',
719 'CombinedMuonFeatureContainer_p2_HLT',
720 'CombinedMuonFeatureContainer_p3_HLT',
721 'CombinedMuonFeatureContainer_p4_HLT',
722 'MuonFeatureContainer_p3_HLT',
723 'MuonFeatureContainer_tlp1_HLT',
724 'MuonFeatureContainer_tlp2_HLT',
725 'MuonFeatureDetailsContainer_p2_HLT',
726 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Muon_EFID',
727 'TileMuFeatureContainer_p2_HLT',
728 'TileMuFeatureContainer_tlp1_HLT',
729 'TileTrackMuFeatureContainer_tlp1_HLT',
730 'TileTrackMuFeatureContainer_p3_HLT',
731 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Muon',
732 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Muon',
733 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Muon',
734 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_muonIso',
735 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_muonIso',
736 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_muonIso',
737 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Tile',
738 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Tile',
739 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Tile',
740 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Muon',
741 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Muon',
742 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Muon',
743 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_muonIso',
744 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_muonIso',
745 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_muonIso',
746 'TrigMuonEFIsolationContainer_p1_HLT_MuonEFIsolation',
747 'TrigMuonEFIsolationContainer_p2_HLT_MuonEFIsolation',
748 'TrigMuonEFContainer_tlp1_HLT_MuonEF',
749 'TrigMuonEFInfoContainer_tlp1_HLT_MuonEFInfo',
750 'TrigMuonEFInfoContainer_tlp2_HLT_MuonEFInfo',
751 'TrigMuonEFInfoContainer_tlp1_HLT_MuonEF',
752 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Muon_robust',
753 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Muon_robust',
754 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Muon_robust',
755 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Tile',
756 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Tile',
757 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Tile',
758 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Tile_robust',
759 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Tile_robust',
760 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Tile_robust',
761 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_muonIso_robust',
762 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_muonIso_robust',
763 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_muonIso_robust',
764 'MuonFeatureDetailsContainer_tlp1_HLT',
765 'TrigMuonEFInfoContainer_tlp1_HLT_MuTagIMO_EF',
766 'TrigMuonEFInfoContainer_tlp2_HLT_MuTagIMO_EF',
767 'TrigMuonEFInfoContainer_tlp1_HLT_eMuonEFInfo',
768 'TrigMuonEFInfoContainer_tlp2_HLT_eMuonEFInfo',
769 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreationTRTOnly_Muon_EFID',
770 'TrigMuonClusterFeatureContainer_tlp1_HLT_MuonCluster',
771 'IsoMuonFeatureContainer_p2_HLT',
772 'IsoMuonFeatureContainer_p3_HLT',
773 'ElectronMuonTopoInfoContainer_p1_HLT_EF_EgMuTopoFEX',
774 'ElectronMuonTopoInfoContainer_p1_HLT_EgMuTopoFEX',
775 'ElectronMuonTopoInfoContainer_p1_HLT_EF_PhotonMuonTopoFEX',
776 'ElectronMuonTopoInfoContainer_p1_HLT_L2_PhotonMuonTopoFEX',
778 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Muon_EFID',
779 'Muon::TgcCoinDataContainer_tlp1_TrigT1CoinDataCollectionNextBC',
780 'Muon::TgcCoinDataContainer_tlp1_TrigT1CoinDataCollectionPriorBC',
781 'Muon::TgcCoinDataContainer_tlp1_TrigT1CoinDataCollection',
782 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Muon_EFID',
783 'Muon::TgcCoinDataContainer_tlp2_TrigT1CoinDataCollectionNextBC',
784 'Muon::TgcCoinDataContainer_tlp2_TrigT1CoinDataCollectionPriorBC',
785 'Muon::MuonPRD_Container_p2<Muon::RpcCoinData_p1>_RPC_triggerHits',
786 'Muon::TgcCoinDataContainer_tlp2_TrigT1CoinDataCollection',
787 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationTRTOnly_Muon_EFID',
788 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_Muon_EFID',
789 'HLT_xAOD__RoiDescriptorStore_forMS',
790 'HLT_xAOD__RoiDescriptorStore_forMSAux.',
792 triggerCounterMuon =
Counter(
'triggerMuon',triggerListMuon)
795 'HLT::HLTResult_p1_HLTResult_EF',
796 'HLT::HLTResult_p1_HLTResult_L2',
797 'TrigDec::TrigDecision_p1_TrigDecision',
798 'TrigDec::TrigDecision_p2_TrigDecision',
799 'TrigDec::TrigDecision_p3_TrigDecision',
800 'TrigDec::TrigDecision_p4_TrigDecision',
801 'TrigDec::TrigDecision_p5_TrigDecision',
802 'TrigRoiDescriptorCollection_p2_HLT',
803 'TrigRoiDescriptorCollection_p2_HLT_forID',
804 'TrigRoiDescriptorCollection_p2_HLT_forMS',
805 'TrigRoiDescriptorCollection_p2_HLT_initialRoI',
806 'TrigRoiDescriptorCollection_p2_HLT_secondaryRoI_EF',
807 'TrigRoiDescriptorCollection_p2_HLT_secondaryRoI_L2',
808 'TrigRoiDescriptorCollection_p2_HLT_T2TauFinal',
809 'TrigRoiDescriptorCollection_p2_HLT_TrigCaloRinger',
810 'TrigRoiDescriptorCollection_p2_HLT_TrigT2CaloEgamma',
811 'TrigRoiDescriptorCollection_p2_HLT_TrigT2CaloJet',
812 'TrigRoiDescriptorCollection_p2_HLT_TrigT2CaloTau',
813 'TrigRoiDescriptorCollection_tlp1_HLT',
814 'TrigRoiDescriptorCollection_tlp1_HLT_forID',
815 'TrigRoiDescriptorCollection_tlp1_HLT_forMS',
816 'TrigRoiDescriptorCollection_tlp1_HLT_initialRoI',
817 'TrigRoiDescriptorCollection_tlp1_HLT_secondaryRoI_EF',
818 'TrigRoiDescriptorCollection_tlp1_HLT_secondaryRoI_L2',
819 'TrigRoiDescriptorCollection_tlp1_HLT_T2TauFinal',
820 'TrigRoiDescriptorCollection_tlp1_HLT_TrigCaloRinger',
821 'TrigRoiDescriptorCollection_tlp1_HLT_TrigT2CaloEgamma',
822 'TrigRoiDescriptorCollection_tlp1_HLT_TrigT2CaloJet',
823 'TrigRoiDescriptorCollection_tlp1_HLT_TrigT2CaloTau',
824 'HLT_xAOD__RoiDescriptorStore_secondaryRoI_L2',
825 'HLT_xAOD__RoiDescriptorStore_secondaryRoI_L2Aux.',
826 'HLT_xAOD__RoiDescriptorStore_secondaryRoI_EF',
827 'HLT_xAOD__RoiDescriptorStore_secondaryRoI_EFAux.',
828 'HLT_xAOD__RoiDescriptorStore_secondaryRoI_HLT',
829 'HLT_xAOD__RoiDescriptorStore_secondaryRoI_HLTAux.',
830 'HLT_xAOD__RoiDescriptorStore_initialRoI',
831 'HLT_xAOD__RoiDescriptorStore_initialRoIAux.',
833 'TrigOperationalInfoCollection_tlp1_HLT_OPI_EF',
834 'TrigOperationalInfoCollection_tlp1_HLT_OPI_L2',
835 'CTP_RDO_p2_CTP_RDO',
836 'RoIBResult_p1_RoIBResult',
837 'RingerRingsContainer_tlp1_HLT_TrigCaloRinger',
839 'TrigPassBitsCollection_p1_HLT_passbits',
840 'IOVMetaDataContainer_p1__TRIGGER_HLT_Prescales',
842 triggerCounterSteer =
Counter(
'triggerSteer',triggerListSteer)
845 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Tau_EFID',
846 'TauDetailsContainer_tlp1_HLT_TrigTauDetailsCalo',
847 'TauDetailsContainer_tlp1_HLT_TrigTauDetailsMerged',
848 'TauDetailsContainer_tlp1_HLT_TrigTauExtraDetailsMerged',
849 'TauJetContainer_p3_HLT_TrigTauRecCalo',
850 'TauJetContainer_p3_HLT_TrigTauRecMerged',
851 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Tau',
852 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Tau',
853 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Tau',
854 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Tau',
855 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Tau',
856 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Tau',
857 'TrigTauClusterContainer_tlp1_HLT_TrigT2CaloTau',
858 'TrigTauClusterContainer_p4_HLT_TrigT2CaloTau',
859 'TrigTauContainer_tlp1_HLT',
860 'TrigTauContainer_p3_HLT',
861 'TrigTauClusterContainer_p3_HLT_TrigT2CaloTau',
862 'TrigTauClusterContainer_p5_HLT_TrigT2CaloTau',
863 'TrigTauClusterDetailsContainer_p2_HLT_TrigT2CaloTauDetails',
864 'TrigTauTracksInfoCollection_tlp1_HLT',
865 'TrigTauTracksInfoCollection_p2_HLT',
866 'TrigTauClusterDetailsContainer_tlp1_HLT_TrigT2CaloTau',
867 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreationTRTOnly_Tau_EFID',
868 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Tau_SiTrk_EFID',
869 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreation_Tau_IDOnly_EFID',
870 'TrigInDetTrackCollection_tlp1_HLT_TrigSiTrack_Tau_robust',
871 'TrigInDetTrackCollection_tlp2_HLT_TrigSiTrack_Tau_robust',
872 'TrigInDetTrackCollection_tlp3_HLT_TrigSiTrack_Tau_robust',
873 'TrigInDetTrackCollection_tlp1_HLT_TrigIDSCAN_Tau_IDOnly',
874 'TrigInDetTrackCollection_tlp2_HLT_TrigIDSCAN_Tau_IDOnly',
875 'TrigInDetTrackCollection_tlp3_HLT_TrigIDSCAN_Tau_IDOnly',
876 'TrigTauClusterDetailsContainer_tlp1_HLT_TrigT2CaloTauDetails',
877 'TauDetailsContainer_tlp2_HLT_TrigTauDetailsCalo',
878 'TauDetailsContainer_tlp3_HLT_TrigTauDetailsCalo',
879 'TauDetailsContainer_tlp2_HLT_TrigTauDetailsMerged',
880 'TauDetailsContainer_tlp3_HLT_TrigTauDetailsMerged',
881 'TauDetailsContainer_tlp2_HLT_TrigTauExtraDetailsMerged',
882 'TauJetContainer_p4_HLT_TrigTauRecCalo',
883 'TauJetContainer_p4_HLT_TrigTauRecMerged',
884 'JetCollection_tlp6_HLT_TrigTauJet',
885 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_Tau_EFID',
887 'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Tau_EFID',
888 'CaloCompactCellContainer_HLT_TrigT2CaloTauCells',
889 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Tau_EFID',
890 'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationTRTOnly_Tau_EFID',
892 triggerCounterTau =
Counter(
'triggerTau',triggerListTau)
895 'CPMHitsCollection_tlp1_CPMHits',
896 'JetElementCollection_tlp1_JetElements',
897 'CaloTowerContainer_p1_HLT_TrigCaloTowerMaker',
898 'CMMCPHitsCollection_tlp1_CMMCPHits',
899 'CMMEtSumsCollection_tlp1_CMMEtSums',
900 'CMMJetHitsCollection_tlp1_CMMJetHits',
902 'CPMRoICollection_tlp1_CPMRoIs',
903 'CPMTowerCollection_tlp1_CPMTowers',
904 'CTP_Decision_p2_CTP_Decision',
905 'JEMEtSumsCollection_tlp1_JEMEtSums',
906 'JEMHitsCollection_tlp1_JEMHits',
907 'JEMRoICollection_tlp1_JEMRoIs',
908 'LVL1_ROI_p1_LVL1_ROI',
909 'TriggerTowerCollection_tlp1_TriggerTowers',
910 'IOVMetaDataContainer_p1__TRIGGER_LVL1_ItemDef',
912 triggerCounterL1 =
Counter(
'triggerL1',triggerListL1)
914 triggerListCommon = [
915 'CaloClusterContainer_p4_HLT',
916 'CaloClusterContainer_p5_HLT',
917 'CaloClusterContainer_p4_HLT_TrigCaloClusterMaker',
918 'CaloClusterContainer_p5_HLT_TrigCaloClusterMaker',
919 'CaloShowerContainer_p2_HLT',
920 'TrigInDetTrackCollection_tlp1_HLT',
921 'TrigInDetTrackCollection_tlp2_HLT',
922 'TrigInDetTrackCollection_tlp3_HLT',
923 'TrigInDetTrackCollection_tlp1_HLT_TRTSegmentFinder',
924 'TrigInDetTrackCollection_tlp2_HLT_TRTSegmentFinder',
925 'TrigInDetTrackCollection_tlp3_HLT_TRTSegmentFinder',
926 'TrigInDetTrackCollection_tlp1_HLT_TRTxK',
927 'TrigInDetTrackCollection_tlp2_HLT_TRTxK',
928 'TrigInDetTrackCollection_tlp3_HLT_TRTxK',
929 'TrigInDetTrackTruthMap_tlp1_TrigInDetTrackTruthMap',
930 'TrigInDetTrackTruthMap_tlp2_TrigInDetTrackTruthMap',
931 'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_FullScan_EFID',
932 'Rec::TrackParticleContainer_tlp1_HLT_InDetTrigParticleCreationTRTOnly_FullScan_EFID',
933 'CaloClusterContainer_p6_HLT',
934 'CaloClusterContainer_p7_HLT',
935 'CaloClusterContainer_p6_HLT_TrigCaloClusterMaker',
936 'CaloClusterContainer_p7_HLT_TrigCaloClusterMaker',
937 'TrigTrtHitCountsCollection_tlp1_HLT_TrtHitCount',
938 'TrigTrtHitCountsCollection_p2_HLT_TrtHitCount',
941 triggerCounterCommon =
Counter(
'triggerCommon',triggerListCommon)
943 triggerListHLTNav = []
944 triggerCounterHLTNav =
Counter(
'triggerHLTNav',triggerListHLTNav)
947 triggerCounterUTT =
Counter(
'UTT', triggerListUTT)
951 'McEventCollection_p4_GEN_AOD',
952 'MissingEtTruth_p1_MET_Truth',
953 'MissingEtTruth_p1_MET_Truth_PileUp',
954 'MissingEtTruth_p3_MET_Truth_PileUp',
955 'MissingEtTruth_p3_MET_Truth',
956 'Rec::TrackParticleTruthCollection_p1_TrackParticleTruthCollection',
957 'TrackRecordCollection_p2_MuonEntryLayerFilter',
958 'TruthParticleContainer_p5_SpclMC',
959 'TruthParticleContainer_p5_INav4MomTruthEvent',
960 'JetCollection_tlp5_AntiKt4TruthJets',
962 truthCounter =
Counter(
'truth',truthList)
965 listofTriggerCounters = [
968 triggerCounterConfig,
969 triggerCounterCosmics,
970 triggerCounterEgamma,
974 triggerCounterMinBias,
977 triggerCounterCommon,
980 triggerCounterHLTNav,
985 listofNonTrigCounters = [
1000 listofCounters = listofTriggerCounters+listofNonTrigCounters
1011 print(
"WARNING: generating %s from %s", self.
checkFile, parentFile)
1012 os.system(
"checkFile.py " + parentFile +
" >"+self.
checkFile+
"0")
1017 print(
"Passed a root file, running check file on it")
1019 print(
"Finished running checkFile, now opening output and analysing the TrigSize")
1030 triggerAlgListNotIncluded = []
1031 nontriggerAlgList = []
1036 line = file.readline()
1040 splitline = line.split()
1043 if re.search(
"TOTAL",line):
1047 if re.search(
"Total",line):
1048 if (
str(splitline[4])).isnumeric():
1052 if len(splitline)!=10:
1059 sizePerEvent = splitline[4]
1061 isLineCounted =
False
1068 TrigInName = name.find(
"Trig") + name.find(
"HLT") + name.find(
"LVL1")
1073 if edm.getCategory(name) !=
'NOTFOUND':
1077 elif edm.getCategory(name) ==
'NOTFOUND' and name.count(
'IOVMetaDataContainer'):
1080 elif edm.getCategory(name) ==
'NOTFOUND' and name
in triggerListConfig:
1083 elif edm.getCategory(name) ==
'NOTFOUND' and name
in triggerListMuon:
1086 elif edm.getCategory(name) ==
'NOTFOUND' and name
in triggerListSteer:
1089 elif edm.getCategory(name) ==
'NOTFOUND' and name
in triggerListConfigID:
1092 elif edm.getCategory(name) ==
'NOTFOUND' and name.startswith(
"HLTNav_"):
1095 elif edm.getCategory(name) ==
'NOTFOUND' and name.startswith(
"TrigMatch_"):
1102 elif edm.getCategory(name) ==
'NOTFOUND' and TrigInName != -3:
1103 triggerAlgListNotIncluded.append([name, edm.getCategory(name),
float(sizePerEvent)])
1108 nontriggerAlgList.append([name,
'NonTrigger',
float(sizePerEvent)])
1112 for counter
in listofCounters:
1115 for item
in counter.itemList:
1118 if item==name
and isLineCounted:
1119 doublesList[name]=item
1121 if item==name
and not isLineCounted:
1122 counter.size +=
float(splitline[4])
1123 isLineCounted =
True
1125 if not isLineCounted:
1127 sumNU +=
float(splitline[4])
1130 TrigInName = name.find(
"Trig") + name.find(
"HLT") + name.find(
"LVL1")
1150 allAlgList = self.
triggerAlgList + triggerAlgListNotIncluded + nontriggerAlgList
1151 for item
in allAlgList:
1157 fileNameAddition =
""
1159 fileNameAddition =
"trigSize.txt"
1161 fileNameAddition =
"checkFiletrigSize.txt"
1165 print(
"Summary of categories:")
1166 fout.write(
"\n Summary of categories:\n")
1169 for counter
in listofCounters:
1173 for counter
in listofTriggerCounters:
1174 sumTrig += counter.size
1178 if not key ==
'Total':
1180 fout.write(
"trigger"+key.ljust(24) +
"%6.3f" % self.
triggerAlgSize[key] +
"\n")
1183 for counter
in listofNonTrigCounters:
1184 sumNonTrig += counter.size
1186 fout.write(
"\n=====================\n")
1188 print(
"=====================")
1190 fout.write(
"Total Trigger Size".ljust(23) +
"%6.3f" % self.
triggerAlgSize[
'Total' ] +
"\n")
1192 fout.write(
"Total file size".ljust(23) +
"%6.3f" % self.
totalAlgSize +
"\n")
1196 fout.write(
"Total file size (list)".ljust(23) +
"%6.3f" % self.
totalAlgSizeInLists +
"\n")
1197 print(
"Total (from checkFile)".ljust(23), self.
total)
1198 fout.write(
"Total (from checkFile)".ljust(23)+
"%6.3f" % self.
total +
"\n")
1201 print(
"*******************************************************************")
1202 fout.write(
"\n********************************************************************\n")
1206 fout.write(
"\nThe following were found in TriggerEDM and counted but have a classification 'Unknown': \n")
1208 if item[1] ==
'Unknown':
1209 fout.write(
"INFO: "+item[0]+
"\n" )
1211 if len(triggerAlgListNotIncluded) > 0:
1212 fout.write(
"\nThe following were not found in TriggerEDM and were not counted. \n")
1213 fout.write(
"Check if they are included in TriggerEDM. They must be if they are here! \n")
1214 fout.write(
"The problem must be with the search method in TriggerEDM.getCategory(). Please debug. \n")
1215 for item
in triggerAlgListNotIncluded:
1216 fout.write(
"WARNING: Unknown item "+item[0]+
"\n")
1224 if __name__ ==
"__main__":
1228 parser = OptionParser( usage =
"usage: %prog [-f] my.AOD.file.pool.root.checkFile" )
1229 p = parser.add_option
1233 help =
"The path to the checkFile output of an AOD file to analyse" )
1235 (options, args) = parser.parse_args()
1239 fileNames = [arg
for arg
in args
if arg[0] !=
"-"]
1242 if options.fileName
is None and len(fileNames) == 0:
1243 str(parser.print_help()
or "")
1246 if options.fileName
is not None:
1247 fileName = os.path.expandvars(os.path.expanduser(options.fileName))
1248 fileNames.append(fileName)
1251 params = {
'checkFile': fileNames[0]}