Skip to content

Commit

Permalink
Recovered the double thickness bug in TrackerEndcapSupport_o1_v01 for…
Browse files Browse the repository at this point in the history
… backward compatibility
  • Loading branch information
bartosik-hep committed Dec 9, 2020
1 parent e8f7ba7 commit 1ca26fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detector/other/TrackerEndcapSupport_o1_v01.cpp
Expand Up @@ -110,7 +110,7 @@ static Ref_t create_detector(Detector& theDetector, xml_h e, SensitiveDetector)
double thick = x_slice.thickness();
Material mat = theDetector.material(x_slice.materialStr());
string s_nam = l_nam + _toString(s_num, "_slice%d");
Volume s_vol2(s_nam, Tube(rmin, rmax, thick/2.), mat);
Volume s_vol2(s_nam, Tube(rmin, rmax, thick), mat);

//Add surface to the support
double mid_r = 0.5 * ( rmin + rmax ) ;
Expand Down

0 comments on commit 1ca26fe

Please sign in to comment.