Skip to content

Updated Continuous Integration DetSim configurations to refactored G4 - #896

Draft
PetrilloAtWork wants to merge 1 commit into
release/SBN2025Afrom
feature/gp_cidetsimfix
Draft

Updated Continuous Integration DetSim configurations to refactored G4#896
PetrilloAtWork wants to merge 1 commit into
release/SBN2025Afrom
feature/gp_cidetsimfix

Conversation

@PetrilloAtWork

@PetrilloAtWorkPetrilloAtWork commented Apr 17, 2026

Copy link
Copy Markdown
Member

Fixes the broken DetSim stage of the C.I. tests.
This change was tested only on the single particle tests; the other two test workflow are (almost) identical though.

This pull request is against release/SBN2025A branch and it was developed against v10_06_00_06p04 tag.
Release managers: please duplicate, cherry-pick and change target branch as needed.

Last force-push: I adopted the changes in develop. Still reluctant to just cherry-pick the fix in develop (308484a) because of a statement about a discontinued parameter in MergeSimSources which does not seem to have actually been discontinued. @vitodb may comment on that.

CopilotAI review requested due to automatic review settings April 17, 2026 20:28
@PetrilloAtWork
PetrilloAtWork changed the base branch from develop to release/SBN2025AApril 17, 2026 20:29

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates ICARUS DetSim/CI configurations and supporting reconstruction/overlay pieces to work with the refactored G4/WireCell setup, including new calibration tag usage and updated standard FHiCL entry points.

Changes:

  • Bump UPS dependency versions and retarget CI DetSim quick tests to detsim_2d_icarus_refactored.fcl.
  • Update WireCell jsonnet/FHiCL configuration to use new YZ map inputs and calibration DB global tags; add overlay-specific WireCell/drifter options.
  • Add/adjust reconstruction and analysis configuration (hit merging, per-plane TPC gain normalization, CAF weight labels, overlay standard configs) and reorganize standard FHiCL install layout.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
ups/product_depsUpdates dependency versions for CI/build compatibility.
test/ci/icarus_ci_single_detsim_quick_test_icaruscode.fclPoints CI single-particle DetSim include to refactored DetSim FHiCL.
test/ci/icarus_ci_nucosmics_detsim_quick_test_icaruscode.fclPoints CI nu+cosmics DetSim include to refactored DetSim FHiCL.
test/ci/icarus_ci_intimecosmic_detsim_quick_test_icaruscode.fclPoints CI intime-cosmic DetSim include to refactored DetSim FHiCL.
icaruscode/TPC/SignalProcessing/HitFinder/hitfindermodules_icarus.fclAdds cryostat-specific HitMerger module configs.
icaruscode/TPC/SignalProcessing/HitFinder/HitMerger_module.ccAdds associations from recob::ChannelROI to merged hits.
icaruscode/TPC/ICARUSWireCell/icarus/wcls-multitpc-sim-drift-simchannel-yzsim-refactored.jsonnetSwitches field map inputs to “shifted” files; makes YZ map filenames configurable via extVars.
icaruscode/TPC/ICARUSWireCell/icarus/wcls-multitpc-sim-drift-simchannel-refactored.jsonnetAdds conditional overlay drifter configuration and drifter name switching.
icaruscode/TPC/ICARUSWireCell/icarus/sim.jsonnetMakes DB filename/tag configurable via extVars.
icaruscode/TPC/ICARUSWireCell/detsimmodules_wirecell_ICARUS.fclAdds calibration global tag include; sets default YZ/DB params; adjusts gains/time offsets; adds shifted-overlay config.
icaruscode/TPC/Calorimetry/normtools_icarus.fclSwitches to per-plane TPC gain normalization tools and updated calibration constants.
icaruscode/TPC/Calorimetry/calorimetryICARUS.fclUses shared data calibration constants for MC calorimetry constants.
icaruscode/TPC/Calorimetry/NormalizeTPCPerPlane_tool.ccNew per-plane HTTP-based TPC normalization tool implementation.
icaruscode/TPC/Calorimetry/NormalizeTPCPerPlaneSQL_tool.ccNew per-plane SQL/DBFolder-based TPC normalization tool implementation.
icaruscode/TPC/Calorimetry/CMakeLists.txtAdds build targets for the new per-plane normalization tools.
icaruscode/Overlays/SubRunPOTInEvent_module.ccAdds module to copy subrun POT summary into each event (for mixing workflows).
icaruscode/Filters/simenergydep_faketrigger_icarus.fclAdds FHiCL config for a SimEnergyDeposit-based “fake trigger” filter.
icaruscode/Filters/filterMCTruthVolume.fclAdds FHiCL config for filtering MCTruth by vertex volume.
icaruscode/Filters/SimEnergyDepFakeTriggerFilterICARUS_module.ccAdds new EDFilter implementing the SimEnergyDeposit “fake trigger”.
icaruscode/Filters/FilterMCTruthVolume_module.ccAdds new EDFilter selecting MCTruth interactions outside a configured box and passing POT at SubRun.
icaruscode/CRT/CRTDataAnalysis_module.ccAdds run/subrun to CRTHit ntuple; adds trigger timestamp branch; refactors formatting/flow.
fcl/supera/supera_icarus_MC_all_cryo_PMT_CRT_v10.fclAdds updated Supera configuration for MC including PMT/CRT and multi-cryo handling.
fcl/supera/supera_icarus_MC_all_cryo_PMT_CRT_overlay.fclAdds overlay variant of Supera configuration.
fcl/standard/standard_mc_intime_g4_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_mc_beamcosmics_g4_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_mc_all_stage1larcv_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_mc_all_stage1_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_mc_all_stage0_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_mc_all_detsim_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_data_stage1larcv_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_data_stage1_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/standard_data_stage0_icarus.fclRemoves old top-level standard include (migrated to new layout).
fcl/standard/overlay/standard_overlay_stage1_icarus.fclAdds standard overlay Stage1 entrypoint include.
fcl/standard/overlay/standard_overlay_stage0_icarus.fclAdds standard overlay Stage0 entrypoint include.
fcl/standard/overlay/standard_overlay_overlay_icarus.fclAdds standard overlay “overlay” stage entrypoint include.
fcl/standard/overlay/standard_overlay_detsim_icarus.fclAdds standard overlay DetSim entrypoint include.
fcl/standard/overlay/standard_overlay_caf_iarus.fclAdds standard overlay CAF entrypoint include (note filename).
fcl/standard/overlay/CMakeLists.txtAdds install rules for the new overlay standard FHiCL subdir.
fcl/standard/mc/standard_mc_mpvmpr_stage1larcv_icarus.fclAdds MC MPVMPR stage1larcv standard entrypoint.
fcl/standard/mc/standard_mc_intime_g4_icarus.fclAdds MC intime G4 standard entrypoint (new layout).
fcl/standard/mc/standard_mc_intime_caf_icarus.fclAdds MC intime CAF standard entrypoint (new layout).
fcl/standard/mc/standard_mc_beamcosmics_g4_icarus.fclAdds MC beam+cosmics G4 standard entrypoint (new layout).
fcl/standard/mc/standard_mc_beamcosmics_caf_icarus.fclAdds MC beam+cosmics CAF standard entrypoint (new layout).
fcl/standard/mc/standard_mc_all_stage1_icarus.fclAdds MC stage1 standard entrypoint (new layout).
fcl/standard/mc/standard_mc_all_stage0_icarus.fclAdds MC stage0 standard entrypoint (new layout).
fcl/standard/mc/standard_mc_all_larcv_icarus.fclAdds MC larcv standard entrypoint (new layout).
fcl/standard/mc/standard_mc_all_detsim_icarus.fclAdds MC DetSim standard entrypoint (new layout).
fcl/standard/mc/CMakeLists.txtAdds install rules for the new mc standard FHiCL subdir.
fcl/standard/data/standard_data_stage1larcv_icarus.fclAdds data stage1larcv standard entrypoint (new layout).
fcl/standard/data/standard_data_stage1_icarus.fclAdds data stage1 standard entrypoint (new layout).
fcl/standard/data/standard_data_stage0_icarus.fclAdds data stage0 standard entrypoint (new layout).
fcl/standard/data/standard_data_larcv_icarus.fclAdds data larcv standard entrypoint (new layout).
fcl/standard/data/standard_data_caf_icarus.fclAdds data CAF standard entrypoint (new layout).
fcl/standard/data/CMakeLists.txtAdds install rules for the new data standard FHiCL subdir.
fcl/standard/CMakeLists.txtReorganizes standard FHiCL install into mc/, data/, overlay/ subdirectories.
fcl/reco/wires/restorewires_icarus.fclAdds a small process config to rebuild wires from ChannelROI.
fcl/reco/wires/CMakeLists.txtAdds install rules for new fcl/reco/wires configs.
fcl/reco/Stage1/overlay/stage1_run2_icarus_overlay_wiremod.fclAdds overlay Stage1 variant for wiremod selection.
fcl/reco/Stage1/overlay/stage1_run2_icarus_overlay_simpledet.fclAdds overlay Stage1 variant for simpledet SimChannel labels.
fcl/reco/Stage1/mc/stage1_run2_icarus_MC_wiremod.fclAdds MC Stage1 variant selecting T0-tagged tracks for wiremod use case.
fcl/reco/Stage1/mc/stage1_run2_icarus_MC_simpledet.fclAdds MC Stage1 variant for simpledet SimChannel labels.
fcl/reco/Stage1/mc/stage1_run2_icarus_MC.fclSilences SimDriftElectrons message category in Stage1 MC.
fcl/reco/Stage1/data/stage1_run2_1d_icarus.fclUpdates Stage1 1D config to use cluster3D labels for pandora/CRTT0Tagging/caloskim.
fcl/reco/Stage0/mc/stage0_run2_wc_icarus_mc_notriggersim.fclAdjusts ophit input module name for no-trigger-sim stage0 WC config.
fcl/reco/Stage0/mc/stage0_run2_wc_icarus_mc.fclUpdates output commands to drop overlay waveforms/shifted waveforms and keep daqPMT.
fcl/reco/Stage0/mc/stage0_run2_icarus_mc.fclRemoves simChannelROI from path and updates output commands similarly.
fcl/reco/Stage0/data/stage0_run2_icarus.fclStops dropping daqCRT from output commands.
fcl/reco/Stage0/data/stage0_daqPMT_drop.fclAdds service include for daqPMT drop workflow.
fcl/reco/Stage0/data/partial/stage0_run2_icarus_opdetonly.fclAdds partial Stage0 config for optical-only reconstruction.
fcl/reco/Stage0/data/partial/decodeTrigger_icarus.fclAdds partial config to decode trigger only.
fcl/reco/Stage0/data/partial/decodePMT_icarus_treeonly.fclAdds partial config for PMT tree-only decoding and trigger dump.
fcl/reco/Stage0/data/partial/decodePMT_icarus_standalone.fclAdds standalone PMT decoding config for studies.
fcl/reco/Stage0/data/partial/decodePMT_icarus_incomplete.fclAdds PMT decoding config tolerating missing fragments.
fcl/reco/Stage0/data/partial/decodePMT_icarus.fclAdds base PMT decoding config (new layout location).
fcl/reco/Stage0/data/partial/CMakeLists.txtAdds install rules for Stage0 partial configs.
fcl/reco/Stage0/data/CMakeLists.txtAdds subdirectory install for partial Stage0 configs.
fcl/reco/Definitions/stage1_icarus_defs.fclAdds hit merging and PT hit finders; retargets pandora/CRTT0Tagging/caloskim labels; sets Supera params.
fcl/reco/Definitions/enable_overlay_stage1.fclSets overlay Supera config and keeps overlay waveform label settings.
fcl/reco/CMakeLists.txtInstalls new wires subdirectory.
fcl/overlays/simulation_genie_icarus_bnb_overlays_volDetEnclosure_fiducial.fclAdds overlay generation variant with fiducial cut.
fcl/overlays/overlay_waveforms.fclStops dropping crthit products from overlay output.
fcl/overlays/dirt_gen_overlay_siminfomixer.fclAdds sim info mixing workflow for dirt overlay generation.
fcl/gen/genie/simulation_genie_icarus_bnb_volWorld_rockbox.fclAdds GENIE dirt-in-world generation variant with rockbox fiducial.
fcl/gen/genie/simulation_genie_icarus_bnb_volWorld_DetEnclosurerockbox.fclAdds GENIE workflow using FilterMCTruthVolume to reject interactions in det enclosure.
fcl/gen/genie/simulation_genie_icarus_bnb_volDetEnclosure_fiducial.fclAdds GENIE det-enclosure fiducial variant.
fcl/gen/corsika/prodwiremod_icarus_overlays.fclAdds overlay-enabled corsika wiremod production config.
fcl/gen/corsika/prodwiremod_icarus.fclAdds base corsika wiremod production config.
fcl/g4/larg4_icarus_cosmics_sce_filterwiremod.fclAdds G4 cosmics+sCE config with simchan filter for wiremod.
fcl/g4/larg4_icarus_cosmics_sce_filterdirt.fclAdds G4 dirt filtering using SimEnergyDeposit fake trigger and subrun POT in event.
fcl/detsim/detsim_2d_icarus_refactored_yzsim_overlay_Run4.fclAdds Run4 overlay detsim variant overriding YZ gain map.
fcl/detsim/detsim_2d_icarus_refactored_yzsim_Run4.fclAdds Run4 detsim variant overriding YZ gain map.
fcl/detsim/detsim_2d_icarus_refactored_overlay.fclAdds detsim overlay configuration wiring shifted-overlay WireCell producer.
fcl/detsim/detsim_2d_icarus_refactored.fclRetargets DetSim daq producer to shifted WireCell config.
fcl/configurations/calibration_database_TPC_TagSets_icarus.fclAdds Jul/Oct 2025 TPC tag sets for updated calibrations.
fcl/configurations/calibration_database_PMT_TagSets_icarus.fclAdds Oct 2025 PMT global tag set.
fcl/configurations/calibration_database_GlobalTags_icarus.fclSwitches global tags to Oct 2025 sets.
fcl/caf/cafmakerjob_icarus_systtools_and_fluxwgt.fclAdds Geant4 reweighting into CAF production path and labels.
fcl/caf/cafmakerjob_icarus_systtools.fclAdds Geant4 reweighting into CAF production path and labels.
fcl/caf/cafmakerjob_icarus_sce_systtools_and_fluxwgt.fclAdds Geant4 reweighting into SCE CAF production path and labels.
fcl/caf/cafmakerjob_icarus_sce_systtools.fclAdds Geant4 reweighting into SCE CAF production path and labels.
fcl/caf/cafmakerjob_icarus_detsim2d_systtools_and_fluxwgt_overlay.fclReworks overlay CAF job to use data preprocess producers/sequence and include overlay additions.
fcl/caf/cafmakerjob_icarus_detsim2d_simpledet.fclAdds “simpledet” detsim2d CAF job variant.
fcl/caf/cafmakerjob_icarus_detsim2d_overlay_simpledet.fclAdds “simpledet” overlay detsim2d CAF job variant.
fcl/caf/cafmakerjob_icarus_detsim2d_overlay.fclReworks overlay CAF job to use data preprocess producers/sequence and include overlay additions.
fcl/caf/cafmaker_defs.fclAdds Geant4 eventweight config, updates sequences, and sets CAFMaker CRT SimChannel label.
fcl/caf/cafmaker_add_overlay_icarus.fclAdds overlay-specific CAFMaker overrides (CRTHitLabel, OverrideRealData, etc.).
fcl/caf/cafmaker_add_detsim2d_icarus.fclSimplifies detsim2d CAF additions (keeps SimChannel/backtracker label overrides only).
CMakeLists.txtUpdates project version string for the new release iteration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PetrilloAtWork
PetrilloAtWork marked this pull request as draft April 17, 2026 20:37
@jas1005

Copy link
Copy Markdown
Contributor

I got turned around with what CI work made it into this production branch, release/SBN2025A, versus develop. PR #873 makes all the changes this PR does and some others. I'm leaving this PR open so Vito can comment on Gianluca's question above. But we can likely close this PR since it duplicates PR #873. My apologies. I closed PR #873 in the past because I did not think it was necessary to have this work live on release/SBN2025A alongside develop.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@PetrilloAtWork@jas1005