|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Geometry/Transform3D.h"
14 class Transform3DComponents
18 using HepGeom::Transform3D::setTransform;
29 for (
const DetCondKeyTrans::KeyTrans::value_type& trans : trans->
keyTrans()) {
30 pers->
m_keys.push_back(trans.first);
32 pers->
m_trans.push_back( tf.xx() );
33 pers->
m_trans.push_back( tf.xy() );
34 pers->
m_trans.push_back( tf.xz() );
35 pers->
m_trans.push_back( tf.dx() );
37 pers->
m_trans.push_back( tf.yx() );
38 pers->
m_trans.push_back( tf.yy() );
39 pers->
m_trans.push_back( tf.yz() );
40 pers->
m_trans.push_back( tf.dy() );
42 pers->
m_trans.push_back( tf.zx() );
43 pers->
m_trans.push_back( tf.zy() );
44 pers->
m_trans.push_back( tf.zz() );
45 pers->
m_trans.push_back( tf.dz() );
53 for (
unsigned int i = 0;
i < pers->
m_keys.size(); ++
i) {
54 Transform3DComponents tf;
55 tf.setTransform( pers->
m_trans[j + 0],
const KeyTrans & keyTrans() const
Class to hold set of HepGeom::Transform3D keyed by string value for storage in the conditions DB typi...
std::vector< double > m_trans
Eigen::Affine3d Transform3D
virtual void persToTrans(const DetCondKeyTrans_p1 *persObj, DetCondKeyTrans *transObj, MsgStream &log)
virtual void transToPers(const DetCondKeyTrans *transObj, DetCondKeyTrans_p1 *persObj, MsgStream &log)
void setTransform(const std::string &key, const HepGeom::Transform3D &trans)
std::vector< std::string > m_keys