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

Sort times by time of first interaction #91

Merged
merged 3 commits into from
Dec 22, 2023
Merged

Sort times by time of first interaction #91

merged 3 commits into from
Dec 22, 2023

Conversation

HenningSE
Copy link
Collaborator

Clean Version of #81

This PR changes the the way event and interaction times are set in fuse. With the change in this PR the time of the first interaction in an event is subtracted from the interaction times. As a result we can improve our simulation of isotopes with long lifetimes.

@ramirezdiego ramirezdiego changed the title Remove timing offset v2 Sort times by time of first interaction Dec 22, 2023
@ramirezdiego
Copy link
Collaborator

Hey @HenningSE, I need anothe reminder here: we now default to this pending the nVeto integration, but the idea was to make an argument out of this option, right?

@HenningSE
Copy link
Collaborator Author

Hi @ramirezdiego , I guess we would need to treat the NV informations just the same way as we do with the TPC stuff. If we load everything at once we could subtract the same offset and keep everything in sync. Making it optional would also be a good option.

@ramirezdiego
Copy link
Collaborator

Yes, what I recall from this is that we then need to add the PMT time branches when loading the root file, in order to figure out what comes first. But okay, let's discuss it in #80.

Copy link
Collaborator

@ramirezdiego ramirezdiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks and works fine for the cases in which we only process LXe interactions. To be upgraded once we consider interactions in various detectors.

@ramirezdiego ramirezdiego merged commit c71dc13 into main Dec 22, 2023
@ramirezdiego ramirezdiego deleted the timing_fix_v2 branch December 22, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants