Closed HerrHorizontal closed 4 years ago
It might be more convenient to use the ROOT
function TLorentzVector::DeltaPhi()
instead, if possible in https://github.com/KIT-CMS/Excalibur/blob/82f6c70a2d8f6fc5c8a3c2897eaa40d99743f614/Compile/interface/ZJetProduct.h#L391. For example:
jnpf += cos( jet->p4.DeltaPhi(&m_z.p4) );
Not sure though, if this is posible due to the various abstraction layers.
Typo in the calculation of the $\cos(\Delta\phi(a,b))$ has been fixed.