Gaudi JobOptions
Applications using Gaudi require a jobOptions file whose parameters determine:
- Shared Libraries to be loaded
- Services to be loaded and set up
- Top algorithms to be executed, and in what order
- Output Level - the level of detail for logging messages (such as warnings and errors), or to include debugging statements in the output
- Input Parameters for algorithms and services
- Output File Parameters for creating output files (mcRootWriterAlg, digiRootWriterAlg, reconRootWriterAlg, etc.)
Basic Parameters
Most components used with Gaudi are available within shared libraries which can be loaded using a line like:
ApplicationMgr.DLLs = { "TkrRecon", "CalRecon" };
To add an additional library to the list, you can use a line like:
ApplicationMgr.DLLs += { "AcdRecon" };
Many Gaudi default services (e.g., MsgSvc) are automaticlly loaded and set up; others must be explicitly requested using a line like:
ApplicationMgr.ExtSvc = { "GlastEventSelector/EventSelector" , "EventCnvSvc" };
To add additional services, use a line like:
ApplicationMgr.ExtSvc += { "GrbSvc" };
A set of algorithms can be grouped together and given a name using a Gaudi Sequencer statement. These statements tell Gaudi which algorithms to execute, and in what order. For example:
ApplicationMgr.TopAlg = { "MyAlg", "AnotherAlg" };
Note: Order of execution is determined by the order algorithms appear in this list (e.g., MyAlg would be executed first, followed by AnotherAlg). Execution of sequenced algorithms may terminate at any point of the series if one of the algorithms fails to pass a filter, and the event is not selected for the collection.
To specify the priority level of messages output when running a job:
2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL
MessageSvc.OutputLevel = 2;
Similarly, the output level for individual algorithms may be set:
MyAlg.OutputLevel = 3;
Note: For additional information on setting up jobOptions to make a service available for a particular run, see Accessing Gaudi Services.
Input Parameters
Many default Gaudi services and GLAST-defined algorithms and services accept input parameters.
Note: Parameters for GLAST-defined algorithms and services are available in the mainpage description of each GLAST package.
Related Topics
Also see the Gaudi Developer Guide:
Owned by: Heather Kelly
Last updated by: Chuck Patterson
01/09/2007 |
|
|