-
Notifications
You must be signed in to change notification settings - Fork 22
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
BuildUpVertexAlgorithm: Issues in moving IP tracks to the buildUp vertices: Primary vertex is not updated, beam smearing is always on #66
Comments
More relevant issue: There are many events, where we have identical PFOs written both in Primary and BuildUp vertices collections. I think if we moved a track to the secondary vertex, due to the lower chi2, it should be moved, not copied. |
@dudarboh, thank you for the heads-up! I completely agree with the first comment, I will fix this part and make a pull request as soon as possible. Regarding the second comment of duplicated tracks in Primary and BuildUp vertices, let me take a closer look which part causes the problem. |
Yes tracks in both primary and secondary vertices are problematic. We need to think how to replace the primary vertex since it is not forseen on design. Also I'm a bit afraid of side effect for existing analysis but on this case fix (in default) with a fallback option to be run as before seems more reasonable for me. |
@suehara, ".. fallback option to be run as before .."
So I am a bit skeptical about the idea of introducing new option flags to make everything backwards compatible in this particular case. In the end, its not a reconstruction algorithm option, it is a unintended bug.. ". it is not forseen on design" Yes, I agree this is a bit tricky to change. |
For the first simple part, I have made a pull request #67. |
Thanks for the comment. |
PrimaryVertexFinder has a steering parameter which determines, whether central position of the beam constrain for the fit is being smeared with a Gaussian.
We don't use it by default in the ILD production steering file:
<parameter name="PrimaryVertexFinder.BeamspotSmearing" type="bool" value="0" />
However, when a BuildUpVertex algorithm removes IP track (due to better chi2 with a BuildUp vertex) it refits IP vertex with a BeamspotSmearing always ON, ignoring the steering parameter!
LCFIPlus/src/VertexFinderSuehara.cc
Lines 806 to 807 in 8a46298
LCFIPlus/src/VertexFinderSuehara.cc
Lines 854 to 857 in 8a46298
Shouldn't it be consistent with a PrimaryVertexFinder?
The text was updated successfully, but these errors were encountered: