ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
checkFileTrigSize.checkFileTrigSize Class Reference
Collaboration diagram for checkFileTrigSize.checkFileTrigSize:

Public Member Functions

def __init__ (self, paramDict={})
 
def run (self)
 

Public Attributes

 logger
 
 success
 
 error
 
 checkFile
 
 triggerAlgList
 list of trigger algorithms found in AOD, their category, and their size in the AOD More...
 
 triggerAlgListNotIncluded
 
 nontriggerAlgList
 
 triggerAlgSize
 Add trigger algorithm to trigger list if it's found in TriggerEDM.py dictionary !! It should definately be found if it's a trigger algorithm !! Some exceptions for Steering info and RoIDescriptorStore. More...
 
 totalAlgSize
 
 totalAlgSizeInLists
 ======================================================== Calculate total size of all algs / cont in list More...
 
 total
 

Detailed Description

Class to calculate total trigger AOD size

Definition at line 27 of file checkFileTrigSize.py.

Constructor & Destructor Documentation

◆ __init__()

def checkFileTrigSize.checkFileTrigSize.__init__ (   self,
  paramDict = {} 
)

Definition at line 32 of file checkFileTrigSize.py.

32  def __init__(self, paramDict={}):
33 
34  try:
35  from Logger import Logger
36  self.logger = Logger()
37  except Exception:
38  print("Can't import logger in test mode")
39 
40  self.success = 0
41  self.error = -1
42 
43  self.checkFile = paramDict.get('checkFile', 'AOD.pool.root.checkFile')
44  self.triggerAlgList = []
45  self.triggerAlgListNotIncluded = []
46  self.nontriggerAlgList = []
47  self.triggerAlgSize = {}
48  self.totalAlgSize = 0.0
49 
50  self.totalAlgSizeInLists = 0.0
51  self.total = 0.0
52 

Member Function Documentation

◆ run()

def checkFileTrigSize.checkFileTrigSize.run (   self)

Definition at line 53 of file checkFileTrigSize.py.

53  def run(self):
54 
55  #sort all classes into 'Counters'
56  atlfastList = [
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',
83  ]
84  atlfastCounter = Counter('atlfast',atlfastList)
85 
86  caloList = [
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',
117  ]
118  caloCounter = Counter('calo',caloList)
119 
120  egammaList = [
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',
135  ]
136  egammaCounter = Counter('egamma',egammaList)
137 
138  eventinfoList = [
139  'DataHeader',
140  'EventInfo_p2_ByteStreamEventInfo',
141  'EventInfo_p2_McEventInfo',
142  'EventStreamInfo_p1_StreamAOD',
143  'IOVMetaDataContainer_p1__GLOBAL_DETSTATUS_LBSUMM',
144  'LumiBlockCollection_p1_LumiBlocks',
145  'MetaData',
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',
162 
163  ]
164  eventinfoCounter = Counter('eventinfo',eventinfoList)
165 
166  emtList = [
167  'CaloCompactCellContainer_AODCellContainer',
168  'CaloCompactCellContainer_AllCalo',
169  'InDet::Track_tlp1',
170  'TPCnv::MuonMeasurements_tlp1',
171  'Trk::TrackCollection_tlp1_egammaSlimmedTrackCollection',
172  'Trk::TrackCollection_tlp1_MuonSlimmedTrackCollection',
173  'Trk::TrackCollection_tlp2_Tracks',
174  'Trk::TrackCollection_tlp3_Tracks',
175  ]
176  emtCounter = Counter('emt',emtList)
177 
178  indetList = [
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',
188  ]
189  indetCounter = Counter('indet',indetList)
190 
191  jetList = [
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',
222 
223  'JetCollection_tlp5_AntiKt6H1TopoJets',
224  'JetCollection_tlp5_AntiKt6LCTopoJets',
225  'JetCollection_tlp5_AntiKt4H1TopoJets',
226  'JetCollection_tlp5_AntiKt4H1TowerJets',
227  'JetCollection_tlp5_AntiKt6H1TowerJets',
228 
229  'JetMomentMap_p6_TrigJetRecMomentMap',
230  ]
231  jetCounter = Counter('jet',jetList)
232 
233  jtList = [
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',
252  ]
253  jtCounter = Counter('jt',jtList)
254 
255  metList = [
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',
359  ]
360  metCounter = Counter('met',metList)
361 
362  muonList = [
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',
403  ]
404  muonCounter = Counter('muon',muonList)
405 
406  tauList = [
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',
423  ]
424  tauCounter = Counter('tau',tauList)
425 
426 
427 # trigger lists
428 
429  triggerListBjet = [
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',
453  # Only in ESDs
454  'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Bjet_EFID',
455  'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Bjet_EFID',
456 
457  ]
458  triggerCounterBjet = Counter('triggerBjet',triggerListBjet)
459 
460  triggerListBphys = [
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',
504  # Only in ESDs
505  'Trk::TrackCollection_tlp2_HLT_InDetTrigTrackSlimmer_Bphysics_EFID',
506  'Trk::TrackCollection_tlp3_HLT_InDetTrigTrackSlimmer_Bphysics_EFID',
507  ]
508  triggerCounterBphys = Counter('triggerBphys',triggerListBphys)
509 
510  triggerListConfigID = [
511  'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreation_FullScan_EFID',
512  'Rec::TrackParticleContainer_tlp2_HLT_InDetTrigParticleCreationTRTOnly_FullScan_EFID',
513 
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.',
522  ]
523  triggerCounterID = Counter('triggerID',triggerListConfigID)
524 
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',
532  '_TRIGGER_HLT_Menu',
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',
541  'TriggerMenu',
542  'TriggerMenuAux.',
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.',
555  ]
556  triggerCounterConfig = Counter('triggerConfig',triggerListConfig)
557 
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',
579  # Only in ESDs
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'
584  ]
585  triggerCounterCosmics = Counter('triggerCosmics',triggerListCosmics)
586 
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',
606 
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',
655 
656  # Only in ESDs
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',
665  ]
666  triggerCounterEgamma = Counter('triggerEgamma',triggerListEgamma)
667 
668  triggerListJet = [
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',
678  ]
679  triggerCounterJet = Counter('triggerJet',triggerListJet)
680 
681  triggerListMET = [
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',
698  ]
699  triggerCounterMET = Counter('triggerMET',triggerListMET)
700 
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',
710  ]
711  triggerCounterMinBias = Counter('triggerMinBias',triggerListMinBias)
712 
713  triggerListMuon = [
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',
777  # Only in ESDs
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.',
791  ]
792  triggerCounterMuon = Counter('triggerMuon',triggerListMuon)
793 
794  triggerListSteer = [
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.',
832  # Only in ESDs
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',
838  #new
839  'TrigPassBitsCollection_p1_HLT_passbits',
840  'IOVMetaDataContainer_p1__TRIGGER_HLT_Prescales',
841  ]
842  triggerCounterSteer = Counter('triggerSteer',triggerListSteer)
843 
844  triggerListTau = [
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',
886  # Only in ESDs
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',
891  ]
892  triggerCounterTau = Counter('triggerTau',triggerListTau)
893 
894  triggerListL1 = [
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',
901  'CMMRoI_p1_CMMRoIs',
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',
911  ]
912  triggerCounterL1 = Counter('triggerL1',triggerListL1)
913 
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',
939 
940  ]
941  triggerCounterCommon = Counter('triggerCommon',triggerListCommon)
942 
943  triggerListHLTNav = []
944  triggerCounterHLTNav = Counter('triggerHLTNav',triggerListHLTNav)
945 
946  triggerListUTT = []
947  triggerCounterUTT = Counter('UTT', triggerListUTT)
948 
949 
950  truthList = [
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',
961  ]
962  truthCounter = Counter('truth',truthList)
963 
964 
965  listofTriggerCounters = [
966  triggerCounterBjet,
967  triggerCounterBphys,
968  triggerCounterConfig,
969  triggerCounterCosmics,
970  triggerCounterEgamma,
971  triggerCounterID,
972  triggerCounterJet,
973  triggerCounterMET,
974  triggerCounterMinBias,
975  triggerCounterMuon,
976  triggerCounterTau,
977  triggerCounterCommon,
978  triggerCounterSteer,
979  triggerCounterL1,
980  triggerCounterHLTNav,
981  triggerCounterUTT,
982 
983  ]
984 
985  listofNonTrigCounters = [
986  atlfastCounter,
987  caloCounter,
988  egammaCounter,
989  eventinfoCounter,
990  emtCounter,
991  indetCounter,
992  jetCounter,
993  jtCounter,
994  metCounter,
995  muonCounter,
996  tauCounter,
997  truthCounter,
998  ]
999 
1000  listofCounters = listofTriggerCounters+listofNonTrigCounters
1001 
1002 
1003  # when running from command line, it expects the output of running checkFile on an AOD.
1004  # if this isn't passed, it strips the .checkFile of the name from the file and runs checkFile on it
1005  print("file:", self.checkFile)
1006  if '.checkFile' in self.checkFile:
1007  try:
1008  file = open(self.checkFile,'r')
1009  except Exception:
1010  parentFile = self.checkFile.replace(".checkFile","")
1011  print("WARNING: generating %s from %s", self.checkFile, parentFile)
1012  os.system("checkFile.py " + parentFile + " >"+self.checkFile+"0")
1013  file = open(self.checkFile+"0",'r')
1014  if file == 0:
1015  return self.error
1016  else:
1017  print("Passed a root file, running check file on it")
1018  os.system("checkFile.py " + self.checkFile + " >"+self.checkFile+"0")
1019  print("Finished running checkFile, now opening output and analysing the TrigSize")
1020  file = open(self.checkFile+"0",'r')
1021 
1022 
1023  self.total = 0
1024  doublesList = {} #if an entry in the checkFile output matches >=2 Counter items
1025 
1026  sumNU = 0 #sum of non used containers
1027 
1028 
1029  self.triggerAlgList = []
1030  triggerAlgListNotIncluded = []
1031  nontriggerAlgList = []
1032  self.totalAlgSize = 0.0
1033 
1034  while 1:
1035 
1036  line = file.readline()
1037  if not line:
1038  break
1039 
1040  splitline = line.split()
1041 
1042  #get the total from the last line of the file
1043  if re.search("TOTAL",line):
1044  self.total = float(splitline[4])
1045 
1046  #for new xAOD
1047  if re.search("Total",line):
1048  if (str(splitline[4])).isnumeric():
1049  self.total = float(splitline[4])
1050 
1051  #only count the good lines (ie. not "=====", etc.)
1052  if len(splitline)!=10:
1053  continue
1054 
1055  #the name of the class
1056  name = splitline[9]
1057 
1058  #size per events
1059  sizePerEvent = splitline[4]
1060 
1061  isLineCounted = False
1062 
1063  # sum of all algorithm sizes in checkFile
1064  self.totalAlgSize += float(sizePerEvent)
1065 
1066  # Variable for testing if algorithm might be trigger related
1067  # Used in the last elif statement
1068  TrigInName = name.find("Trig") + name.find("HLT") + name.find("LVL1")
1069 
1070 
1073  if edm.getCategory(name) != 'NOTFOUND':
1074  self.triggerAlgList.append([name, edm.getCategory(name), float(sizePerEvent)])
1075 
1076 
1077  elif edm.getCategory(name) == 'NOTFOUND' and name.count('IOVMetaDataContainer'):
1078  self.triggerAlgList.append([name, 'Config', float(sizePerEvent)])
1079 
1080  elif edm.getCategory(name) == 'NOTFOUND' and name in triggerListConfig:
1081  self.triggerAlgList.append([name, 'Config', float(sizePerEvent)])
1082 
1083  elif edm.getCategory(name) == 'NOTFOUND' and name in triggerListMuon:
1084  self.triggerAlgList.append([name, 'Muon', float(sizePerEvent)])
1085 
1086  elif edm.getCategory(name) == 'NOTFOUND' and name in triggerListSteer:
1087  self.triggerAlgList.append([name, 'Steer', float(sizePerEvent)])
1088 
1089  elif edm.getCategory(name) == 'NOTFOUND' and name in triggerListConfigID:
1090  self.triggerAlgList.append([name, 'Tracking', float(sizePerEvent)])
1091 
1092  elif edm.getCategory(name) == 'NOTFOUND' and name.startswith("HLTNav_"):
1093  self.triggerAlgList.append([name, 'HLTNav', float(sizePerEvent)])
1094 
1095  elif edm.getCategory(name) == 'NOTFOUND' and name.startswith("TrigMatch_"):
1096  self.triggerAlgList.append([name, 'TrigMatching', float(sizePerEvent)])
1097 
1098 
1099 
1102  elif edm.getCategory(name) == 'NOTFOUND' and TrigInName != -3:
1103  triggerAlgListNotIncluded.append([name, edm.getCategory(name), float(sizePerEvent)])
1104 
1105 
1106 
1107  else:
1108  nontriggerAlgList.append([name, 'NonTrigger', float(sizePerEvent)])
1109 
1110 
1111  #loop over each counter
1112  for counter in listofCounters:
1113 
1114  #loop over each item in each counter
1115  for item in counter.itemList:
1116 
1117  #check that item has not already been counted
1118  if item==name and isLineCounted:
1119  doublesList[name]=item
1120  #if not already counted, increment the size of the Counter
1121  if item==name and not isLineCounted:
1122  counter.size += float(splitline[4])
1123  isLineCounted = True
1124 
1125  if not isLineCounted:
1126  try:
1127  sumNU += float(splitline[4])
1128  except Exception:
1129  pass
1130  TrigInName = name.find("Trig") + name.find("HLT") + name.find("LVL1")
1131 
1132  sum = 0 #the sum of all counters (should be equal to 'total')
1133  sumTrig = 0 #the sum of trigger component
1134  sumNonTrig = 0 #the sum of non trigger component
1135 
1136 
1138 
1139  self.triggerAlgSize = {}
1140  self.triggerAlgSize[ 'Total' ] = 0.0
1141  for triggerAlg in self.triggerAlgList:
1142  if not triggerAlg[1] in self.triggerAlgSize: self.triggerAlgSize[ triggerAlg[1] ] = triggerAlg[2]
1143  else: self.triggerAlgSize[ triggerAlg[1] ] += triggerAlg[2]
1144  self.triggerAlgSize[ 'Total' ] += triggerAlg[2]
1145 
1146 
1148 
1149  self.totalAlgSizeInLists = 0.0
1150  allAlgList = self.triggerAlgList + triggerAlgListNotIncluded + nontriggerAlgList
1151  for item in allAlgList:
1152  self.totalAlgSizeInLists += item[2]
1153 
1154 
1156 
1157  fileNameAddition = ""
1158  if "checkFile" in self.checkFile:
1159  fileNameAddition = "trigSize.txt"
1160  else:
1161  fileNameAddition = "checkFiletrigSize.txt"
1162 
1163  fout =open(self.checkFile+fileNameAddition,'w')
1164  print()
1165  print("Summary of categories:")
1166  fout.write( "\n Summary of categories:\n")
1167 
1168  #print the size of each counter (and calculate the sum)
1169  for counter in listofCounters:
1170  sum += counter.size
1171 
1172  #Compute the total size of trigger component
1173  for counter in listofTriggerCounters:
1174  sumTrig += counter.size
1175  # print counter.name.ljust(24), "%6.3f" % counter.size
1176  # fout.write( counter.name.ljust(24) + "%6.3f" % counter.size + "\n")
1177  for key in sorted(self.triggerAlgSize):
1178  if not key == 'Total':
1179  print("trigger"+key.ljust(24), "%6.3f" % self.triggerAlgSize[key])
1180  fout.write( "trigger"+key.ljust(24) + "%6.3f" % self.triggerAlgSize[key] + "\n")
1181 
1182  #Compute the total size of non trigger component
1183  for counter in listofNonTrigCounters:
1184  sumNonTrig += counter.size
1185 
1186  fout.write("\n=====================\n")
1187  print()
1188  print("=====================")
1189  print("Total Trigger Size".ljust(23), "%6.3f" % self.triggerAlgSize[ 'Total' ])
1190  fout.write("Total Trigger Size".ljust(23) + "%6.3f" % self.triggerAlgSize[ 'Total' ] + "\n")
1191  print("Total file size".ljust(23), self.totalAlgSize)
1192  fout.write("Total file size".ljust(23) + "%6.3f" % self.totalAlgSize + "\n")
1193  print()
1194  fout.write("\n ")
1195  print("Total file size (list)".ljust(23), self.totalAlgSizeInLists)
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")
1199  print()
1200  print()
1201  print("*******************************************************************")
1202  fout.write( "\n********************************************************************\n")
1203  print("")
1204  print()
1205  if len(self.triggerAlgList) > 0:
1206  fout.write( "\nThe following were found in TriggerEDM and counted but have a classification 'Unknown': \n")
1207  for item in self.triggerAlgList:
1208  if item[1] == 'Unknown':
1209  fout.write( "INFO: "+item[0]+"\n" )
1210 
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")
1217  return self.error
1218  return self.success
1219 
1220 
1221 
1222 
1223 # This is just for testing outside of the RTT

Member Data Documentation

◆ checkFile

checkFileTrigSize.checkFileTrigSize.checkFile

Definition at line 43 of file checkFileTrigSize.py.

◆ error

checkFileTrigSize.checkFileTrigSize.error

Definition at line 41 of file checkFileTrigSize.py.

◆ logger

checkFileTrigSize.checkFileTrigSize.logger

Definition at line 36 of file checkFileTrigSize.py.

◆ nontriggerAlgList

checkFileTrigSize.checkFileTrigSize.nontriggerAlgList

Definition at line 46 of file checkFileTrigSize.py.

◆ success

checkFileTrigSize.checkFileTrigSize.success

Definition at line 40 of file checkFileTrigSize.py.

◆ total

checkFileTrigSize.checkFileTrigSize.total

Definition at line 51 of file checkFileTrigSize.py.

◆ totalAlgSize

checkFileTrigSize.checkFileTrigSize.totalAlgSize

Definition at line 48 of file checkFileTrigSize.py.

◆ totalAlgSizeInLists

checkFileTrigSize.checkFileTrigSize.totalAlgSizeInLists

======================================================== Calculate total size of all algs / cont in list

Definition at line 50 of file checkFileTrigSize.py.

◆ triggerAlgList

checkFileTrigSize.checkFileTrigSize.triggerAlgList

list of trigger algorithms found in AOD, their category, and their size in the AOD

Definition at line 44 of file checkFileTrigSize.py.

◆ triggerAlgListNotIncluded

checkFileTrigSize.checkFileTrigSize.triggerAlgListNotIncluded

Definition at line 45 of file checkFileTrigSize.py.

◆ triggerAlgSize

checkFileTrigSize.checkFileTrigSize.triggerAlgSize

Add trigger algorithm to trigger list if it's found in TriggerEDM.py dictionary !! It should definately be found if it's a trigger algorithm !! Some exceptions for Steering info and RoIDescriptorStore.

IOVMetaDataContainer* are not in TriggerEDM.py dictionary -> Add manually to list Do some simple checks if algorithm is not found in dictionary (and isn't IOVMetaDataContainer*) Add these to triggerAlgsNotIncluded Can be used to debug the search algorithm of getCategory() in TriggerEDM.py Otherwise, put in non-trigger algorithm list ======================================================== ======================================================== Calculate trigger category sizes and store in dictionary

Definition at line 47 of file checkFileTrigSize.py.


The documentation for this class was generated from the following file:
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
run
int run(int argc, char *argv[])
Definition: ttree2hdf5.cxx:28
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
DerivationFramework::TriggerMatchingUtils::sorted
std::vector< typename T::value_type > sorted(T begin, T end)
Helper function to create a sorted vector from an unsorted one.
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
Trk::open
@ open
Definition: BinningType.h:40
str
Definition: BTagTrackIpAccessor.cxx:11
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70
readCCLHist.float
float
Definition: readCCLHist.py:83