Skip to content

Commit 1cfc778

Browse files
author
Sunanda
committed
Code check
1 parent cd3daa9 commit 1cfc778

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Geometry/HGCalCommonData/interface/HGCalDDDConstants.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ class HGCalDDDConstants {
268268
int waferType(DetId const& id, bool fromFile) const;
269269
int waferType(int layer, int waferU, int waferV, bool fromFile) const;
270270
inline int waferTypes() const {
271-
return ((waferHexagon8()) ? (hgpar_->cellThickness_.size()) : ((waferHexagon6()) ? 3 : 0));;
271+
return ((waferHexagon8()) ? (hgpar_->cellThickness_.size()) : ((waferHexagon6()) ? 3 : 0));
272+
;
272273
}
273274
std::tuple<int, int, int> waferType(HGCSiliconDetId const& id, bool fromFile) const;
274275
std::pair<int, int> waferTypeRotation(int layer, int waferU, int waferV, bool fromFile, bool debug) const;

RecoLocalCalo/HGCalRecAlgos/src/RecHitTools.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ namespace {
7171
return ddd;
7272
}
7373

74-
inline const HGCalDDDConstants* get_ddd(const CaloGeometry* geom, DetId::Detector det, int subdet = ForwardSubdetector::ForwardEmpty) {
74+
inline const HGCalDDDConstants* get_ddd(const CaloGeometry* geom,
75+
DetId::Detector det,
76+
int subdet = ForwardSubdetector::ForwardEmpty) {
7577
const HGCalGeometry* hg = static_cast<const HGCalGeometry*>(geom->getSubdetectorGeometry(det, subdet));
7678
const HGCalDDDConstants* ddd = &(hg->topology().dddConstants());
7779
check_ddd(ddd);

0 commit comments

Comments
 (0)