11 #include <TGeoManager.h> 22 dgd->
rotation().GetRotationMatrix(mat);
23 angle = acos(mat[0][0]);
27 auto* box = mgr.MakeBox(
"top",
nullptr, 0., 0., 0.);
28 mgr.SetTopVolume(box);
30 box->AddNode(vol, 1, &place);
const Translation & translation() const
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepStd< double, 3, 3 > > AlgebraicMatrix33
float parentZPosition() const
const RotationMatrix & rotation() const
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
const std::vector< double > & params() const