AlgorithmExample

From Atlas Wiki
Revision as of 12:43, 25 October 2006 by Zkestere (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.