Closed mmikhasenko closed 2 months ago
I already compare to the heliity angles I get from dpd... Like the theta_ij and theta_hats. Where would be the difference here?
up on the issue! Let's proceed on it,
it will help us to make the tests in https://github.com/mmikhasenko/Traversing-Decay-Tree/issues/2
Not sure it belongs to decayangle
tests. It can be added to
https://github.com/mmikhasenko/Traversing-Decay-Tree
repository with the dependence on decayangle
.
I think both places would be fine. I just didnt tackle this yet, since it is simple enough on the surface, but promises to be one of these problems, where you mess up one step in the calculation of the four momenta and spend too much time debugging. I will try to get it done withing the next days.
I've found one instance implementing the three-body aligned kinematics
https://github.com/ComPWA/polarimetry/blob/main/julia/notebooks/eulerangles.jl#L84-L95
used these zeta=hat(theta)
angles from DPD
there is a nice method of computing the helicity angles in the packages already. Is it properly tested?
We can implement a test that validates it using an example from Lc->pKpi,
three different chains:
((2,3),1)
,((1,2),3)
, and((3,1),2)
.The helicity angles are given below,
sadly, I did not save the four-vectors, but one reconstruct them by building aligned kinematics, and rotating it back to, e.g.
(in a separate notebook, just to find the four-vectors for input of the test)
Pp = [0,0,-lambda...,Ep
])The test would be to get all four angles right for every topology.