Skip to content

Commit

Permalink
rebasing after +/- pi change
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger committed Nov 11, 2024
1 parent ae8a892 commit 4e9fca1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ class MappingMaterialDecorator : public IMaterialDecorator {
radialBounds->get(Acts::RadialBounds::eHalfPhiSector),
(radialBounds->get(Acts::RadialBounds::eHalfPhiSector) -
std::numbers::pi) < Acts::s_epsilon
? Acts::closed
: Acts::open,
Acts::BinningValue::binPhi);
bUtility += Acts::BinUtility(binning.second,
static_cast<float>(radialBounds->rMin()),
static_cast<float>(radialBounds->rMax()),
Acts::open, Acts::BinningValue::binR);
? Acts::AxisBoundaryType::Closed
: Acts::AxisBoundaryType::Bound,
Acts::AxisDirection::AxisPhi);
bUtility += Acts::BinUtility(
binning.second, static_cast<float>(radialBounds->rMin()),
static_cast<float>(radialBounds->rMax()),
Acts::AxisBoundaryType::Bound, Acts::AxisDirection::AxisR);
}
if (cylinderBounds != nullptr) {
bUtility += Acts::BinUtility(
Expand Down
5 changes: 2 additions & 3 deletions Tests/UnitTests/Fatras/Digitization/PlanarSurfaceTestBeds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ struct PlanarSurfaceTestBeds {
Acts::BinUtility stripsPhi(1, rmin, rmax, Acts::AxisBoundaryType::Bound,
Acts::AxisDirection::AxisR);
stripsPhi += Acts::BinUtility(
25, std::numbers::pi / 2. - alpha,
std::numbers::pi / 2. + alpha Acts::AxisBoundaryType::Bound,
Acts::AxisDirection::AxisPhi);
25, std::numbers::pi / 2. - alpha, std::numbers::pi / 2. + alpha,
Acts::AxisBoundaryType::Bound, Acts::AxisDirection::AxisPhi);

TrapezoidRandom dtRandom(xmin * rScale, xmax * rScale, rmin * irScale,
ymax * rScale);
Expand Down

0 comments on commit 4e9fca1

Please sign in to comment.