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

Run cards

The run cards file configures the Geant running options:

  • Definition of the active detectors
  • Control of the physics processes
  • User defined target position
  • Magnetic field

More information about run cards you may find on the GEANT web page: wwwasd.web.cern.ch/wwwasd/geant

There are predefined run cards for physics on and physics off. You can take the proper file from this directory: afs/cern.ch/na49/library/new/GEANT/GNA49/exa. Below there is an example file. The sorce code is here

If you define the target position yourself like it is done in this example (see TXYZ flag), make sure that it matches to the targte position of your running period.

SETS 'VET ' 'VT1 ' 'VT2 ' 'MTL ' 'MTR ' 'TFR ' 'TFL ' 'TFG '
AUTO 0
BMAP 1 //magnetic field map flag
FIEL 15. 11.
DCAY 1
ANNI 0
BREM 0
COMP 0
HADR 0
MUNU 0
PAIR 1
PFIS 0
PHOT 0
RAYL 0
LOSS 1
DRAY 0
MULS 1
CUTE -1. -1. -1. // flag to set tracking thresholds in dense materials very high
NMAG 1
TFLG 1 1 0 // target switches
TXYZ 0. 0. -581.400024 // target position
STOP



DESCRIPTION OF NA49 Geant commands

TFLG


default:
tgt_flag(1) = 0
tgt_flag(2) = 1
tgt_flag(3) = 0
CALL FFKEY( 'TFLG', tgt_flag, 3, 'INTE' )

tgt_flag(1)=0: mean position of primary vertex
0= primary vertex extracted from target position in CAVE namelist (default
1 = primary vertex extracted from card TXYZ (variable tgt_xyz(1),(2),(3))

tgt_flag(2): smear interaction over target thickness?
0=no
1=yes (default)

tgt_flag(3): randomly distribute interaction in target in x and y?
0=no (default)
1=yes, use sigmas from TSIG card


TXYZ


default:
tgt_xyz(1) = 0.
tgt_xyz(2) = 0.
tgt_xyz(3) = -580.
CALL FFKEY('TXYZ', tgt_xyz, 3, 'REAL' )