Commit 9bb1faff authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: src/SiTrackerEndcap_geo.cpp

parent 48e1cf7d
......@@ -193,7 +193,12 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
pv = motherVol.placeVolume(assembly);
// hack to get around the way ACTS defines pos/neg endcaps based on zposition
Position final_pos(0,0,0);
if(reflect) {
final_pos = Position(0,0,-1.0e-9);
pv = motherVol.placeVolume(assembly,final_pos);
return sdet;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment