File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed
Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1- # All information about a coincidence event specified as identifiers or indices (i.e. discretized). Indices start from 0 .
1+ # All information about a coincidence event specified as identifiers (i.e. discretized).
22# TODO: this might take up too much space, so some/all of these could be combined in a single index if necessary.
33CoincidenceEvent : !record
44 fields :
5- # the pair of detector elements
6- detectorIds : uint *2
5+ # identifiers of the two detecting elements (see doc for DetectorId)
6+ detectorIds : DetectorId *2
77 # an index into the tofBinEdges field in the ScannerInformation
88 tofIdx : uint
99 # a pair of indices into the energyBinEdges field in the ScannerInformation
Original file line number Diff line number Diff line change @@ -40,3 +40,15 @@ ScannerGeometry: !record
4040 ids : uint*
4141 # shielding etc
4242 nonDetectingVolumes : GenericSolidVolume*?
43+
44+ # This is the type for detector IDs using in `CoincidenceEvent` and `TripleEvent`.
45+ # It is an unsigned integer that runs over all the "elementary detector elements" (aka crystals),
46+ # starting from 0.
47+ # The correspondence between this integer and a module/det_el is not decided (TODO),
48+ # but the current proposal is to effectively increment the detectorID in nested loops:
49+ # 1. ScannerGeometry.replicated_modules
50+ # 2. replicated_module.transforms
51+ # 3. replicated_module.detecting_elements
52+ # 4. detecting_element.transforms
53+ # (with therefore the detector IDs running faster over the 4th loop)
54+ DetectorId : uint
Original file line number Diff line number Diff line change 1- # All information about a triple event specified as identifiers or indices (i.e. discretized).
1+ # All information about a triple event specified as identifiers (i.e. discretized).
22TripleEvent : !record
33 fields :
4- detectorIds : uint*3
4+ # Identifiers of the three detecting elements (see doc for DetectorId)
5+ # Note that it is possible that 2 detectorIDs are equal (e.g. for
6+ # inter-crystal Compton events)
7+ detectorIds : DetectorId*3
58 # timing differences (converted to mm) w.r.t. first event, stored as
69 # indices into the tofBinEdges field in the ScannerInformation
710 # Note: only 2, corresponding to the arrival time differences of the second and third detectorId
You can’t perform that action at this time.
0 commit comments