Limit DataLoggers to one art process
Because post-file-close rename does not respect existing files, running with multiple art processes in the DataLogger leads to files from some art processes being overwritten by other art processes and data loss. DataLoggerCore should enforce "art_analyzer_count: 1". I think it might be okay for this enforcement to be aggressive: if art_analyzer_count is greater than one in the input ParameterSet, print a warning message and reset it to one.
#1 Updated by John Freeman about 2 years ago
-Would it be preferable to treat art_analyzer_count > 1 as a fatal error? If someone's using a FHiCL document with art_analyzer_count > 1, there are quite likely other errors in it (e.g., it could be old/obsolete FHiCL), and by making artdaq refuse to run the user will be forced to revisit the FHiCL.
-Alternately, is there an elegant way to make art_analyzer_count not be a FHiCL-settable parameter, and always have it be 1?