Skip to content

Commit

Permalink
addressing davidlange comments pII
Browse files Browse the repository at this point in the history
  • Loading branch information
amarini authored and jbsauvan committed Mar 8, 2017
1 parent 8dce149 commit 7dc0f7c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions DataFormats/L1THGCal/src/ClusterShapes.cc
Expand Up @@ -93,17 +93,12 @@ float ClusterShapes::SigmaPhiPhi()const {

if (spp_0 < spp_1 )
{
// return phi in a well defined set of coordinates
isPhi0_=true;
while (phi_0 < - M_PI) phi_0 += 2*M_PI;
while (phi_0 > M_PI) phi_0 -= 2*M_PI;
return spp_0;
}
else
{
isPhi0_=false;
while (phi_1 < - M_PI) phi_1 += 2*M_PI;
while (phi_1 > M_PI) phi_1 -= 2*M_PI;
return spp_1;
}
}
Expand Down

0 comments on commit 7dc0f7c

Please sign in to comment.