Repository navigation
Commit 670d1f7
Skip combined device creation for empty spec list in DigitizerWorkflow
With --combine-devices, specCombiner() is called unconditionally for
digitizerSpecs and for writerSpecs, but when a collection is empty the result
is a combined device with no sub-tasks: DPL sees a device with no inputs,
injects a Lifetime::Enumeration input (WorkflowHelpers.cxx) and can elect
it as the CCDB/DISTSUBTIMEFRAME source.
No digits are produced, and since the enumeration is unbounded there is no
EOS either, meaning that the workflow hangs forever instead of failing.
This is reached with --onlyDet FT0,CTP, where the FT0 digitizer and the CTP
digitizer are pushed to specs directly and only the FT0 digit writer goes
to writerSpecs, leaving digitizerSpecs empty. In anchored MC that is the
detector group of any run taken without both FV0 and EMCAL, such as run
537401, where the problem was found.1 parent f1d73df commit 670d1f7
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
854 | | - | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
855 | 862 | | |
856 | 863 | | |
857 | 864 | | |
| |||
0 commit comments