Skip to content
Snippets Groups Projects
Commit a838731f authored by Tobias Boeckh's avatar Tobias Boeckh
Browse files

add comment explaining increased layer thickness

parent 557667a8
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,7 @@ FaserActsLayerBuilder::buildLayers(const Acts::GeometryContext& gctx,
std::shared_ptr<const Acts::ProtoSurfaceMaterial> materialProxy = nullptr;
double layerZ = 0.5 * (pl.min(Acts::binZ) + pl.max(Acts::binZ));
// increase layerThickness by 4 mm so that after alignment shifts all modules are still within the boundaries
double layerThickness = (pl.max(Acts::binZ) - pl.min(Acts::binZ)) + 4_mm;
double layerZInner = layerZ - layerThickness/2.;
double layerZOuter = layerZ + layerThickness/2.;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment