-
Notifications
You must be signed in to change notification settings - Fork 1
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
OverlayTiming: shift hit time with offset #14
Comments
I'll make a PR to fix it; I must have missed it when porting because at least for the SimTrackerHit from LCIO the time is being set in the Marlin processor: https://github.com/iLCSoft/Overlay/blob/master/src/OverlayTiming.cc#L734. |
Thanks Juan! |
This should now be fixed in #19 so it will appear in tomorrow's nightlies. Please give it a try! |
Yes, now I have the correct time for both hits and MC, I added a plot in #19 |
Hi @jmcarcell,
In the
OverlayTiming
algorithm, particles time is properly offset by the expected time between the physics collision and the BX from where the background particles are coming: https://github.com/key4hep/k4Reco/blob/main/k4Reco/Overlay/components/OverlayTiming.cpp#L260Should'nt we do the same for the simTrackerHit (https://github.com/key4hep/k4Reco/blob/main/k4Reco/Overlay/components/OverlayTiming.cpp#L313) and for contributions (https://github.com/key4hep/k4Reco/blob/main/k4Reco/Overlay/components/OverlayTiming.cpp#L345)?
The text was updated successfully, but these errors were encountered: