Skip to content
Snippets Groups Projects
Commit d276c7ed authored by Marshall Scott's avatar Marshall Scott
Browse files

Checking layer thickness 2

parent b08306bb
No related branches found
No related tags found
1 merge request!59Resolve "ZDC sampling detector"
Pipeline #10347 failed
......@@ -36,6 +36,7 @@ static Ref_t createDetector(Detector& lcdd, xml_h e, SensitiveDetector sens) {
int layer_num = 1;
int slice_num = 1;
double totWidth = Layering(x_det).totalThickness();
totWidth += 2*13;
Box envelope (pixel_x/2.0, pixel_y/2.0, totWidth/2.0);
Volume envelopeVol(det_name+"_envelope", envelope, air);
PlacedVolume pv;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment