-
Notifications
You must be signed in to change notification settings - Fork 12
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
Generate a unique id for every detector element #28
Comments
Also related in #22
|
For clarity, this relates to the Lines 2 to 4 in c5b0e46
PETSIRD/model/CoincidenceEvent.yml Lines 3 to 6 in c5b0e46
From #22 (comment) (marginally edited)
In the previous "data elements" meeting (2024-11-29) we leaned towards adopting this definition (and therefore removing the current lists of |
A separate question is then where/how to document this. As the % This is the basic type for detector IDs using in `CoincidenceEvent` and `TripleEvent`.
% It is an unsigned integer that runs over all the "crystals". The correspondence between
% this integer and a module/det_el is defined by ...
DetectorID: uint
CoincidenceEvent: !record
fields:
# the pair of detector elements
detectorIds: DetectorID*2
... (obviously, wording, nomenclature (#28) and correspondence TBD) |
Having this unique definition of the global detector ID as a type is a good idea, +1 |
See #76 |
We need to be able to generate a unique id for every detector element (from the "tuple" of all ids used to specify it). This currently needs to be done outside of yardl.
More discussion in #22 (comment)
The text was updated successfully, but these errors were encountered: