From 31938879cbb9b6a64df6e29e15374d17274cce7e Mon Sep 17 00:00:00 2001 From: Efe Yigitbasi Date: Thu, 6 Jul 2023 11:23:55 +0200 Subject: [PATCH] Added support for 2023 PC LUTs --- L1Trigger/L1TMuonEndCap/src/ConditionHelper.cc | 7 +++++-- L1Trigger/L1TMuonEndCap/src/SectorProcessorLUT.cc | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/L1Trigger/L1TMuonEndCap/src/ConditionHelper.cc b/L1Trigger/L1TMuonEndCap/src/ConditionHelper.cc index 742c311c28e5e..cdfd222c42c36 100644 --- a/L1Trigger/L1TMuonEndCap/src/ConditionHelper.cc +++ b/L1Trigger/L1TMuonEndCap/src/ConditionHelper.cc @@ -82,10 +82,13 @@ unsigned int ConditionHelper::get_pc_lut_version() const { } else if (params_->firmwareVersion_ < 1537467271) { // From the beginning of 2017 return 1; // Corresponding to FW timestamps before Sept. 20, 2018 } else if (params_->firmwareVersion_ < - 1664468309) { // Corresponds to September 29, 2022. The firmware got deployed on October 6, 2022. + 1664468309) { // Corresponds to September 29, 2022. The firmware was deployed on October 6, 2022. return 2; // Starting September 26, 2018 with run 323556 (data only, not in MC) + } else if (params_->firmwareVersion_ < + 1687686338) { // Corresponds to June 25, 2023. The firmware was deployed on June 26, 2023. + return 3; // Starting October 6, 2022 with run 359924 (data only, not in MC) } else { - return 3; // Starting October 6, 2022 with run 359924 (data only, not in MC) + return 4; // Starting July 1, 2023 with run 369675 (data only, not in MC) } } diff --git a/L1Trigger/L1TMuonEndCap/src/SectorProcessorLUT.cc b/L1Trigger/L1TMuonEndCap/src/SectorProcessorLUT.cc index 5381ae494607d..d294f85346395 100644 --- a/L1Trigger/L1TMuonEndCap/src/SectorProcessorLUT.cc +++ b/L1Trigger/L1TMuonEndCap/src/SectorProcessorLUT.cc @@ -27,6 +27,8 @@ void SectorProcessorLUT::read(bool pc_lut_data, int pc_lut_version) { coord_lut_dir = "ph_lut_v3_data"; // Update in September 2017 from ReReco alignment, data only else if (pc_lut_version == 3 && pc_lut_data) coord_lut_dir = "ph_lut_Run3_2022_data"; // Update in October 2022 from Run 3 2022 alignment, data only + else if (pc_lut_version == 4 && pc_lut_data) + coord_lut_dir = "ph_lut_Run3_2023_data"; // Update in June 2023 from Run 3 2023 alignment, data only else if (pc_lut_version >= 2) coord_lut_dir = "ph_lut_v2"; // MC still uses ideal CMS aligment else if (pc_lut_version == -1 && pc_lut_data)