Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subrun product mixing with multiple files #108

Open
knoepfel opened this issue Oct 28, 2021 · 0 comments
Open

Subrun product mixing with multiple files #108

knoepfel opened this issue Oct 28, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@knoepfel
Copy link
Contributor

This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/25864 (FNAL account required)
Originally created by @gaponenko on 2021-05-21 20:47:03


Hello,

An event mixing module that uses SubRun information

https://github.com/Mu2e/Offline/blob/b9b85d90027482921b6ba60846b57c68b78b05d7/EventMixing/src/ResamplingMixer_module.cc

works fine if configured with a single secondary input file, even if
the file has to be wrapped. However if the fileNames sequence
contains more than one file name, there is an exception thrown at the
transition to the second file, like

%MSG-s ArtException:  PostEndJob 21-May-2021 15:20:24 CDT ModuleEndJob
---- EventProcessorFailure BEGIN
  EventProcessor: an exception occurred during current event processing
  ---- ScheduleExecutionFailure BEGIN
    Path: ProcessingStopped.
    ---- NotFound BEGIN
      NO_SUBRUN - Unable to find an entry in the SubRun tree corresponding to event ID run: 1 subRun: 1 event: 1 in secondary mixing input file sim.owner.g4test_stage0.ver.2.art.
      The above exception was thrown while processing module ResamplingMixer/rsmix run: 1 subRun: 0 event: 11
    ---- NotFound END
    Exception going through path p1
  ---- ScheduleExecutionFailure END
---- EventProcessorFailure END
%MSG

This looks like a bug to me.

To reproduce:

   mkdir newdir
   cd newdir
   setup mu2e
   setup muse
   muse link v00_00_00
   muse setup -q debug
   mkdir run
   cd run
   cp -p /mu2e/data/users/gandr/20210520-rsbug/run/*.fcl .
   cp -p /mu2e/data/users/gandr/20210520-rsbug/run/sim*.art .
   mu2e -c s1.fcl

There are 4 lines at the end of s1.fcl that can be (un)commented.

One can use files s0-*.fcl to re-create the two individual input files.

@knoepfel knoepfel added the bug Something isn't working label Oct 28, 2021
@knoepfel knoepfel self-assigned this Oct 28, 2021
@knoepfel knoepfel added this to Issues Oct 29, 2021
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
Status: No status
Development

No branches or pull requests

1 participant