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 more robust unit tests for processing raw data to hits #31

Open
suannchong opened this issue Sep 18, 2023 · 0 comments
Open

Add more robust unit tests for processing raw data to hits #31

suannchong opened this issue Sep 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@suannchong
Copy link
Contributor

We need to add a unit test to check the rollover behaviors of tdc and spidertime.

  • SPIDR (30 bits): 2^30*25ns = 26.84 s;
  • TDC data with type 0x6, the maximum timestamp is 107.3741824 s;
  • TPX3 global time with type 0x4, the maximum is ~81 days;
  • TOF: depending on the trigger frequency (i.e. 60Hz = 16.67ms)
@suannchong suannchong added the enhancement New feature or request label Sep 18, 2023
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