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

Add seperate branches in ntuple for MCPE frontend time and hit time #131

Merged
merged 2 commits into from
May 22, 2024

Conversation

JamesJieranShen
Copy link
Contributor

Potentially breaking!

Old mcPETime in ntuple is the time that front-end electronics see a detected photon, which includes timing effects of the PMT. This PR modifies this behavior such that the branch mcPETime now records the time that a photon hits the PMT. The front-end time is written to a new branch named mcPEFrontEndTime.

Since this change assigns an old variable name to a new definition, previously-implemented analysis may need to be modified to account for it.

@tannerbk
Copy link
Contributor

We can announce this on the next call and merge then.

@JamesJieranShen
Copy link
Contributor Author

per comment by @gmwendel I've changed the name of the old branch to mcPEHitTime, in accordance to the naming of the variable internal to RAT::DS::Photon. I personally have no strong opinion to this either way. If others do, I am happy to revert this change.

@JamesJieranShen
Copy link
Contributor Author

@tannerbk Can we merge this?

@tannerbk tannerbk merged commit 1e1570f into rat-pac:main May 22, 2024
2 checks passed
@JamesJieranShen JamesJieranShen deleted the pr/ntuple-mcpetime branch November 12, 2024 23:31
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