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

modified: src/BarrelCalorimeter_geo.cpp

parent cf0c2770
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.
...@@ -56,7 +56,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s ...@@ -56,7 +56,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
double dx = 0.0; //mod_z / std::sin(dphi); // dx per layer double dx = 0.0; //mod_z / std::sin(dphi); // dx per layer
// Compute the top and bottom face measurements. // Compute the top and bottom face measurements.
double trd_x2 = (2 * std::tan(hphi) * outer_r - dx- support_thickness)/2 - tolerance; double trd_x2 = (2 * std::tan(hphi) * outer_r - dx)/2 - tolerance;
double trd_x1 = (2 * std::tan(hphi) * inner_r + dx)/2 - tolerance; double trd_x1 = (2 * std::tan(hphi) * inner_r + dx)/2 - tolerance;
double trd_y1 = x_dim.z()/2 - tolerance; double trd_y1 = x_dim.z()/2 - tolerance;
double trd_y2 = trd_y1; double trd_y2 = trd_y1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment