Set up to run on Delayed stream
We need to ensure we analyse events only once when we combine multiple streams (e.g. physics_Main
and physics_VBFDelayed
).
One way to do this is purely trigger-based, where we would:
- Use the common per-analysis trigger lists to do the initial trigger selection
- Add a stream-specific filter algorithm to remove potential overlaps.
- We should be able to detect the stream from the metadata
- We need to have the Delayed stream reject all events selected by any analysis trigger that writes to the Main stream. This might be possible simply by scheduling the
CP::EventFlagSelectionAlg
after the trigger decision decorations have been applied, using theinvertFlags
option. - Similarly, we need to have the Main stream reject all events selected by an analysis trigger that writes to the Delayed stream if it has not been selected by a Main stream trigger.
As always we need to make sure the trigger assignments to streams are organised year by year, e.g. because of changes like ATR-27822.
Tagging the analyses that expect to use delayed data.