4#include "CLHEP/Units/SystemOfUnits.h"
5#include "CLHEP/Vector/Rotation.h"
32 const double corr = 0.9999999999999999;
39 rot.
setXX (rot.
xx()/std::sqrt(corr)); rot.
setXY (rot.
xy()/std::sqrt(corr));
40 rot.
setYX (rot.
yx()/std::sqrt(corr)); rot.
setYY (rot.
yy()/std::sqrt(corr));
42 cout.setf (std::ios::scientific, std::ios::floatfield);
43 rot.
print (cout); cout <<
"\n";
45 cout << rot.
xx() <<
"\t" << rot.
xy() <<
"\t" << rot.
xz() <<
"\n"
46 << rot.
yx() <<
"\t" << rot.
yy() <<
"\t" << rot.
yz() <<
"\n"
47 << rot.
zx() <<
"\t" << rot.
zy() <<
"\t" << rot.
zz() << endl;
48 cout <<
"\nEuler angles:"
49 <<
"\nphi = " << rot.
phi()
50 <<
"\ttheta = " << rot.
theta()
51 <<
"\tpsi = " << rot.
psi()
std::ostream & print(std::ostream &os) const
void setXY(const double &v)
myRotClass(const HepRotationZ &rot)
void setYZ(const double &v)
void setZZ(const double &v)
void setXX(const double &v)
void setYY(const double &v)
void setZX(const double &v)
void setZY(const double &v)
void setXZ(const double &v)
void setYX(const double &v)