Allow small values for the number of events in a subrun
If we specify a small number of events in a given subrun (e.g. 1), the current logic in AggregatorCore prevents files from having fewer than 50 events (and having a shorter duration than 30 seconds). We need to fix this so that we only get one event per file when that is requested. This is particularly needed for LArIAT.
The original intent of the event count and time interval thresholds before testing the requested number of events, subrun duration, or file size in AggregatorCore was to prevent those tests from negatively impacting performance. We should be able to modify the logic so that the inexpensive tests are done every event but more time-consuming tests are only done periodically.
#2 Updated by Kurt Biery about 6 years ago
- Status changed from Assigned to Resolved
- Target version changed from v1_12_02 to v1_12_03
- % Done changed from 0 to 80
I modified the tests in AggregatorCore to only use the only-every-N-events requirement and 30-second threshold for the file size test. The event count and subrun duration tests are done every event.