Skip to content

Updates to the Stage1 paths - #938

Open
mattiasotgia wants to merge 9 commits into
developfrom
feature/msotgia_hf_spine_reapply_v10_31_00_02
Open

mattiasotgia wants to merge 9 commits into
developfrom
feature/msotgia_hf_spine_reapply_v10_31_00_02

Conversation

@mattiasotgia

@mattiasotgia mattiasotgia commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Overview and references

This PR re-works the stage1 paths for Pandora + NuGraph2 + Pandora and SPINE reconstruction.
Details are in SBN DocDB 50214, and were discussed at the ICARUS sim/reco meeting.

The idea is to split the reconstruction chain into three paths:

  • "vanilla" Pandora, which takes as input the hits produced using the updated hit finder tuning (Tuned hit finder parameters #912);
  • Pandora + NG2 + Pandora, which takes as input the hits produced using the updated hit finder tuning as well (but goes through cluster3D, which is required to have SpacePoints);
  • SPINE, which uses the "old", not-tuned hit finder parameters.

Key changes

Hit finder definitions (hitfindermodules_icarus.fcl)

  • gaus_hitfinder_icarus (the updated tuning) is cleaned up: TryNplus1Fits is erased, and the explicit candhitfinder_standard assignments are dropped (only the per-plane parameters are overridden).
  • New gaus_hitfinder_icarus_1d preserves the "old standard" for 1D signal processing: LongMaxHits: [25, 25, 25], LongPulseWidth: [10, 10, 10], RoiThreshold 9. / 9.5 / 9., and no NextADCThreshold or TryNplus1Fits.
  • New gaus_hitfinder_icarus_spine inherits from gaus_hitfinder_icarus_1d, with LongMaxHits and LongPulseWidth set to [10, 10, 10].

Stage1 definitions (stage1_icarus_defs.fcl)

  • gaushit1dTPC* now use gaus_hitfinder_icarus_1d.
  • gaushitPT2dTPC* are now defined directly in the producers using gaus_hitfinder_icarus_spine, with only CalDataModuleLabel overridden (wire2channelroi2d). This replaces the previous copy-of-gaushit2dTPC* + LongMaxHits override.
  • Cluster3D is split into two chains:
    • cluster3DCryoW/E is the SPINE version and reads the gaushitPT2dTPC* hits.
    • New pandoraCluster3DCryoW/E is for Pandora + NG2 + Pandora and reads the plain gaushit2dTPC* hits.
  • The common Cluster3D settings (MakeSpacePointsOnly, PulseHeightFraction, PHLowSelection, MaxHitChiSquare, MaxMythicalChiSquare, OutputHistograms) move out of the per-cryostat overrides into the shared icarus_cluster3d prolog in cluster_icarus.fcl. Only the HitFinderTagVec is set per instance.
  • The new modules are added to the 1D/2D filter sequences, to the new icarus_reco_pandoraCluster3DCryo{W,E} sequences, and to the Gauss1D and Gauss2D sequences.
  • The default input of pandoraGausCryo* is now pandoraCluster3DCryo*. The same applies to the default CRTT0Tagging.HitLabel and the caloskim{E,W}.HITproducer labels.
  • Alignment-only whitespace cleanup of the CalDataModuleLabel overrides.

Stage1 data and MC job configs

  • The 1D configs (*_1d_*, data and MC) also set the gaushit1d* tags for pandoraCluster3D*. In the non-NuGraph 1D configs, pandoraGausCryo*, CRTT0Tagging and caloskim* are explicitly pointed to pandoraCluster3D*.
  • The Pandora-only configs (stage1_run2_icarus.fcl and its _MC version) point pandoraGausCryo*, CRTT0Tagging and caloskim* back to combineHits*.
  • The (2D) NuGraph configs (stage1_run2_icarus_NuGraphReco*.fcl) point pandoraGausCryo* to pandoraCluster3D*.

NuGraph (nugraph_icarus.fcl)

SpsLabel, ClusterLabel and the hitInput labels for the slice-hit, NCC-slice and multi-slice modules now use pandoraCluster3DCryo*, aligned with the Pandora-specific Cluster3D instance.

Other

  • stage1_icarus_driver_common.fcl: the #include "enable_dnn_hitthresh.fcl" line is commented out: this was overriding the updates on the hit finder parameters included by the hit finder tuning work (Tuned hit finder parameters #912).

Notes

This PR overrides (and expands) the previous PR

@mattiasotgia mattiasotgia self-assigned this Nov 12, 2026
@mattiasotgia mattiasotgia added bug Something isn't working breaking this change will break backward compatibility in some way labels Nov 12, 2026

@cerati cerati left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good. There is still the opportunity to clean up a bit spine_gaushit_parameters but that can be done once those parameters are finalized

@jas1005

jas1005 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

trigger build larsoft@v10_31_00 LArSoft/lar*@LARSOFT_SUITE_v10_31_00 SBNSoftware/sbnalg@v10_31_00_02 SBNSoftware/sbnobj@v10_31_00_02 SBNSoftware/sbnanaobj@v10_31_00_02 SBNSoftware/sbndaq-artdaq-core@v1_10_06_01 SBNSoftware/sbncode@v10_31_00_02 SBNSoftware/icarusalg@v10_31_00_02

@FNALbuild

Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild

Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for e28:prof -- details available through the CI dashboard

@FNALbuild

Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild

Copy link
Copy Markdown
Collaborator

❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild

Copy link
Copy Markdown
Collaborator

❌ CI build for ICARUS Failed at phase ci_tests ICARUS on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the ci_tests ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild

Copy link
Copy Markdown
Collaborator

❌ CI build for ICARUS Failed at phase ci_tests ICARUS on slf7 for e28:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the ci_tests ICARUS phase logs

parent CI build details are available through the CI dashboard

@mattiasotgia
mattiasotgia requested a review from cerati November 24, 2026 09:01
@mattiasotgia

This comment was marked as resolved.

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

Labels

breaking this change will break backward compatibility in some way bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants