15 namespace TGeoPrimitivesHelpers {
18 const Eigen::Vector3d& rotationMatrixCol1,
19 const Eigen::Vector3d& rotationMatrixCol2,
20 const Eigen::Vector3d& translation) {
22 trf.matrix().block(0, 0, 3, 1) = rotationMatrixCol0;
23 trf.matrix().block(0, 1, 3, 1) = rotationMatrixCol1;
24 trf.matrix().block(0, 2, 3, 1) = rotationMatrixCol2;
25 trf.matrix().block(0, 3, 3, 1) = translation;