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

Fast start

This path is designed for people who want to quickly start running simulation programs. To run these examples you must first copy the whole directory SIM to your own directory. This directory you may find in /afs/cern.ch/user/r/rkorus/public/SIM. Almost all output is wriiten into the CASTOR system. Much information about CASTOR you may find on its official web page: http://wwwpdp.web.cern.ch/wwwpdp/castor.

Choose which kind of simulation do you want to run?


Empty event (simulation of 10 events of K* (896) for 160 GeV)

  1. Go to directory /SIM/empty.
  2. Run program "generate_kstar.C" using command: root49 -b -q generate_kstar.C
  3. In the local /empty directory there are four files needed to run GEANT: script "sim" to run GEANT and for each run period: setup_..., gcard file and set_keys script.
  4. Go to script "sim". In this file you must change directory for output data.
  5. Run the script "sim"
  6. To run mtsim and reconstruction there are needed three files: script "rec_sim" to run mtsim and reconstrution, setup file and pad_trans file (one for each run period)
  7. Go to script "rec_sim" and "Setup". In these files you must change directories for input and output data.
  8. Run the script "rec_sim"
  9. That is all. If you want to convert the output file to ROOT Mini-DST, run copy_MC.C using the command: root49 -b -q copy_MC.C but first you must change the directory for input and output file.
  10. Here is an example macro for the analysis of MC data: mc.C. Run this program using the command: root49 -b -q mc.C but first like above set directory.

Empty event with embedding (simulation of 10 events of K* (896) for 160 GeV)

  1. Go to directory /SIM/emb.
  2. Run the program "generate_kstar.C" using the command: root49 -b -q generate_kstar.C
  3. In the local /emb directory there are four files needed to run GEANT: script "sim" to run GEANT and for each run period: setup_..., gcard file and set_keys script.
  4. Go to script "sim". In this file you must change directory for output data.
  5. Run the script "sim"
  6. To run mtsim, gtembed and reconstruction there are two files needed: script "emb_sim" to run all programs and the setup file (one for each run period)
  7. Go to script "emb_sim" and "Setup". In these files you must change the directories for the input and output data.
  8. Run the script "emb_sim"
  9. That is all. If you want to convert the output file to ROOT Mini-DST, run copy_MC.C using the command: root49 -b -q copy_MC.C but first you must change the directory for the input and output file.
  10. Here is an example macro for the analysis of MC data: mc.C. Run this program using the command: root49 -b -q mc.C but first like above set the directory.

Model "Venus" (simulation of 10 full events for 40 GeV)

  1. Go to the directory /venus and type make clean and then make debug (compilation of "Venus")
  2. Go to the directory /venus/exa. In the files optns and venus.sh you must change some directories.
  3. Run the script "venus.sh" (to generate 10 events).
  4. In directory /venus/exa there are four files needed to run GEANT: script "run_venus.ksh" to run GEANT and for each run period: setup_..., gcard file and set_keys script.
  5. Run "run_venus.ksh" (to run GEANT)
  6. That is all. If you want to convert the output file to ROOT Mini-DST, run copy_MC.C using the command: root49 -b -q copy_MC.C but first you must change the directory for the input and output file.
  7. Here is an example macro for the analysis of MC data: mc.C. Run this program using the command: root49 -b -q mc.C but first like above set directory.