Mocadi home | Manual | Download Area | Program |
You need the executable, the mass table, a MOCADI input file, and the
spline files describing the interaction with matter. The file TEST.MAT serves as
a test example for an optical system. atima and wedge are two smaller helpful
programs using partly the same source code as MOCADI. For viewing the output
you can use a ROOT tree or PAW ntuples.
WINDOWS users should not wonder what their system tries to do with these files. Just
"save target as .." and use on LINUX.
1.) The executable is "mocadi-4x",
"atima" and "wedge" are two smaller helpful programs
made of the same subroutines as mocadi.
The directory structure should be:
/YourDir/mocadi/exe (for the executables)
/YourDir/mocadi/splines_gz (for the ATIMA splines)
/YourDir/mocadi/data (for the other data files like mass tables)
2.) copy "splines_gz.tar" and untar it.
>tar -xvf splines_gz.tar
This creates a subdirectory /splines_gz
with very many gzipped files, do not decompress them.
3.) make directory for data files
>mkdir /YourDir/data
copy mass tables and cross section files to this directory
>cp MASS_EXP.MAS03 data/.
4.) Set pathnames with environment variables.
In bash and korn shells the command is export (for others ?)
directory for mass tables (MASS_EXP.MAS03, masswbn):
>export MOCADI_DATA='/YourDir/data'
directory for spline files (energy loss information):
>export MOCADI_SPLINES_GZ='/YourDir/splines_gz'
5.) run mocadi
>mocadi-42d test.in
"test.in" is a very simple test example which reads spline files and the matrix file TEST.MAT.
The output should be test.out and test.hbk
To view ntuple files graphically you need PAW or ROOT.
This directory contains some versions of "pawX11".
>pawX11
6.) for more information (manual, examples, ion optics files)
see
http://web-docs.gsi.de/~weick/mocadi (this web page)
and for information on paw
http://wwwinfo.cern.ch/asd/paw
7.) From version 40c on GLOBAL is integrated into MOCADI directly.
No extra cross section files are needed any more.
The files with fitted polynomials may only be used to speed up calculation.
Here is a recipe to create more charge-changing cross section files (*.xfit),
recipe and source code
This page was last modified by Helmut Weick, 12th May 2023, contact h.weick(at)gsi.de, Imprint (Impressum), Privacy Policy (Datenschutzerklärung)