LorentzVector

Dear experts,

I want to compute the Delta eta btw to object (obj), so I’m surprise to see that [1] and [2]
give 2 different results, is this normal? If yes what is the good one?

Regards

[1]
obj1.p4().Eta() - obj2.p4().Eta

[2]
(obj1.p4() - obj2.p4()).Eta()

HI,

Yes it is normal. You want to compute the difference in just eta and not the eta on the difference of the two vectors.

Lorenzo

Dear Moneta,

thank you for your your answer. So “obj1.p4().Eta() - obj2.p4().Eta” is the right expression then.

Regards