Difference between revisions of "AlgorithmExample"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
theApp.MaxEvt = 20 | theApp.MaxEvt = 20 | ||
</pre> | </pre> | ||
+ | Running athena in your run directory should give you output showing: | ||
+ | *20 events | ||
+ | *the output from MessageService showing the initialize(), execute() and finalize() calls. |
Latest revision as of 12:43, 25 October 2006
Introduction
This exercise only included to checkout the package and to make a minimal jobOptions file.
Check this out!
Calling
cmt co Tutorial/AlgorithmExample
will check out the package. Compile it from its cmt directory:
cd Tutorial/AlgorithmExample/cmt source setup.csh gmake
Run, baby, run
From the package directory, create a run directory and create a jobOptions.py file
cd .. mkdir run cd run
The JobOptions.py should contain the following lines:
doExample = true if doExample : include("AlgorithmExample/AlgorithmExample.py") theApp.MaxEvt = 20
Running athena in your run directory should give you output showing:
- 20 events
- the output from MessageService showing the initialize(), execute() and finalize() calls.