From 73019e77ef65eb03a0138054d71b2a23cb7b68a1 Mon Sep 17 00:00:00 2001 From: Tommaso Fulghesu <tommaso.fulghesu@cern.ch> Date: Thu, 27 Mar 2025 16:16:40 +0100 Subject: [PATCH 1/2] Manually fix the number of HLT1 lines --- Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt b/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt index d73774419b2..e26f796797f 100644 --- a/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt +++ b/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt @@ -97,8 +97,8 @@ hlt1_phys_matches = re.findall(r"Selected by Hlt1((?!Passthrough)(?!TAEPassthrou hlt1_nonphys_matches = re.findall(r"Selected by Hlt1((Passthrough)|(TAEPassthrough)|(PassthroughLargeEvent)|(ErrorBank)|(Velo)|(BeamGas)|(BGIPseudo)|(RICH)|(Material)|(ODINCalib)|(ODINee)).*Decision", stdout) hlt1_smog2_matches = re.findall(r"Selected by Hlt1.*SMOG2.*Decision", stdout) -if len(hlt1_phys_matches) != 75: - causes.append("Wrong number of HLT1 PHYS lines, 75 lines expected but got {}, check instructions and update settings if needed".format(len(hlt1_phys_matches))) +if len(hlt1_phys_matches) != 78: + causes.append("Wrong number of HLT1 PHYS lines, 78 lines expected but got {}, check instructions and update settings if needed".format(len(hlt1_phys_matches))) if len(hlt1_nonphys_matches) != 19: causes.append("Wrong number of HLT1 NONPHYS lines, 19 lines expected but got {}, check instructions and update settings if needed".format(len(hlt1_nonphys_matches))) if len(hlt1_smog2_matches) !=18: -- GitLab From 5ac1c3f3ac3ec6f8e7422659e40f81a752184327 Mon Sep 17 00:00:00 2001 From: Tommaso Fulghesu <tommaso.fulghesu@cern.ch> Date: Thu, 27 Mar 2025 16:34:54 +0100 Subject: [PATCH 2/2] Add another line --- Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt b/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt index e26f796797f..69a668b80b9 100644 --- a/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt +++ b/Hlt/Hlt2Conf/tests/qmtest/allen_mdf_write_for_hlt2.qmt @@ -97,8 +97,8 @@ hlt1_phys_matches = re.findall(r"Selected by Hlt1((?!Passthrough)(?!TAEPassthrou hlt1_nonphys_matches = re.findall(r"Selected by Hlt1((Passthrough)|(TAEPassthrough)|(PassthroughLargeEvent)|(ErrorBank)|(Velo)|(BeamGas)|(BGIPseudo)|(RICH)|(Material)|(ODINCalib)|(ODINee)).*Decision", stdout) hlt1_smog2_matches = re.findall(r"Selected by Hlt1.*SMOG2.*Decision", stdout) -if len(hlt1_phys_matches) != 78: - causes.append("Wrong number of HLT1 PHYS lines, 78 lines expected but got {}, check instructions and update settings if needed".format(len(hlt1_phys_matches))) +if len(hlt1_phys_matches) != 79: + causes.append("Wrong number of HLT1 PHYS lines, 79 lines expected but got {}, check instructions and update settings if needed".format(len(hlt1_phys_matches))) if len(hlt1_nonphys_matches) != 19: causes.append("Wrong number of HLT1 NONPHYS lines, 19 lines expected but got {}, check instructions and update settings if needed".format(len(hlt1_nonphys_matches))) if len(hlt1_smog2_matches) !=18: -- GitLab