Fermilab


MINOS Offline Documentation
[home] [installing MINOS software] [supported platforms] [package links] [mailing list] [HyperNews] [FAQ] [computing help] [MINOS glossary] [archives]

GMINOS detector simulation



GMINOS is the FORTRAN/CERNLIB/GEANT3 based detector simulation for the minos detectors.

For a recent update from Robert, see here.

Installation

Building from source

Installation from source requires the Labyrinth. See here for details.

Binaries

You can also just grab the GNU/Linux executable, gminos_batch.

To build rerootjob (the ADAMO->ROOT file converter) which is in the C++ offline CVS, you will need the various FORTRAN libs. For the GNU/Linux platform, you can download the contents of the lib and inc directories. Before building rerootjob you will need to set the following environment variables:

 LABYRINTH_DIR
 LABYRINTH_INC
 LABYRINTH_LIB
to point to the base dir, the inc dir and lib dir, respectively. If you use "msrt" you should now be able to do:
 msrt update Rerootjob
 msrt build Rerootjob

General operation

The general path of operation is the following:
  1. Generate the flux with gnumi and convert it to an input .ntup file or use previously generated flux inputs such as this one.

  2. Write a .ffr card file to direct the running of the simulation. You can use this one as a starting point. In particular you will likely want to edit the FFLX card to point to the input .ntup file.

  3. Set the environment variable GMINOS_FFR to point to the .ffr file.

  4. Run it w/out any arguments. You will likely want to redirect the output to a log file. Eg:
    bash> gminos_batch > gminos.out.$$ 2>&1 &
    

  5. Convert the ZEBRA based ADAMO gaf files into ROOT based equivalents with rerootjob.
    1. Write a file "reco_minos.gaf_list" with the name(s) of the input file(s)
    2. Make sure a "reco_options" file is in the current directory. You can get an example here
    3. Run it:
      rerootjob [-n nevents]
      
      where you can optionally specify to only convert the first nevents events.
    The output will be a file called reroot.root.

  6. From this point on, the ROOT file can be analyzed in the offline software C++ framework with the addition of adding An example job script is in the PhotonTransport package.

Last Modified: $Date: 2004/11/01 20:26:02 $
Contact: (none)
Page viewed from http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/gminos.html
Fermilab
Security, Privacy, Legal Fermi National Accelerator Laboratory