In event mixing jobs, we would like to pass information from SubRun
data products in secondary input streams into a SubRun product in the
primary output stream. Please add an interface to make this possible.
#1 Updated by Andrei Gaponenko over 2 years ago
More on this: the final "mixed" object can only be put into SubRun at
the endSubRun() stage. This makes it not available to downstream
consumers that run on events in the same job.
A way to address this use case is provide access to Event to the code
that "mixes" subrun objects. Then we'll be able to put into Event
information extracted from secondary stream subrun objects that is
relevant to just this specific event, and same-job consumers can be
configured to look for it in Event instead of SubRun. The "total"
object with a union of information about all events will still go into
SubRun at endSubRun().
#3 Updated by Christopher Green over 2 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
See documentation at https://cdcvs.fnal.gov/redmine/projects/art/wiki/Product_Mixing, and in header documentation for source:art/Framework/Modules/MixFilter.h and source:art/Framework/IO/ProductMix/MixHelper.h.