Next: Inter-module communication
Up: Modules, Supermodules and Context
Previous: Event Input/Output and Object
  Contents
Another important feature of the modules is
the TPhModuleContext, providing
the modules with access to common services for storage and retrieval of
long-lived objects in the object manager, retrieval of calibration constants
and tables from databases, access to geometry and electronics setup information.
TPhModuleContext also provides an interface to a common error logger for
the modules. These services a provided via the following member functions
of TPhModuleContext:
TPhRun* GetRun();
TPhDetector* GetDetector();
TPhFECDetector* GetFECDetector();
TPhErrorLog* GetErrorLog();
TPhFBDetector* GetFBDetector();
TPhObjectManager* GetManager();
Typically all modules within a given calibration, reconstruction or analysis
job share a common context, assuring the consistency of information used
between them.
Gunther Roland
2000-05-05