Skip to content

Commit

Permalink
code-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mbluj committed Feb 16, 2024
1 parent 589b827 commit 9e1e558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ uint32_t OMTFConfiguration::getLayerNumber(uint32_t rawId) const {
int OMTFConfiguration::calcGlobalPhi(int locPhi, int proc) const {
int globPhi = 0;
//60 degree sectors = 96 in int-scale
globPhi = (proc)*96 * 6 / nProcessors() + locPhi;
globPhi = (proc) * 96 * 6 / nProcessors() + locPhi;
// first processor starts at CMS phi = 15 degrees (24 in int)... Handle wrap-around with %. Add 576 to make sure the number is positive
globPhi = (globPhi + 600) % 576;
return globPhi;
Expand Down

0 comments on commit 9e1e558

Please sign in to comment.