Skip to content
Snippets Groups Projects
Commit 7da31993 authored by Alex Jentsch's avatar Alex Jentsch
Browse files

Update src/SimpleRectangularTracker_geo.cpp

parent 9fccfaa7
No related tags found
1 merge request!8Draft: Resolve "Roman pot details"
Pipeline #12347 failed
...@@ -69,7 +69,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s ...@@ -69,7 +69,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
s_vol.setSensitiveDetector(sens); s_vol.setSensitiveDetector(sens);
} }
s_vol.setAttributes(description, x_slice.regionStr(), x_slice.limitsStr(), x_slice.visStr()); s_vol.setAttributes(description, x_slice.regionStr(), x_slice.limitsStr(), x_slice.visStr());
pv = m_vol.placeVolume(s_vol, Position(0, 0, z - zmin - layerWidth / 2 + thick / 2)); pv = l_vol.placeVolume(s_vol, Position(0, 0, z - zmin - layerWidth / 2 + thick / 2));
pv.addPhysVolID("slice", s_num); pv.addPhysVolID("slice", s_num);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment