diff --git a/src/ffi_ZDC.cpp b/src/ffi_ZDC.cpp index cedcdb388ddd7b272598ffb4fba4bfd909d7defa..91f9e1c039e975b520a9cc184c61963912458e5e 100644 --- a/src/ffi_ZDC.cpp +++ b/src/ffi_ZDC.cpp @@ -76,8 +76,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens) DetElement det(detName, detID); Volume motherVol = desc.pickMotherVolume(det); - Transform3D tr(RotationZYX(0.0, 0.0, 0.0), Position(pos.x(), pos.y(), pos.z())); - //Transform3D tr(RotationZYX(rot.z(), rot.y(), rot.x()), Position(pos.x(), pos.y(), pos.z())); + Transform3D tr(RotationZYX(rot.z(), rot.y(), rot.x()), Position(pos.x(), pos.y(), pos.z())); PlacedVolume detPV = motherVol.placeVolume(detVol, tr); detPV.addPhysVolID("system", detID); det.setPlacement(detPV);