Dear experts,
I am using ROOT::Math::PtEtaPhiMVector and are running into some problems. here is the code snippts:
ROOT::Math::PtEtaPhiMVector jets(a, b, c, d);
ROOT::Math::PtEtaPhiMVector muons(e, f, g, h);
auto MHTsum = (jets+muons).Vect();
auto sum = MHTsum* MHTsum;
The compliler is complaining in the last line saying something about the operand “*” not working. As you can see I just want to multiply the TVector3 .
Thanks!
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.22
Platform: Not Provided
Compiler: gcc9