Skip to content
Snippets Groups Projects

Fix ecal support on outside surface

Merged Whitney Armstrong requested to merge 13-emcal-support into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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
// 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_y1 = x_dim.z()/2 - tolerance;
double trd_y2 = trd_y1;
Loading