Hi,
I have a problem using ROOT::Math::VectorUtil. I am trying to use it in a Root Macro and I think all the right header files are loaded, because some functions of ROOT::Math::VectorUtil work, but I get error messages when I try to use the template methods. For example:
ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D >* x = new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D >(1.,12.4,3.0,5.7);
ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D >* y = new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D >(0.1,0.124,0.3,0.57);
double A = ROOT::Math::VectorUtil::Angle(*x, *y);
The Angle-function works fine, but:
ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D > vb2 = ROOT::Math::VectorUtil::boostX(x, 0.8 );
gives me error messages that boostX is not defined in this scope.
So apparently I do not know how to use these template-functions. If anyone can give me a hand, that would be great.
Thank you,
Kelly