Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Geometry/HGCalCommonData/src/HGCalCellOffset.cc
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ HGCalCellOffset::HGCalCellOffset(double waferSize,
std::array<double, 6> tempOffsetY = {
{-sqrt3By2_ * offMag, 0.0, sqrt3By2_ * offMag, sqrt3By2_ * offMag, 0.0, -sqrt3By2_ * offMag}};
for (int i = 0; i < 6; ++i) {
offsetX[k][j][i] = tempOffsetX[i];
offsetY[k][j][i] = tempOffsetY[i];
offsetPartialX[k][j - HGCalCell::partiaclWaferCellsOffset][i] = tempOffsetX[i];
offsetPartialY[k][j - HGCalCell::partiaclWaferCellsOffset][i] = tempOffsetY[i];
}
} else if (j == HGCalCell::intExtCell) { //Offset for extended cells
double totalArea = (7.0 * sqrt3_ / 4.0) * std::pow(cellX_[k], 2); // Area of cell without any dead zone
Expand All @@ -598,8 +598,8 @@ HGCalCellOffset::HGCalCellOffset(double waferSize,
std::array<double, 6> tempOffsetY = {
{-sqrt3By2_ * offMag, 0.0, sqrt3By2_ * offMag, sqrt3By2_ * offMag, 0.0, -sqrt3By2_ * offMag}};
for (int i = 0; i < 6; ++i) {
offsetX[k][j][i] = tempOffsetX[i];
offsetY[k][j][i] = tempOffsetY[i];
offsetPartialX[k][j - HGCalCell::partiaclWaferCellsOffset][i] = tempOffsetX[i];
offsetPartialY[k][j - HGCalCell::partiaclWaferCellsOffset][i] = tempOffsetY[i];
}
} else if (j == (HGCalCell::intHalfExtCell)) {
double totalArea = (7.0 * sqrt3_ / 8.0) * std::pow(cellX_[k], 2);
Expand Down