Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

factorize breit wigner functions to provide method to calculate amp f… #328

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lan13005
Copy link
Contributor

@lan13005 lan13005 commented Apr 17, 2024

The overall goal is to factorize the computation a bit so that we have access to the amplitude as a function of masses instead of 4-vectors.

The current use case for this is to be able to extract the BW amplitude's complex contribution so that we can compare the binned moments (calculated from the partial waves) to the moments directly calculated from the data.

I compiled BreitWigner locally and loaded it with my python wrapper. I thought I should make this modification for BreitWigner3body also, so I did.

Please squash this commit as there are some stupid minor errors I made

mass0 = "1.32"
width0 = "0.1"
orbitaL = "2"
daughter1 = "0" # shouldn't matter
daughter2 = "1" # shouldn't matter
args = [mass0, width0, orbitaL, daughter1, daughter2]
bw = BreitWigner(args)

meas_mass0 = 1.32
meas_mass1 = 0.135
meas_mass2 = 0.545
amplitude = bw.calcAmplitudeFromMasses(meas_mass0, meas_mass1, meas_mass2)

print(amplitude) # returns (-0+4.472672532485287j) which makes sense. Amplitude at peak is purely imaginary

@gluex
Copy link

gluex commented Apr 17, 2024

Build status for this pull request: FAILURE

Build log: /work/halld/pull_request_test/halld_sim^factorize_breitwigners/make_factorize_breitwigners.log
Build report: /work/halld/pull_request_test/halld_sim^factorize_breitwigners/report_factorize_breitwigners.txt
Location of build: /work/halld/pull_request_test/halld_sim^factorize_breitwigners

@gluex
Copy link

gluex commented Apr 17, 2024

Build status for this pull request: FAILURE

Build log: /work/halld/pull_request_test/halld_sim^factorize_breitwigners/make_factorize_breitwigners.log
Build report: /work/halld/pull_request_test/halld_sim^factorize_breitwigners/report_factorize_breitwigners.txt
Location of build: /work/halld/pull_request_test/halld_sim^factorize_breitwigners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants