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

modified: src/BarrelTrackerWithFrame_geo.cpp

parent 0874ad9e
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
volumes[m_nam] = m_vol;
m_vol.setVisAttributes(description.visAttributes(x_mod.visStr()));
double thickness_sum = total_thickness/2.0;
double thickness_sum = -total_thickness/2.0;
for (xml_coll_t ci(x_mod, _U(module_component)); ci; ++ci, ++ncomponents) {
xml_comp_t x_comp = ci;
xml_comp_t x_pos = x_comp.position(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment