NA49 logo

Input
GEANT
MTSIM
Embeding
Reconstruction
Maching
ROOT MINI-DST

Home page

Last modification:
2003-07-22
e-mail:
cblume@cern.ch korus@cern.ch

GNA49 Setup

The setup file for GEANT is different for every running period. You can take the proper setup script form this directory: afs/cern.ch/na49/library/dev/GEANT/GNA49/exa/ For each run there are two kinds of setup files: phys_on - which includes all relevant physics processes and the highest level of simulation detail, and phys_off which includes only most important effects (i.e. decays and multiple scattering). Below there is an example setup file for the 01I run - phys_off. Here you may look at source file: setup_00.phys.off.std+.256tb.ksh

#!/bin/ksh

# directories for standard setup
EXA_DIR=$NA49_ROOT/GEANT/GNA49/exa
GEO_DIR=$NA49_ROOT/GEANT/GEO
CURDIR=`pwd`

# define run cards
export GNA49_CARDS=$CURDIR/phys_off.run3905.gcards

# create a link as a workaround for the problem with FFREAD
rm -f fort.19
ln -s $GNA49_CARDS fort.19

# geometry-related keys: use standard setup from GEO define the "best" keys 1, 3, 4 and 7 for given run year
. $CURDIR/set_keys_00.256tb.ksh

# field-related keys
export KEY5=COMB/STD+
export KEY6=FULL

# Generally, once you have the keys defined, you don't want to touch the following stuff

# define geometry (must have KEYs defined)

# use NA49_SYS so that this will also work on shift37 etc.
NML_DIR=$NA49_ROOT/GEANT/GEO/.${NA49_SYS}/nml/$KEY4

export CAV_NML=$NML_DIR/CAVE.run$KEY1.sim$KEY7.code$CAVE_CODE.nml
export VET_NML=$NML_DIR/VETO.run$KEY1.sim$KEY7.code$VETO_CODE.nml
export VT1_NML=$NML_DIR/VT1.run$KEY1.sim$KEY7.code$TPC_CODE.nml
export VT2_NML=$NML_DIR/VT2.run$KEY1.sim$KEY7.code$TPC_CODE.nml
export MTL_NML=$NML_DIR/MTL.run$KEY1.sim$KEY7.code$TPC_CODE.nml
export MTR_NML=$NML_DIR/MTR.run$KEY1.sim$KEY7.code$TPC_CODE.nml
export TFR_NML=$NML_DIR/TOFR.run$KEY1.sim$KEY7.code$TOFR_CODE.nml
export TFL_NML=$NML_DIR/TOFL.run$KEY1.sim$KEY7.code$TOFL_CODE.nml
export TFG_NML=$NML_DIR/TOFG.run$KEY1.sim$KEY7.code$TOFG_CODE.nml
export CAL_NML=$NML_DIR/../NULL.nml
export MAG_NML=$NML_DIR/MAG.run$KEY1.sim$KEY7.code$MAG_CODE.nml
export TFP_NML=$NML_DIR/../NULL.nml