Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 14, 2024
1 parent a59b044 commit 78ecdd1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/framework/masks/src/TRestRadialStrippedMask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ Int_t TRestRadialStrippedMask::GetRegion(Double_t& x, Double_t& y) {
return 0;
}

TVector2 point(x, y);
Double_t phi = point.Phi();
TVector2 point(x, y);
Double_t phi = point.Phi();

/// phi determines the region where the point is found
Int_t region = (Int_t) (phi/fStripsAngle);
region = 2 + region%fMaxRegions;
/// phi determines the region where the point is found
Int_t region = (Int_t)(phi / fStripsAngle);
region = 2 + region % fMaxRegions;

Double_t angle = 0;
/// Checking if we hit an arm
Expand Down

0 comments on commit 78ecdd1

Please sign in to comment.