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

Correct energy and time based on 3d track y information #143

Open
jdkio opened this issue Sep 4, 2024 · 0 comments
Open

Correct energy and time based on 3d track y information #143

jdkio opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jdkio
Copy link
Contributor

jdkio commented Sep 4, 2024

Once we have track info, we can adjust the energy and time information of all the hits.

The PE in the fibers go as exp(-alpha * dist), where alpha is the attenuation length. It's a bit more complex because ~half go the "long way" and are reflected. And there's also the secondary short range attentuation that isn't simulated, but may be in the future. But we can correct once we know y by multiplying the hit energy by 1/exp(-alpha * reco dist) (or the more complex thing you'd use when accounting for reflection and short-range attenuation).

The time is wrong by dist/(cng), where c is the speed of light, n is the index of refraction and g is the geometric correction because the light is literally bouncing at an angle. There's also time slew that we may want to adjust for based on PE.

Note that we also want to store the uncorrected energies as well.

Bonus points for adjusting info of "nearby" hits. Like hits that are close to tracks are likely at the same or similar y position. This would require some study

@jdkio jdkio added the enhancement New feature or request label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant