Go to
Notes and Further References ,
Exercises ,
top ,
Running the Standard Job: LOON
Usage:
loon [options] [macro.C] [file1.root file2.root ...]
Options:
shell> loon -h
usage: loon -bnq -H -x -d -u -p -t'' -r[n] -o
-b: Run in batch mode without graphics.
-n: Do not execute logon and logoff macros.
-q: Exit after processing command line macro files.
-q: Exit after processing command line macro files.
-h: Print this friendly help message.
-H: Print help for modules in list.
-x: Specifies a Job Control Macro to load.
Multiple instances of '-x' are allowed.
-d: Supply database URL (replaces ENV_TSQL_URL)
-u: Supply database user (replaces ENV_TSQL_USER)
-p: Supply database password (replaces ENV_TSQL_PSWD)
-t: Specify job time limit. Eg. -t'10 minutes'
-r: Specify limit on number of records to process.
-o: Set the name of the default output file.
Batch example, quit at end of macro:
loon -q $MINOS_TUTORIAL_MACROS/run_UserAnalysis.C $MINOS_TUTORIAL_DATA/F00018143_0000.cand.root
Event display example, don't quit, no batch (no "-qb"):
loon $MINOS_TUTORIAL_MACROS/simple_midad.C $MINOS_TUTORIAL_DATA/F00018143_0000.cand.root
Notes and Further References
Previously, there were two other programs, demojob and
midad . These are now obsolete and should not be used. The
midad one is gone and demojob may disappear in the
future.
See the section on running with
libMidad for details on the event display.
Exercises
Make sure that you have carried out the
preparation
steps.
Run loon with a simple event dumping module:
loon -q run_EventDump.C $ROOT_DATA/fardet_data/2002_06/F00005963_0000.mdaq.root
The -q tells loon to quit when its done, rather than leave
you at the interactive prompt.
Look at
run_EventDump.C
to see if you can understand what its doing.
EventDump is a simple event dumper module.