Skip to content

Commit 80233cf

Browse files
committed
Update reading parameters also for ETL v10
1 parent fa7fadf commit 80233cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Geometry/MTDGeometryBuilder/src/MTDParametersFromDD.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool MTDParametersFromDD::build(const DDCompactView* cvp, PMTDParameters& ptp) {
7070
etlLayout.emplace_back("Offset_Front_Right");
7171
etlLayout.emplace_back("Offset_Back_Left");
7272
etlLayout.emplace_back("Offset_Back_Right");
73-
} else if (MTDTopologyMode::etlLayoutFromTopoMode(topoMode) == MTDTopologyMode::EtlLayout::v9) {
73+
} else if (MTDTopologyMode::etlLayoutFromTopoMode(topoMode) >= MTDTopologyMode::EtlLayout::v9) {
7474
etlLayout.emplace_back("StartCopyNo_Front_Disc_1");
7575
etlLayout.emplace_back("StartCopyNo_Back_Disc_1");
7676
etlLayout.emplace_back("StartCopyNo_Front_Disc_2");
@@ -153,7 +153,7 @@ bool MTDParametersFromDD::build(const cms::DDCompactView* cvp, PMTDParameters& p
153153
etlLayout.emplace_back("Offset_Front_Right");
154154
etlLayout.emplace_back("Offset_Back_Left");
155155
etlLayout.emplace_back("Offset_Back_Right");
156-
} else if (MTDTopologyMode::etlLayoutFromTopoMode(topoMode) == MTDTopologyMode::EtlLayout::v9) {
156+
} else if (MTDTopologyMode::etlLayoutFromTopoMode(topoMode) >= MTDTopologyMode::EtlLayout::v9) {
157157
etlLayout.emplace_back("StartCopyNo_Front_Disc_1");
158158
etlLayout.emplace_back("StartCopyNo_Back_Disc_1");
159159
etlLayout.emplace_back("StartCopyNo_Front_Disc_2");

0 commit comments

Comments
 (0)