Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove redundant check in MultiWireStructureBuilder #2824

Merged
merged 12 commits into from
Dec 15, 2023
6 changes: 0 additions & 6 deletions Core/src/Detector/MultiWireStructureBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ Acts::Experimental::MultiWireStructureBuilder::MultiWireStructureBuilder(
Acts::Experimental::DetectorComponent
Acts::Experimental::MultiWireStructureBuilder::construct(
const Acts::GeometryContext& gctx) {
if (mCfg.mlBounds.size() != 4u) {
throw std::invalid_argument(
"MultiWireStructureBuilder: Invalid dimension for bounds. Trapezoid "
"Volume Bounds are supported.");
}

// Configure the external structure builder for the internal structure
Acts::Experimental::VolumeStructureBuilder::Config vsConfig;
vsConfig.boundsType = Acts::VolumeBounds::eTrapezoid;
Expand Down
Loading