Skip to content

Commit a195a9d

Browse files
author
Sunanda
committed
Code check
1 parent 7dc63de commit a195a9d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

SimG4CMS/Calo/src/HGCMouseBite.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
//#define EDM_ML_DEBUG
88

99
HGCMouseBite::HGCMouseBite(const HGCalDDDConstants& hgc, const std::vector<double>& angle, double maxL, bool rot)
10-
: hgcons_(&hgc), hgTBcons_(nullptr), ifTB_(false), cut_(maxL), rot_(rot) {
10+
: hgcons_(&hgc), hgTBcons_(nullptr), ifTB_(false), cut_(maxL), rot_(rot) {
1111
modeUV_ = hgcons_->waferHexagon8();
1212
init(angle);
1313
}
1414

1515
HGCMouseBite::HGCMouseBite(const HGCalTBDDDConstants& hgc, const std::vector<double>& angle, double maxL, bool rot)
16-
: hgcons_(nullptr), hgTBcons_(&hgc), ifTB_(true), cut_(maxL), rot_(rot) {
16+
: hgcons_(nullptr), hgTBcons_(&hgc), ifTB_(true), cut_(maxL), rot_(rot) {
1717
modeUV_ = false;
1818
init(angle);
1919
}
@@ -36,10 +36,11 @@ bool HGCMouseBite::exclude(G4ThreeVector& point, int zside, int lay, int waferU,
3636
double dx(0), dy(0);
3737
if (point == G4ThreeVector()) {
3838
std::pair<double, double> xy;
39-
if (ifTB_)
39+
if (ifTB_)
4040
xy = hgTBcons_->waferPosition(waferU, false);
4141
else
42-
xy = (modeUV_ ? hgcons_->waferPosition(lay, waferU, waferV, false, false) : hgcons_->waferPosition(waferU, false));
42+
xy =
43+
(modeUV_ ? hgcons_->waferPosition(lay, waferU, waferV, false, false) : hgcons_->waferPosition(waferU, false));
4344
double xx = (zside > 0) ? xy.first : -xy.first;
4445
if (rot_) {
4546
dx = std::abs(point.y() - xy.second);

0 commit comments

Comments
 (0)