Skip to content
Snippets Groups Projects
Commit 43f2e9ad authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: src/BarrelCalorimeter_geo.cpp

parent 535d4f98
No related branches found
No related tags found
1 merge request!36Fix ecal support on outside surface
This commit is part of merge request !36. Comments created here will be created in the context of that merge request.
......@@ -185,7 +185,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
layer_phv.addPhysVolID("layer", l_num);
layer.setPlacement(layer_phv);
// Increment to next layer Z position.
double xcut = l_thickness * tan_hphi;
double xcut = l_thickness * tan_hphi/2.0;
l_dim_x += xcut;
l_pos_z += l_thickness;
++l_num;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment