Skip to content
Snippets Groups Projects

Sweeping !26444 from master to 21.1. Updating diff_root_files.py to look for 'EventInfoAux.'Closes ATLASRECTS-5115

Merged Sweeping !26444 from master to 21.1. Updating diff_root_files.py to look for 'EventInfoAux.'Closes ATLASRECTS-5115
Merged Atlas Nightlybuild requested to merge cherry-pick-3fcb33ec11-21.1 into 21.1
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -142,6 +142,9 @@ def main(args):
if hasattr(tree,'xAOD::EventAuxInfo_v1_EventInfoAux.'):
event_info = getattr(tree,'xAOD::EventAuxInfo_v1_EventInfoAux.')
event_number = event_info.eventNumber
elif hasattr(tree,'EventInfoAux.'):
event_info = getattr(tree,'EventInfoAux.')
event_number = event_info.eventNumber
elif hasattr(tree,'EventInfo_p4_McEventInfo'):
event_info = getattr(tree,'EventInfo_p4_McEventInfo')
event_number = event_info.m_event_ID.m_event_number
Loading