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

Validate CRTHit get_time_in_microseconds method for data #3

Open
andrewmogan opened this issue Mar 15, 2023 · 0 comments
Open

Validate CRTHit get_time_in_microseconds method for data #3

andrewmogan opened this issue Mar 15, 2023 · 0 comments

Comments

@andrewmogan
Copy link
Collaborator

In its current state, this function was just copy-pasted from the LArSoft equivalent and translated to python using ChatGPT. This should be validated.

For MC, the CRTHit t0 nanoseconds part can be taken as the absolute time and converted to microseconds. For data, however, we need to supply the trigger timestamp and ensure that the "crt_time" variable is behaving as expected. In the absence of data, we should find some reasonable trigger timestamp values and treat our MC as data for testing purposes.

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

No branches or pull requests

1 participant