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
@@ -122,7 +122,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
@@ -122,7 +122,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
Material support_mat = description.material(x_support.materialStr());
Material support_mat = description.material(x_support.materialStr());
Volume support_vol("support_frame_v", support_frame_s, support_mat);
Volume support_vol("support_frame_v", support_frame_s, support_mat);
support_vol.setVisAttributes(description.visAttributes(x_support.visStr()));
support_vol.setVisAttributes(description,x_support.visStr());
// figure out how to best place
// figure out how to best place
//auto pv = mod_vol.placeVolume(support_vol, Position(0.0, 0.0, l_pos_z + support_thickness / 2.0));
//auto pv = mod_vol.placeVolume(support_vol, Position(0.0, 0.0, l_pos_z + support_thickness / 2.0));
Loading