Skip to content

Feature/gp overlay fix#99

Open
mvicenzi wants to merge 6 commits into
SBNSoftware:developfrom
PetrilloAtWork:feature/gp_overlayFix
Open

Feature/gp overlay fix#99
mvicenzi wants to merge 6 commits into
SBNSoftware:developfrom
PetrilloAtWork:feature/gp_overlayFix

Conversation

@mvicenzi
Copy link
Copy Markdown
Member

This PR updates the PMT overlays algorithm.
This is required by:

Added methods `after()`, `before()`, `overlaps()` and `intersection()`.
Calling `makeTimeInterval()` when reading an interval from the configuration
is not required any more, and it is in fact an error.
That means this is a BREAKING CHANGE.
The new simulation uses as time reference the trigger data product `shifted`,
preventing the accidental use of `daqTrigger` in workflows where
there is some already decoded data in the input (a possibility for overlays).
If `shifted` is not available, it will silently fall back to configuration defaults.
Contains a comparison object to sort PMT waveforms by channel, then start time.
Unit test designed with GitHub CoPilot help.
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.

2 participants