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

Expand the functionality of dg_ps #32

Open
beamhalo opened this issue Jun 27, 2024 · 0 comments
Open

Expand the functionality of dg_ps #32

beamhalo opened this issue Jun 27, 2024 · 0 comments

Comments

@beamhalo
Copy link
Member

Allow dg_ps to represent multiple electronics front-ends by decoupling its members from their use.

Write standalone functions to extract charge and rising edge time from dg_ps regardless of the dg_ps internal representation.

dg_ps should contain an enumerator value indicating which representation is in use among at least the following:

  • legacy ADC+TDC+std::vector
  • simple PicoTDC: rising+falling+std::vector
  • dual edge PicoTDC: rising1, rising2, falling2, falling1+std::vector
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