Skip to content

Conversation

@dsarrut
Copy link
Contributor

@dsarrut dsarrut commented Dec 3, 2025

Pileup from Gert's #706. This is really excellent, thanks a lot !

Questions for you Gert :

  1. Can you try to replace the "PileupGroup" management by a GateDigiCollection ?
    it could be something like std::map<uint64_t, GateDigiCollection*> volume_groups;
    The list of managed attributes for the GateDigiCollection is the same every time, so it can probably be only build once, the first time the volume is seen. The next events, the same GateDigiCollection could be used, we only need to reset the content. This modification would allow to be more robust if additional attribute types are created later. Moreover, it will simplify the code.

  2. This pileup policy is one possibility but there are others (nonparalyzable or paralyzable etc), no ? Can you explicitly indicate which policy it is please ? Other policies will be added in the future.

  3. It is almost multi-thread ready. I will make it MT in a second stage.

thanks again !

gertvanhoey and others added 30 commits November 9, 2025 17:24
… and `GateTLEDoseActor` bindings for consistency.
…bsSolid` classes for improved development experience
… errors and refine tick generation logic in test visualization for consistent spacing.
…ility to output folder naming, and move functions to spect_helpers
…tions to `spect_helpers`, improving modularity and functionality
…eprecating ITK-based energy window extraction, and introducing `spect_freeflight_helpers` for advanced SPECT freeflight calculations.
dsarrut and others added 26 commits December 3, 2025 07:41
…sing, and add context for multithreaded initialization
…in FreeFlightActor and clarify related comments
…nused comment, and check fSquaredImageIsEnabled before flushing
updates:
- [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.11.0](psf/black-pre-commit-mirror@25.9.0...25.11.0)
- [github.com/pre-commit/mirrors-clang-format: v21.1.2 → v21.1.5](pre-commit/mirrors-clang-format@v21.1.2...v21.1.5)
…const qualifiers, and improve comments for readability
updates:
- [github.com/pre-commit/mirrors-clang-format: v21.1.5 → v21.1.6](pre-commit/mirrors-clang-format@v21.1.5...v21.1.6)
@dsarrut dsarrut mentioned this pull request Dec 3, 2025
@tbaudier
Copy link
Contributor

tbaudier commented Dec 3, 2025

bad merge
Continue that PR in #706
I close

@tbaudier tbaudier closed this Dec 3, 2025
@tbaudier tbaudier deleted the gertvanhoey-pileup branch December 3, 2025 08:47
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

Successfully merging this pull request may close these issues.

7 participants