From eba71198aba41b3a97d5d20c68dea3f0aaa66a75 Mon Sep 17 00:00:00 2001 From: Sunanda Date: Fri, 20 Sep 2024 18:10:01 +0200 Subject: [PATCH] Bug fix to HcalTopologyMode to enable understanding new modes backport of #46077 --- Geometry/HcalCommonData/src/HcalTopologyMode.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Geometry/HcalCommonData/src/HcalTopologyMode.cc b/Geometry/HcalCommonData/src/HcalTopologyMode.cc index fb92c6c95dff2..7e2122bb56b0b 100644 --- a/Geometry/HcalCommonData/src/HcalTopologyMode.cc +++ b/Geometry/HcalCommonData/src/HcalTopologyMode.cc @@ -6,12 +6,15 @@ StringToEnumParser::StringToEnumParser() { enumMap["HcalTopologyMode::H2"] = HcalTopologyMode::H2; enumMap["HcalTopologyMode::SLHC"] = HcalTopologyMode::SLHC; enumMap["HcalTopologyMode::H2HE"] = HcalTopologyMode::H2HE; + enumMap["HcalTopologyMode::Run3"] = HcalTopologyMode::Run3; + enumMap["HcalTopologyMode::Run4"] = HcalTopologyMode::Run4; } template <> StringToEnumParser::StringToEnumParser() { enumMap["HcalTopologyMode::TriggerMode_2009"] = HcalTopologyMode::TriggerMode_2009; enumMap["HcalTopologyMode::TriggerMode_2016"] = HcalTopologyMode::TriggerMode_2016; + enumMap["HcalTopologyMode::TriggerMode_2018legacy"] = HcalTopologyMode::TriggerMode_2018legacy; enumMap["HcalTopologyMode::TriggerMode_2017"] = HcalTopologyMode::TriggerMode_2017; enumMap["HcalTopologyMode::TriggerMode_2017plan1"] = HcalTopologyMode::TriggerMode_2017plan1; enumMap["HcalTopologyMode::TriggerMode_2018"] = HcalTopologyMode::TriggerMode_2018;