Skip to content

Commit 10971cf

Browse files
author
Sunanda
committed
code check
1 parent d3bb112 commit 10971cf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Geometry/HGCalCommonData/src/HGCalGeomTools.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,17 @@ void HGCalGeomTools::radius(double zf,
108108
edm::LogVerbatim("HGCalGeom") << "HGCalGeomTools::radiusX:Try 2:" << zf << ":" << *zb2 << " (" << z1 << ") : " << zb
109109
<< " Test " << (slope(*zb2, zFront2, slope2) < tol_) << ":"
110110
<< ((std::abs(*zb2 - zb) > tol_) && (std::abs(*zb2 - zf) > tol_));
111-
edm::LogVerbatim("HGCalGeom") << "HGCalGeomTools::radiusX:Try 2X:" << (slope(*zb2, zFront2, slope2) < tol_) << ":" << (std::abs(*zb2 - zf) < tol_);
111+
edm::LogVerbatim("HGCalGeom") << "HGCalGeomTools::radiusX:Try 2X:" << (slope(*zb2, zFront2, slope2) < tol_) << ":"
112+
<< (std::abs(*zb2 - zf) < tol_);
112113
#endif
113114
zz.emplace_back(zf);
114115
rin.emplace_back(radius(zf, zFront1, rFront1, slope1));
115116
rout.emplace_back(radius(zf, zFront2, rFront2, slope2));
116117
if (slope(*zb2, zFront2, slope2) < tol_) {
117118
if (std::abs(*zb2 - zf) > tol_) {
118-
zz.emplace_back(*zb2);
119-
rin.emplace_back(radius(*zb2, zFront1, rFront1, slope1));
120-
rout.emplace_back(radius(*zb2 - tol_, zFront2, rFront2, slope2));
119+
zz.emplace_back(*zb2);
120+
rin.emplace_back(radius(*zb2, zFront1, rFront1, slope1));
121+
rout.emplace_back(radius(*zb2 - tol_, zFront2, rFront2, slope2));
121122
}
122123
}
123124
if ((std::abs(*zb2 - zb) > tol_) && (std::abs(*zb2 - zf) > tol_)) {

0 commit comments

Comments
 (0)