Skip to content

Commit

Permalink
Added missing extent (#829)
Browse files Browse the repository at this point in the history
Setting rmin/rmax when parsing discs.
  • Loading branch information
whit2333 committed Jun 4, 2021
1 parent b6371e2 commit d930e7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Plugins/DD4hep/src/DD4hepLayerBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ const Acts::LayerVector Acts::DD4hepLayerBuilder::endcapLayers(
std::abs(zMax - pl.max(Acts::binZ))};
pl.envelope[Acts::binR] = {std::abs(rMin - pl.min(Acts::binR)),
std::abs(rMax - pl.max(Acts::binR))};
pl.extent.ranges[Acts::binR] = {rMin, rMax};
}
} else {
throw std::logic_error(
Expand Down

0 comments on commit d930e7e

Please sign in to comment.