drlotus / mitica

1 stars 0 forks source link

Merge Phi_p Dependency Validation for dNd3p #7

Closed drlotus closed 2 months ago

drlotus commented 2 months ago

Background:

This investigation aimed to ascertain whether dNd3p depends on the azimuthal angle phi_p. This was initiated in response to observations made by Nils who reported zero values for the flow coefficients v_1 and v_2. He hypothesized that this was due to a lack of dependency on dNd3p on phi_p, as perceived from the output files of mitica.

Objective:

To verify the phi_p dependency of dNd3p, especially for larger values of transverse momentum (pT), and to ensure the accuracy of integration methods used to calculate derived quantities such as dN/dy_p, dN/dpT, v_1, and v_2.

Unit Testing: (YieldTest::test_phi_dependecy) Developed and ran a unit test that grouped the output data by (pT, y_p) and checked for variations in dNd3p with changes in phi_p. • The test aimed to detect any rows where dNd3p values did not significantly vary with phi_p despite changes in phi_p, which would indicate a phi_p independence.

Results:

The unit test results indicated that:

For low pT values, the phi_p dependency is minimal or non-existent, which is expected. For higher pT values, dNd3p shows significant dependency on phi_p. The variations in dNd3p with phi_p were substantial enough to invalidate the initial claim of its independence from phi_p.

Conclusion:

The initial hypothesis stated by Nils that “dNd3p produced by mitica does not depend on phi_p” is incorrect for larger values of pT. The observed issue with the calculation of v_1 and v_2 is likely not due to any fundamental errors in Mitica but possibly due to problems in the integration or analysis method used in the Python script.