Skip to content

Commit be2cbc8

Browse files
committed
Revert "updated dummy constructor to new BTLDetId constructor"
This reverts commit 6a8a23a.
1 parent e7242c1 commit be2cbc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RecoMTD/DetLayers/src/MTDDetLayerGeometry.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ DetId MTDDetLayerGeometry::makeDetLayerId(const DetLayer* detLayer) const {
7878
return ETLDetId(id.mtdSide(), 0, 0, 0, 0); // Constructor of new geometry is compatible with prev8
7979
} else if (detLayer->subDetector() == GeomDetEnumerators::TimingBarrel) {
8080
BTLDetId id(detLayer->basicComponents().front()->geographicalId().rawId());
81-
return BTLDetId(id.mtdSide(), 0, 0, 0, 0, 0);
81+
return BTLDetId(id.mtdSide(), 0, 0, 0, 0);
8282
} else
8383
throw cms::Exception("InvalidModuleIdentification"); // << detLayer->module();
8484
}
@@ -108,7 +108,7 @@ const DetLayer* MTDDetLayerGeometry::idToLayer(const DetId& id) const {
108108
idout = ETLDetId(etlId.mtdSide(), 0, 0, 0, 0);
109109
} else if (detId.mtdSubDetector() == 1) { // 1 is BTL
110110
BTLDetId btlId(detId.rawId());
111-
idout = BTLDetId(btlId.mtdSide(), 0, 0, 0, 0, 0);
111+
idout = BTLDetId(btlId.mtdSide(), 0, 0, 0, 0);
112112
} else
113113
throw cms::Exception("InvalidSubdetId") << detId.subdetId();
114114

0 commit comments

Comments
 (0)