Skip to content

Commit

Permalink
Bug fix to HcalTopologyMode to enable understanding new modes backpor…
Browse files Browse the repository at this point in the history
…t of cms-sw#46077
  • Loading branch information
Sunanda committed Sep 20, 2024
1 parent d88ba97 commit eba7119
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Geometry/HcalCommonData/src/HcalTopologyMode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ StringToEnumParser<HcalTopologyMode::Mode>::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<HcalTopologyMode::TriggerMode>::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;
Expand Down

0 comments on commit eba7119

Please sign in to comment.