Definition at line 22 of file TrigDecisionToolHelpers.py.
24 default_key =
'HLTNav_Summary_OnlineSlimmed' if getattr(flags.Trigger,
"doOnlineNavigationCompactification",
False)
else 'HLTNav_Summary'
25 to_return = default_key
27 if getattr(flags.Trigger,
"doEDMVersionConversion",
False):
28 to_return =
'HLTNav_R2ToR3Summary'
30 for key
in possible_keys:
31 if key
in flags.Input.Collections:
35 msg = logging.getLogger(
'getRun3NavigationContainerFromInput')
36 msg.info(
'Returning %s as the Run 3 trigger navigation colletion to read in this job.', to_return)
39 if to_return
not in possible_keys:
40 msg.error(
'Must add %s to the "possible_keys" array!', to_return)