Skip to content
Snippets Groups Projects

New functors for estimation of helicity angle

Merged Volodymyr Svintozelskyi requested to merge vsvintoz_helicity_angle_functor into 2024-patches

This MR implements new functors for the estimation of the cosine of particle helicity angle. These functors were required in lhcb-dpa/project#221.

Two definitions of the helicity angle were implemented:

  • The angle between the particle's momentum vector and its grandparent's momentum vector in the parent's rest frame (MC_COSTHETAH, COSTHETAH).
  • The angle between the particle's momentum vector in the mother rest frame and the mother's momentum vector in the lab frame (MC_COSTHETA, COSTHETA).

The implementation of the helicity angle functors relies on the new boost functor, which transforms the first argument (four-vector) into the frame, where the second argument (four-vector) is at rest.

Goes with DaVinci!1040 (merged).

FYI: @jzhuo @adeoyang @amathad @erodrigu

Edited by Volodymyr Svintozelskyi

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added DPA-WP3 label

  • Jiahui Zhuo marked this merge request as draft

    marked this merge request as draft

  • Jiahui Zhuo changed the description

    changed the description

  • added 4 commits

    • 693ec5b2 - Added Boost and COS functors
    • 1d18de58 - Added python wrappers for new functors
    • ee33d793 - Added missing header
    • 64523ab5 - Changed python wrapper for boost_from

    Compare with previous version

    • Resolved by Volodymyr Svintozelskyi

      (Apologies for jumping in randomly)

      I would avoid relying on the MCMother to give the result you expect from the physics point-of-view. Consider the case:

      X-> Y(AB) C

      You want the helicity angle of, for example, particle A, so, the angle between A and C in the rest frame of Y (or any equivalent formulation). The problem here is that what you say the mother particle of A is ill-defined; in the case of some EvtGen models it will be Y; but if you were to use for example any of the D_DALITZ models the mother of A would be X. In this sense, it is always better to be explicit on exactly what angle between which final state particles (and which frame) you are using.

      Edited by Timothy David Evans
  • added 79 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • b5b6fd97 - Python fix for helicity functors

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Volodymyr Svintozelskyi marked this merge request as ready

    marked this merge request as ready

  • Volodymyr Svintozelskyi changed title from Draft: New MC functor for estimation of helicity angle to New functors for estimation of helicity angle

    changed title from Draft: New MC functor for estimation of helicity angle to New functors for estimation of helicity angle

  • Volodymyr Svintozelskyi changed the description

    changed the description

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading