|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "CLHEP/Geometry/Transform3D.h"
12 class Transform3DElements
16 using HepGeom::Transform3D::setTransform;
27 pers->
m_ids.push_back(mem.identify().get_identifier32().get_compact());
29 pers->
m_trans.push_back( tf.xx() );
30 pers->
m_trans.push_back( tf.xy() );
31 pers->
m_trans.push_back( tf.xz() );
32 pers->
m_trans.push_back( tf.dx() );
34 pers->
m_trans.push_back( tf.yx() );
35 pers->
m_trans.push_back( tf.yy() );
36 pers->
m_trans.push_back( tf.yz() );
37 pers->
m_trans.push_back( tf.dy() );
39 pers->
m_trans.push_back( tf.zx() );
40 pers->
m_trans.push_back( tf.zy() );
41 pers->
m_trans.push_back( tf.zz() );
42 pers->
m_trans.push_back( tf.dz() );
54 log << MSG::ERROR <<
"AlignableTransformCnv_p1::persToTrans Incorrect size for transform info: number of ids: "
55 << pers->
m_ids.size() <<
" Number of transform elements: "
56 << pers->
m_trans.size() <<
" Should be 12*nids!! "
59 for (
unsigned int i = 0;
i < pers->
m_ids.size(); ++
i) {
61 Transform3DElements tf;
62 tf.setTransform( pers->
m_trans[j + 0],
Eigen::Affine3d Transform3D