Skip to content

Commit 9ed4c70

Browse files
committed
Fix undeclared identifiers in RectangularPixelPhase2Topology
1 parent 1234e95 commit 9ed4c70

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Geometry/TrackerGeometryBuilder/src/RectangularPixelPhase2Topology.cc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,17 @@ std::pair<float, float> RectangularPixelPhase2Topology::pixel(const LocalPoint&
8383
if (iybin0 > m_COLS_PER_ROC) {
8484
LogDebug("RectangularPixelPhase2Topology") << " very bad, newbiny " << iybin0 << "\n"
8585
<< py << " " << m_yoffset << " " << m_pitchy << " " << newybin << " "
86-
<< iybin << " " << fractionY << " " << iybin0 << " " << numROC;
86+
<< iybin << " " << fractionY << " " << iybin0 << " " << m_COLS_PER_ROC;
8787
}
8888
#endif // EDM_ML_DEBUG
8989

9090
#ifdef EDM_ML_DEBUG
9191

9292
if (mpY < 0. || mpY >= 2 * m_COLS_PER_ROC) {
93-
LogDebug("RectangularPixelPhase2Topology") << " bad pix y " << mpY << "\n"
94-
<< py << " " << m_yoffset << " " << m_pitchy << " " << newybin << " "
95-
<< iybin << " " << fractionY << " " << iybin0 << " " << numROC;
93+
LogDebug("RectangularPixelPhase2Topology")
94+
<< " bad pix y " << mpY << "\n"
95+
<< py << " " << m_yoffset << " " << m_pitchy << " " << newybin << " " << iybin << " " << fractionY << " "
96+
<< iybin0 << " " << 2 * m_COLS_PER_ROC;
9697
}
9798
#endif // EDM_ML_DEBUG
9899

@@ -130,7 +131,7 @@ std::pair<float, float> RectangularPixelPhase2Topology::pixel(const LocalPoint&
130131

131132
#ifdef EDM_ML_DEBUG
132133

133-
if (ixbin0 > m_ROW_PER_ROC || ixbin0 < 0) // ixbin < 0 outside range
134+
if (ixbin0 > m_ROWS_PER_ROC || ixbin0 < 0) // ixbin < 0 outside range
134135
{
135136
LogDebug("RectangularPixelPhase2Topology")
136137
<< " very bad, newbinx " << ixbin << "\n"
@@ -140,7 +141,7 @@ std::pair<float, float> RectangularPixelPhase2Topology::pixel(const LocalPoint&
140141

141142
#ifdef EDM_ML_DEBUG
142143

143-
if (mpX < 0. || mpX >= 2 * m_ROW_PER_ROC) {
144+
if (mpX < 0. || mpX >= 2 * m_ROWS_PER_ROC) {
144145
LogDebug("RectangularPixelPhase2Topology")
145146
<< " bad pix x " << mpX << "\n"
146147
<< px << " " << m_xoffset << " " << m_pitchx << " " << newxbin << " " << ixbin << " " << fractionX;

0 commit comments

Comments
 (0)