Skip to content

Light and overlay fixes — second try [develop] - #933

Open
PetrilloAtWork wants to merge 167 commits into
SBNSoftware:developfrom
PetrilloAtWork:feature/pmtsim_gainDevelopTakeTwo
Open

PetrilloAtWork wants to merge 167 commits into
SBNSoftware:developfrom
PetrilloAtWork:feature/pmtsim_gainDevelopTakeTwo

Conversation

@PetrilloAtWork

Copy link
Copy Markdown
Member

This is a reprise of PR #922, created rebasing commit e17d5cd to the current develop branch.

Unit tests have been run to verify the formal correctness of the FHiCL configurations and some more tests, however there has not been any physics revalidation.

P.S. I added a "fix" for the FHiCL unit test which failed in develop.

mvicenzi and others added 30 commits October 26, 2026 16:53
…plate

It used to end when the template SPR goes under 1e-4 ADC#.
Now it needs to stay within +/- 1w-4 ADC# for 20 nanoseconds.
This should make it possible to include undershootings.
All these parameters are currently hard-coded.
Good catches on names and strings.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
PetrilloAtWork and others added 26 commits October 26, 2026 17:30
- replaced explicit link to DetectorClocksServiceStandard with lardata::DetectorClocksService
- removed redundant and unnecessary art framework libraries from link lists
- fixed some documentation typos
…ples

It allows the creation of a raw::trigger data product with the shifted time reference,
which AdjustSimForTrigger module used not to produce (newer one does).
By default changes are applied to all gate types (used to be to unknown only).

In addition, maintenance changes:
 - added debug messages;
 - moved some of the code of general use to `icarusalg` (sbn::BeamTime enumerator and selector);
   would be more impressive if the selector mechanism supported `fhicl::Sequence`,
   which it does not because support of `fhicl::Atom` was enough of a hack already.
This module allows to print explicitly which data product is picked
when an input tag is specified at a certain step of the execution chain.
For example, it would expand a `std::vector<sim::SimPhotons>` tag
"shifted" to `shifted::DetSim`, or claim no data product matches.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: mvicenzi <64699641+mvicenzi@users.noreply.github.com>
Co-authored-by: Gianluca Petrillo <petrillo.at.work@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Gianluca Petrillo <petrillo@slac.stanford.edu>
Co-authored-by: Gianluca Petrillo <petrillo@slac.stanford.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants