391 double dist = Distance(lhs,rhs);
392 if ( std::fabs(dist) >
tol_ ) {
393 std::cout <<
"Rotation matrices do not match." << std::endl;
397 lhs.GetComponents(x,y,z);
398 std::cout << std::setw(12) << std::fixed << std::setprecision(4) << x.X();
399 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << y.X();
400 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << z.X();
401 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << x.Y();
402 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << y.Y();
403 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << z.Y();
404 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << x.Z();
405 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << y.Z();
406 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << z.Z() << std::endl;
408 rhs.GetComponents(x,y,z);
409 std::cout << std::setw(12) << std::fixed << std::setprecision(4) << x.X();
410 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << y.X();
411 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << z.X();
412 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << x.Y();
413 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << y.Y();
414 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << z.Y();
415 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << x.Z();
416 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << y.Z();
417 std::cout <<
"," << std::setw(12) << std::fixed << std::setprecision(4) << z.Z() << std::endl;
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
A DD Translation is currently implemented with Root Vector3D.