Skip to content

Commit

Permalink
Misunderstood the meaning of phioff
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Dec 28, 2016
1 parent d9bada6 commit 50917aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Geometry/HcalCommonData/src/HcalDDDSimConstants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ HcalCellType::HcalCell HcalDDDSimConstants::cell(int idet, int zside,
fibin = hpar->phitable[etaR-hpar->etaMin[2]];
if (unitPhi(fibin) > 2) fioff = hpar->phioff[4];
}
phi = fioff + (iphi - 0.5)*fibin;
phi =-fioff + (iphi - 0.5)*fibin;
dphi = 0.5*fibin;
if (idet == static_cast<int>(HcalForward)) {
int ir = nR + hpar->etaMin[2] - etaR - 1;
Expand Down

0 comments on commit 50917aa

Please sign in to comment.