Writes a crate worth of settings via XML This requires a few things:
- A crate file to which to write the top level definitions.
- A description of the stuff to write at top level. The second one is somewhat problematic. Each slot has a <slot> tag in the main file that contains several bits of mandatory information and potentially optional information. Mandatory information is the
Slot number for the module (comes from the base class)
- evtlen for the module
- configuration file into which the module settings are written Optional parameters:
- fifo_threshold for the module, defines what it is that makes a module 'trigger' the read.
- infinity_clock - boolean true, if the module is run with infinity clock mode
- timestamp_scale - Multiplier for the timestamps emitted.
- external_clock - Boolean, true if the module uses external clock. All but the external_clock must come external to the settings. Therefore, when the XMLCrateWriter is constructed, substantial additiona information must be provided for each module.
See the ModuleInformation struct in the class for that.