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 .
ROOT Version: 6.22
Platform: Not Provided