We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As we found out with @yradkhorrami, the DSTViewer displays tracks with a wrong position.
It uses reference point for x, y, z arguments of MarlinCED::drawHelix()
x
y
z
MarlinCED::drawHelix()
CEDViewer/src/DSTViewer.cc
Lines 231 to 234 in 0809ad2
Lines 266 to 267 in 0809ad2
while by the design of the MarlinCED::drawHelix() there should go x, y, z coordinates ON the helix which is not the same...
See, e.g. how it is implemented inside DDCEDViewer, where x, y, z are calculated correctly from the reference point.
DDCEDViewer
CEDViewer/src/DDCEDViewer.cc
Lines 1030 to 1039 in 0809ad2
This results in the shifted track. For the illustration, an example of such a track made by @yradkhorrami:
Red helix --- properly displayed position of the track Green helix --- artificially starts at 0 because of the wrong input inside DSTViewer.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
As we found out with @yradkhorrami, the DSTViewer displays tracks with a wrong position.
It uses reference point for
x
,y
,z
arguments ofMarlinCED::drawHelix()
CEDViewer/src/DSTViewer.cc
Lines 231 to 234 in 0809ad2
CEDViewer/src/DSTViewer.cc
Lines 266 to 267 in 0809ad2
while by the design of the
MarlinCED::drawHelix()
there should go x, y, z coordinates ON the helix which is not the same...See, e.g. how it is implemented inside
DDCEDViewer
, wherex
,y
,z
are calculated correctly from the reference point.CEDViewer/src/DDCEDViewer.cc
Lines 1030 to 1039 in 0809ad2
This results in the shifted track.
For the illustration, an example of such a track made by @yradkhorrami:
Red helix --- properly displayed position of the track
Green helix --- artificially starts at 0 because of the wrong input inside DSTViewer.
The text was updated successfully, but these errors were encountered: