How to use MuGirl

Preparing the work area

Athena root
Decide on an area where you want to run Athena. Make sure there is ample space in the corresponding volume and quota. I use my scratch disk for all athena work. In the following discussion, this area will be refered to as ATLAS_TEST_AREA.

Under the root, create a directory for the generic CMT setup. I call it cmtdir. In there, put a generic requirements file that will enable you to set up any release you want. In the requirements file you must edit the ATLAS_TEST_AREA entry to fit your Atlas root.

After installing the requirements file, and once only, you should run the following in the cmtdir directory:

source /afs/
This will create the setup script
Work area
Again under the root, create the directory for the actual work area. Its name is not arbitrary, and it depends on whether you are using a formal release or a nightly build.

In both cases, the name of the work area is always AtlasOffline-<rel> where <rel> is either the name of the release (like 12.0.1) or the name of the nightly build (like rel_2). After setting up (see below), the full path of this directory will be stored in the environment variable $TestArea.

Under the work area, create a run directory where job options and output files will be created.

Setting up
The setup involves sourcing two scripts, one from the generic cmtdir (with arguments referncing the correct release) and one from the official release area. I encapsulate this work in a simple release-dependent script called that I put in the run directory of every release setup I have.

In the file you must edit tag to match the release or nightly you are using. For a release, just change the release name. For a nightly, you must enter both the relase framework (such as 12.0.X) and the name of the nightly - so acomplete tag may look like -tag=12.0.X,rel_2,opt.

This script must be sourced in every shell you plan to Athena in. For example, after setting up my work area for release 11.5.0:

TestArea = /afs/

Building MuGirl

If you plan to use the MuGirl that is built into a release, you do not need to build it youself. If, on the other hand, you want to use a later tag of MuGirl, you need to check it out and build it.
  1. In you work area, do:
    1. cmt co Reconstruction/MuonIdentification/MuGirl
    2. cmt co Reconstruction/MuonIdentification/MuGirlEvent
    3. cmt co Reconstruction/MuonIdentification/MuGirlParticleCreator
  2. In the run area, do:
    1. Create a requirements file
    2. cmt br cmt config
    3. cmt br gmake

Running MuGirl

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2006-06-28 - ZviTarem
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback