diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkPhys/share/PHYS.py b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkPhys/share/PHYS.py index ef7a2c444296003f6e5f4ab5f863599319897a4c..e061c6f8b5ce15405b9677b25f617302c4b8788c 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkPhys/share/PHYS.py +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkPhys/share/PHYS.py @@ -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)