AlgorithmExample

From Atlas Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.