Skip to content

Remove unsupported parameter SkipTrackIDOffsets#908

Open
PetrilloAtWork wants to merge 1 commit into
SBNSoftware:developfrom
PetrilloAtWork:feature/gp_mergeSimSrcWorkaround
Open

Remove unsupported parameter SkipTrackIDOffsets#908
PetrilloAtWork wants to merge 1 commit into
SBNSoftware:developfrom
PetrilloAtWork:feature/gp_mergeSimSrcWorkaround

Conversation

@PetrilloAtWork

Copy link
Copy Markdown
Member

The parameter SkipTrackIDOffsets is supported by MergeSimSources but not by MergeSimSourcesSBN.

⚠️ This is a GitHub-written commit: completely untested ⚠️

The C.I. tests should validate the change.

Historical note

From my investigation, many years ago Laura Domine needed a customisation of MergeSimSources for ICARUS Machine Learning simulation path, and frustrated by the impossibility to make a derived class she copied the module altogether (MergeSimSourcesSBN). The special ICARUS configuration that comes with it (largeantdropped) was derived from the one used for the "standard" workflow.
Fast forward one year, a new desired feature is added in the original LArSim version, and ICARUS updates the standard configuration and the ML one (largeantdropped) silently inherits the change (the dates are confusing... ICARUS configuration change seems to predate by a lot the change in LArSoft...). So: the code has diverged, the configuration has not, MergeSimSourcesSBN can't handle the new parameter and it has it known. Why we notice now is probably a story of mixed branches, partial patches and the wish to go fast and furious.

This patch

I am just removing the unsupported parameter from largeantdropped configuration, leaving it in the icarus_merge_sim_sources ("standard") one. The two configurations are still related.

The parameter `SkipTrackIDOffsets` is supported by `MergeSimSources` but not by `MergeSimSourcesSBN`.
@PetrilloAtWork PetrilloAtWork requested a review from jas1005 June 27, 2026 01:53
@PetrilloAtWork PetrilloAtWork added the bug Something isn't working label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant