Skip to content
Snippets Groups Projects
Commit b43a18d3 authored by Jihee Kim's avatar Jihee Kim
Browse files

Added rotation

parent df16c4df
No related branches found
No related tags found
1 merge request!11Resolve "Implement ffi_ZDC"
Pipeline #7868 failed
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment