See IoModules Overviews for a more complete overview.
The input module configuration is described in the Input module section of the User Manual and in the Data Model and I/O chapter.
In contrast to the input module, the output module is optional, and is added to the job path as "Output::Put". For example:
JobC j;
j.Path.Create("Demo","Output::Put");
defines a job path whose only instruction is to execute the IoOutputModule
"Put" method.
The output module is configured as described in the Data Model and I/O chapter of the User Manual. The most commonly used configuration options are to specify the data streams (TTrees) to be filled in the output file, and the name of the output file itself. For example:
loon[0] JobC j;
loon[1] j.Path.Create("Demo","Output::Put");
loon[2] j.Path("Demo").Mod("Output").Set("Streams=DaqSnarl,Cand");
loon[3] j.Path("Demo").Mod("Output").Set("FileName=recons.root");