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

StartDirection and EndDirection switched, at least in main #161

Open
jdkio opened this issue Sep 24, 2024 · 1 comment
Open

StartDirection and EndDirection switched, at least in main #161

jdkio opened this issue Sep 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jdkio
Copy link
Contributor

jdkio commented Sep 24, 2024

The starting direction of the reco tracks seems to be bifurcated. Here is reco-true for the xz angle. These are LAr-starting muons that end in the TMS, and we're measuring reco-true angle at the front plane of the detector. Using file /exp/dune/data/users/kleykamp/dune-tms/2024-09-24_test_23rd_version.tmsreco.root and branch kleykamp_issue_158

image

This is RHC so we expect muons and antimuons in approximately equal numbers. So this looks like what you'd expect for the end direction. If we use EndDirection (actually EndDirectioN in these files) instead, then it looks much better:

image

I know that kalman tracks start from the back, so I think the direction is being calculated from the back nodes instead of the front. I haven't checked if this is fixed in branch 3D-Kalman-fitter but that's my next stop.

That said, using this as a charge discriminator looks decent

@jdkio jdkio added the bug Something isn't working label Sep 24, 2024
@AsaNehm
Copy link
Contributor

AsaNehm commented Oct 16, 2024

Has this issue been solved with the merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants