[G12] Momentum Correction Code
Saini, Mukesh
msaini at fsu.edu
Tue Apr 3 16:48:06 EDT 2012
Hi All,
I am forwarding the kludge I used to do my momentum corrections; in case you guys use root ntuples and are unable to include Johann's code properly, which was the case with me.
I ask the momentum correction function to give me the corrected four-momentum (instead of corrected magnitude) using Johann's pcor file which I have modified and attached here too. The corrected four-momentum has the same theta and phi as the initial four-momentum.
I also enforce the constraint on the mass of the corrected four-vector to be their charged particle masses. I think that this covers all the bases for modifying four-momentum without messing things up.
There is a brief explanation attached of the use of these functions in my code.
Let me know if you spot any errors or can help me use maps of vectors in root correctly.
Thanks,
Mukesh.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pcor.txt
Url: https://mailman.jlab.org/pipermail/g12/attachments/20120403/080b5d54/attachment-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Momentum_Correction_Kludge.pdf
Type: application/x-octet-stream
Size: 44082 bytes
Desc: Momentum_Correction_Kludge.pdf
Url : https://mailman.jlab.org/pipermail/g12/attachments/20120403/080b5d54/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g12_pcor_alt.h
Type: text/x-chdr
Size: 3777 bytes
Desc: g12_pcor_alt.h
Url : https://mailman.jlab.org/pipermail/g12/attachments/20120403/080b5d54/attachment-0003.bin
More information about the G12
mailing list