Skip to content

Commit 816cee7

Browse files
authored
Merge pull request #49536 from bsunanda/Phase2-hgx364X
Phase2-hgx364X Correct the testing code for checking IDs of HGCal
2 parents 488044c + b2bbed4 commit 816cee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Geometry/HGCalGeometry/test/HGCalIdCheck.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ HGCalIdCheck::HGCalIdCheck(const edm::ParameterSet &iC)
8585
std::vector<std::string> items = HGCalGeomUtils::splitString(std::string(buffer));
8686
DetId::Detector det = static_cast<DetId::Detector>(std::atoi(items[0].c_str()));
8787
if (det == dets_) {
88-
int32_t zp = std::atoi(items[2].c_str());
89-
int32_t type = std::atoi(items[1].c_str());
88+
int32_t zp = std::atoi(items[1].c_str());
89+
int32_t type = std::atoi(items[2].c_str());
9090
int32_t layer = std::atoi(items[3].c_str());
9191
int32_t waferU = std::atoi(items[4].c_str());
9292
int32_t waferV = std::atoi(items[5].c_str());

0 commit comments

Comments
 (0)