Skip to content

Add secondary spatial observable for generation of gain map of TRestDataSetGainMap - #553

Merged
AlvaroEzq merged 5 commits into
masterfrom
gmAddSecondarySpatialObservable
Aug 24, 2026
Merged

Add secondary spatial observable for generation of gain map of TRestDataSetGainMap#553
AlvaroEzq merged 5 commits into
masterfrom
gmAddSecondarySpatialObservable

Conversation

@AlvaroEzq

@AlvaroEzq AlvaroEzq commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

AlvaroEzq Ok: 27 Powered by Pull Request Badge

Add the possibility to give a second observable to constrain the events that are selected as part of a segment.

This is useful, for example, for the case of a gain map of alphas, where you want to only take into account for the spectrum of each segments the alphas which tracks are fully contained in the segment. With this change, you can achieve that by using the origin and end observables as spatialObservable and spatialObservableSecondary

@AlvaroEzq
AlvaroEzq requested a review from nkx111 as a code owner September 9, 2025 09:14
@AlvaroEzq
AlvaroEzq merged commit e07c397 into master Aug 24, 2026
64 checks passed
@AlvaroEzq
AlvaroEzq deleted the gmAddSecondarySpatialObservable branch August 24, 2026 09:48
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.

3 participants