Skip to content

Optical sim/reco and overlay updates#892

Open
mvicenzi wants to merge 151 commits into
release/SBN2025Afrom
feature/pmtsim_gain
Open

Optical sim/reco and overlay updates#892
mvicenzi wants to merge 151 commits into
release/SBN2025Afrom
feature/pmtsim_gain

Conversation

@mvicenzi
Copy link
Copy Markdown
Member

@mvicenzi mvicenzi commented Apr 1, 2026

This PR contains the required updates and fhicls to enable the reprocessing of light products for the SBN2025 spring productions (both MC and data). In particular, it includes fixes to the trigger/overlays procedure, as well as model improvements such as the use of time-dependent gain and pmt status databases.

Some highlights:

  • added new MC2 tune (SPR + sim gain tune)
  • added new MC3/4 tune (SPR + sim gain tune)
  • noise in MC waveforms for overlays turned off
  • introduced new PMT overlays module
  • updated trigger shifting module to emit shifted trigger reference
  • added DetectorClocksService configuration overrides for simulation
  • introduced new simulation of timing delays from database in detsim overlays
  • introduced new PMT channel status/voltage database for both detsim and stage0
  • introduced new interface to the PMT gain database in detsim and stage0 for MC-overlays/data
  • introduced new OpHit recalibrator module for data
  • formally enforced same reconstruction algorithms for data and MC (including pedestal's)
  • switched optical reconstruction entry point to local module
  • re-tuned flash PE thresholds based on new PE scale
  • added optional debug tree in optical detsim module
  • updated FHiCLs for database use in MC-overlays/data (fixed/constant values still used for legacy MC)
  • added run number overrides for calibration services
  • added vertical track selection module
  • added DetSim + Overlay stage reprocessing fhicl(s)
  • added “MCStage0” reprocessing fhicl(s)
  • added data “stage0” reprocessing fhicl(s)
  • enfocing use of shared GENIE configuration from sbncode
  • fixes on CRT hit time reconstruction for simulation and overlays

This PR requires three icarus_data updates:

  • new SPR response files
  • pmt_speareas_data.db to v1r2
  • pmt_voltage_data.db to v1r3

This PR depends on:

(this PR includes developements previously discussed in #876 and #785 )

mvicenzi and others added 30 commits May 23, 2025 00:17
…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>
Trigger simulation modules now support input tags with process name [private]
@PetrilloAtWork PetrilloAtWork changed the title Optical sim/reco updates Optical sim/reco and overlay updates Jun 3, 2026
@mvicenzi mvicenzi requested a review from francescopoppi June 3, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the PMT dead/noisy channel list PMT timing corrections should not be applied on simulation

2 participants