Skip to content
Snippets Groups Projects
Commit 4c8df707 authored by Daniele Zanzi's avatar Daniele Zanzi
Browse files

small fixes

parent d1653bb6
1 merge request!42098add all trigger matchable chains for Run3 in DAOD_PHYS (ATR-23142)
......@@ -102,15 +102,14 @@ from AthenaConfiguration.AutoConfigFlags import GetFileMD
from AthenaConfiguration.AllConfigFlags import ConfigFlags
if ConfigFlags.Trigger.EDMVersion == 3:
r = re.compile("HLT_.*tau.*")
r_tau = re.compile("HLT_.*tau.*")
r_notau = re.compile("HLT_[1-9]*(e|mu|g).*")
r_veto = re.compile("HLT_.*(LRT).*")
# r_notau = re.compile("HLT_mu.*")
for chain_name in GetFileMD(ConfigFlags.Input.Files)['TriggerMenu']['HLTChains']:
result = r.match(chain_name)
result_tau = r_tau.match(chain_name)
result_notau = r_notau.match(chain_name)
result_veto = r_veto.match(chain_name)
if result is not None and result_veto is None: trigger_names_tau.append(chain_name)
if result_tau is not None and result_veto is None: trigger_names_tau.append(chain_name)
if result_notau is not None and result_veto is None: trigger_names_notau.append(chain_name)
trigger_names_notau = set(trigger_names_notau) - set(trigger_names_tau)
trigger_names_notau = list(trigger_names_notau)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment