2 #include "StThreeVector.hh"
3 #define PR(x) cout << (#x) << " = " << (x) << endl;
7 cout <<
"This program tests the rotation and angular setting functions" << endl;
8 cout <<
"-------------------------------------------------------------" << endl;
21 cout <<
"\nsetMagnitude(100) " << endl;
22 vec1.setMagnitude(100);
29 cout <<
"\nsetPhi(M_PI) " << endl;
36 cout <<
"\nsetTheta(M_PI) " << endl;
43 cout <<
"\nsetMagnitude(10) " << endl;
44 vec1.setMagnitude(10);
57 double angle = M_PI/2;