next up previous contents
Next: Module database Up: Modules, Supermodules and Context Previous: Data ownership   Contents

TPhSupermodule

In many cases a fixed set of modules will be called in sequence to perform a given analysis task. Running common analysis tasks is made simple by the use of supermodules, which provide a way of running a pre-defined collection of modules in a fixed order and with a fixed set of tuning or steering parameters. TPhSuperModule inherits from TPhModule and therefore also provides the StartAnalysis(),StartRun(),Process(), EndRun() and EndAnalysis() member functions. The supermodule member functions call the respective module member functions, in the order specified when setting up the supermodule.
Supermodules provide persistent I/O for the modules stored inside them, allowing complete analysis packages to be set up by tuning the individual modules, then adding them to a supermodule and writing the supermodule to mass storage.
When in memory, individual modules within the supermodules can for testing purposes be replaced by functionally equivalent modules to allow testing/tuning of various analysis steps. Also, the order in which the modules are run by the supermodule can be changed for testing purposes.
As supermodules inherit from modules, they can in turn be combined into higher level super modules.
For testing purposes the modules within a supermodule can be individually enabled or disabled, using the SetEnabled() member function. By default, modules are enabled when adding them to the supermodule.

next up previous contents
Next: Module database Up: Modules, Supermodules and Context Previous: Data ownership   Contents
Gunther Roland
2000-05-05