It seems to me that the ROOT documentation doesn’t tell much how to execute macros, at least I couldn’t find it.
Here is a simple macro: TLV_test.C
Float_t mA = A.M();
V = A.BoostVector();
B = A;
cout << endl << endl << “Test of Lorentz Vector algorithms” << endl;
cout << "Original 4 components of A: " << A.Px() << " " << A.Py() << " " << A.Pz()
<< " " << A.E() << endl;
cout << "Boost vector components of A: " << V.Px() << " " << V.Py() << " " << V.Pz() << endl;
cout << "4 components of A are boosted to its proper system B: " << B.Px() << " "
<< B.Py() << " " << B.Pz() << " " << B.E() << endl;
cout << "E(A): " << A.E() << " M(A): " << mA << " E(B): " << B.E() << endl << endl;
When in a ROOT session I type either
in both cases I get error messages.
Please tell me how to excute this macro and if it is indeed not in the Users Guide please put it in. If it is in the Users Guide please indicate me where I can find it.
Thanks and regards,